{"id":"CVE-2024-35966","published":"2024-05-20T09:41:55Z","modified":"2026-10-15T00:41:46Z","title":"Bluetooth: RFCOMM: Fix not validating setsockopt user input","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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: 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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0026,"percentile":0.18085,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838","tags":[]},{"url":"https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab","tags":[]},{"url":"https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872","tags":[]},{"url":"https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546","tags":[]},{"url":"https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f","tags":[]},{"url":"https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":3.62}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bb23c0ab824653be4aa7dfca15b07b3059717004, < d072ea24748189cd8f4a9c3f585ca9af073a0838",">= bb23c0ab824653be4aa7dfca15b07b3059717004, < 00767fbd67af70d7a550caa5b12d9515fa978bab",">= bb23c0ab824653be4aa7dfca15b07b3059717004, < eea40d33bf936a5c7fb03c190e61e0cfee00e872",">= bb23c0ab824653be4aa7dfca15b07b3059717004, < 4ea65e2095e9bd151d0469328dd7fc2858feb546",">= bb23c0ab824653be4aa7dfca15b07b3059717004, < c3f787a3eafe519c93df9abbb0ca5145861c8d0f",">= bb23c0ab824653be4aa7dfca15b07b3059717004, < a97de7bff13b1cc825c1b1344eaed8d6c2d3e695"]},{"vendor":"Linux","product":"Linux","versions":["2.6.30"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T19:28:34.251629Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35684","exploited":false,"provenance":"source"}}