{"id":"CVE-2024-35966","aliases":["CVE-2024-35966"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: RFCOMM: Fix not validating setsockopt user input","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: 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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Bluetooth: RFCOMM: solución al no validar la entrada del usuario de setsockopt. Syzbot informó que rfcomm_sock_setsockopt_old() está copiando datos sin verificar la longitud de la entrada del usuario. BUG: KASAN: slab fuera de los límites en copy_from_sockptr_offset include/linux/sockptr.h:49 [en línea] BUG: KASAN: slab fuera de los límites en copy_from_sockptr include/linux/sockptr.h:55 [en línea] ERROR: KASAN: losa fuera de los límites en rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [en línea] BUG: KASAN: losa fuera de los límites en rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/ sock.c:673 Lectura de tamaño 4 en addr ffff8880209a8bc3 por tarea syz-executor632/5064","source":"nvd"}],"published":"2024-05-20T09:41:55.838Z","modified":"2026-10-15T01:18:14.377Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"d072ea24748189cd8f4a9c3f585ca9af073a0838","status":"affected"},{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"00767fbd67af70d7a550caa5b12d9515fa978bab","status":"affected"},{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"eea40d33bf936a5c7fb03c190e61e0cfee00e872","status":"affected"},{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"4ea65e2095e9bd151d0469328dd7fc2858feb546","status":"affected"},{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"c3f787a3eafe519c93df9abbb0ca5145861c8d0f","status":"affected"},{"type":"git","introduced":"bb23c0ab824653be4aa7dfca15b07b3059717004","fixed":"a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.234","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.178","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.107","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.47","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.7","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.30","fixed":"5.10.234"},{"status":"affected","introduced":"5.11","fixed":"5.15.178"},{"status":"affected","introduced":"5.16","fixed":"6.1.107"},{"status":"affected","introduced":"6.2","fixed":"6.6.47"},{"status":"affected","introduced":"6.7","fixed":"6.8.7"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T19:28:34.251Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35966","url":"https://www.cve.org/CVERecord?id=CVE-2024-35966","licence":"CVE Terms of Use","modified":"2026-10-15T00:41:46.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35966","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35966","licence":"Public domain","modified":"2026-10-15T01:18:14.377Z"}],"updatedAt":"2026-11-25T22:58:40.640Z","epss":{"score":0.00326,"percentile":0.1816,"date":"2026-11-30T12:00:22.000Z"}}