CVE
CVE-2024-35966
CNA description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix not validating setsockopt user input syzbot reported rfcomm_sock_setsockopt_old() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064
Affected versions
All Linux kernel vulnerabilities →
- 6.9-rc3This version only
- 6.9-rc2This version only
- 6.9-rc1This version only
- ≥ 6.7, < 6.8.7Fixed in 6.8.7
- ≥ 6.2, < 6.6.47Fixed in 6.6.47
- ≥ 5.16, < 6.1.107Fixed in 6.1.107
- ≥ 5.11, < 5.15.178Fixed in 5.15.178
- ≥ 2.6.30, < 5.10.234Fixed in 5.10.234
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab · Patch
- git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546 · Patch
- git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 · Patch
- git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f · Patch
- git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838 · Patch
- git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.