# CVE-2024-35965: Bluetooth: L2CAP: Fix not validating setsockopt user input

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `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:55.171Z
- Modified: 2026-10-15T01:18:14.213Z
- Weaknesses: CWE-1284
- 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: L2CAP: Fix not validating setsockopt user input

Check user input length before copying data.

(As written by CVE List.)

## Affected

- Linux Linux: from 33575df7be6748292f88453f29319af6d639c5c8 before f13b04cf65a86507ff15a9bbf37969d25be3e2a0; from 33575df7be6748292f88453f29319af6d639c5c8 before 9d42f373391211c7c8af66a3a316533a32b8a607; from 33575df7be6748292f88453f29319af6d639c5c8 before 28234f8ab69c522ba447f3e041bbfbb284c5959a; from 33575df7be6748292f88453f29319af6d639c5c8 before 8ee0c132a61df9723813c40e742dc5321824daa9; from 33575df7be6748292f88453f29319af6d639c5c8 before 4f3951242ace5efc7131932e2e01e6ac6baed846; 2.6.39 (not affected: before 2.6.39; from 5.10.227 up to 5.10.*; from 6.1.87 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.8.7 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 2.6.39 before 5.10.227; from 5.11 before 6.1.87; from 6.2 before 6.6.55; from 6.7 before 6.8.7; 6.9

## References

- <https://git.kernel.org/stable/c/f13b04cf65a86507ff15a9bbf37969d25be3e2a0> (patch)
- <https://git.kernel.org/stable/c/9d42f373391211c7c8af66a3a316533a32b8a607> (patch)
- <https://git.kernel.org/stable/c/28234f8ab69c522ba447f3e041bbfbb284c5959a> (patch)
- <https://git.kernel.org/stable/c/8ee0c132a61df9723813c40e742dc5321824daa9> (patch)
- <https://git.kernel.org/stable/c/4f3951242ace5efc7131932e2e01e6ac6baed846> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

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

---

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