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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-20T09:41:56.503Z
- Modified: 2026-10-15T01:18:14.543Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from b96e9c671b05f95126753a22145d4509d45ca197 before b0e30c37695b614bee69187f86eaf250e36606ce; from b96e9c671b05f95126753a22145d4509d45ca197 before 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; from b96e9c671b05f95126753a22145d4509d45ca197 before 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; from b96e9c671b05f95126753a22145d4509d45ca197 before 72473db90900da970a16ee50ad23c2c38d107d8c; from b96e9c671b05f95126753a22145d4509d45ca197 before 419a0ffca7010216f0fc265b08558d7394fa0ba7; from b96e9c671b05f95126753a22145d4509d45ca197 before 51eda36d33e43201e7a4fd35232e069b2c850b01; 3.8 (not affected: before 3.8; from 5.10.216 up to 5.10.*; from 5.15.178 up to 5.15.*; from 6.1.87 up to 6.1.*; from 6.6.28 up to 6.6.*; from 6.8.7 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 3.8 before 5.10.216; from 5.11 before 5.15.178; from 5.16 before 6.1.87; from 6.2 before 6.6.28; from 6.7 before 6.8.7; 6.9
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce> (patch)
- <https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e> (patch)
- <https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315> (patch)
- <https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c> (patch)
- <https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7> (patch)
- <https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35967](https://www.cve.org/CVERecord?id=CVE-2024-35967), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35967](https://nvd.nist.gov/vuln/detail/CVE-2024-35967), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35967 · Whole record: https://cve.day/CVE-2024-35967.json · Rebuilt by cve.day 2026-11-25T22:58:40.641Z
