{"id":"CVE-2024-35966","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix not validating setsockopt user input\n\nsyzbot reported rfcomm_sock_setsockopt_old() is copying data without\nchecking user input length.\n\nBUG: KASA…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix not validating setsockopt user input\n\nsyzbot reported rfcomm_sock_setsockopt_old() is copying data without\nchecking user input length.\n\nBUG: KASA…","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","cwe":["CWE-125"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 2.6.30, < 5.10.234","linux_kernel >= 5.11, < 5.15.178","linux_kernel >= 5.16, < 6.1.107","linux_kernel >= 6.2, < 6.6.47","linux_kernel >= 6.7, < 6.8.7","linux_kernel = 6.9"],"patched":["linux_kernel 6.8.7"],"published":"2024-05-20","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:18:14.377","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-35966","references":[{"url":"https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.0026,"epssPercentile":0.17651,"ingestedAt":"2026-10-15T03:30:12.693Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T19:28:34.251629Z"},"slug":"CVE-2024-35966","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix not validating setsockopt user input\n\nsyzbot reported rfcomm_sock_setsockopt_old() is copying data without\nchecking user input length.\n\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\ninclude/linux/sockptr.h:49 [inline]\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\ninclude/linux/sockptr.h:55 [inline]\nBUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old\nnet/bluetooth/rfcomm/sock.c:632 [inline]\nBUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70\nnet/bluetooth/rfcomm/sock.c:673\nRead of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064\n\n## Affected\n\n- `linux_kernel >= 2.6.30, < 5.10.234`\n- `linux_kernel >= 5.11, < 5.15.178`\n- `linux_kernel >= 5.16, < 6.1.107`\n- `linux_kernel >= 6.2, < 6.6.47`\n- `linux_kernel >= 6.7, < 6.8.7`\n- `linux_kernel = 6.9`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.8.7`","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}