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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-05-20T09:41:56.503Z
- **Modified:** 2026-10-15T01:18:14.543Z

## Who should check

- Anyone running Linux \>= b96e9c671b05f95126753a22145d4509d45ca197, \< b0e30c37695b614bee69187f86eaf250e36606ce; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 72473db90900da970a16ee50ad23c2c38d107d8c; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 419a0ffca7010216f0fc265b08558d7394fa0ba7; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 51eda36d33e43201e7a4fd35232e069b2c850b01
- Anyone running Linux 3.8

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

## Affected and fixed versions

- Linux: \>= b96e9c671b05f95126753a22145d4509d45ca197, \< b0e30c37695b614bee69187f86eaf250e36606ce; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 72473db90900da970a16ee50ad23c2c38d107d8c; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 419a0ffca7010216f0fc265b08558d7394fa0ba7; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 51eda36d33e43201e7a4fd35232e069b2c850b01 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 51eda36d33e43201e7a4fd35232e069b2c850b01 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35967.md
Affected: Linux >= b96e9c671b05f95126753a22145d4509d45ca197, < b0e30c37695b614bee69187f86eaf250e36606ce; >= b96e9c671b05f95126753a22145d4509d45ca197, < 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; >= b96e9c671b05f95126753a22145d4509d45ca197, < 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; >= b96e9c671b05f95126753a2…
Fixed in: Linux 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e, Linux 7bc65d23ba20dcd7ecc094a12c181e594e5eb315, Linux 72473db90900da970a16ee50ad23c2c38d107d8c, Linux 419a0ffca7010216f0fc265b08558d7394fa0ba7, Linux 51eda36d33e43201e7a4fd35232e069b2c850b01

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35967 being exploited?

There is no confirmed exploitation: CVE-2024-35967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35967?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35967?

Linux \>= b96e9c671b05f95126753a22145d4509d45ca197, \< b0e30c37695b614bee69187f86eaf250e36606ce; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 7bc65d23ba20dcd7ecc094a12c181e594e5eb315; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 72473db90900da970a16ee50ad23c2c38d107d8c; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 419a0ffca7010216f0fc265b08558d7394fa0ba7; \>= b96e9c671b05f95126753a22145d4509d45ca197, \< 51eda36d33e43201e7a4fd35232e069b2c850b01; Linux 3.8.

### Is there a fix for CVE-2024-35967?

Yes. Fixed in Linux 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e, Linux 7bc65d23ba20dcd7ecc094a12c181e594e5eb315, Linux 72473db90900da970a16ee50ad23c2c38d107d8c, Linux 419a0ffca7010216f0fc265b08558d7394fa0ba7, Linux 51eda36d33e43201e7a4fd35232e069b2c850b01. Upgrade Linux to 51eda36d33e43201e7a4fd35232e069b2c850b01 or later.

### How do I check if I'm affected by CVE-2024-35967?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35967>

HTML: <https://flawdb.com/CVE-2024-35967> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35967>
