# Bluetooth: RFCOMM: Fix not validating setsockopt user input

CVE record · `CVE-2024-35966`

- **Identifiers:** `CVE-2024-35966`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 20 May 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 20 May 2024, 09:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before d072ea24748189cd8f4a9c3f585ca9af073a0838` (git)
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before 00767fbd67af70d7a550caa5b12d9515fa978bab` (git)
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before eea40d33bf936a5c7fb03c190e61e0cfee00e872` (git)
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before 4ea65e2095e9bd151d0469328dd7fc2858feb546` (git)
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before c3f787a3eafe519c93df9abbb0ca5145861c8d0f` (git)
  - affected: `bb23c0ab824653be4aa7dfca15b07b3059717004 to before a97de7bff13b1cc825c1b1344eaed8d6c2d3e695` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.30`
  - unaffected: `before 2.6.30` (semver)
  - unaffected: `5.10.234 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.178 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.107 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.47 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.7 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 20 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-35966](https://www.cve.org/CVERecord?id=CVE-2024-35966)
- [NVD: CVE-2024-35966](https://nvd.nist.gov/vuln/detail/CVE-2024-35966)

### References from the CNA

- <https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838>
- <https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab>
- <https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872>
- <https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546>
- <https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f>
- <https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-35966>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-35966/>. Everything for agents: <https://agentprime.io/llms.txt>.
