CVE
CVE-2024-35967
CNA description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: Fix not validating setsockopt user input syzbot reported sco_sock_setsockopt() 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 sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578
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.28Fixed in 6.6.28
- ≥ 5.16, < 6.1.87Fixed in 6.1.87
- ≥ 5.11, < 5.15.178Fixed in 5.15.178
- ≥ 3.8, < 5.10.216Fixed in 5.10.216
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/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e · Patch
- git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7 · Patch
- git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01 · Patch
- git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c · Patch
- git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315 · Patch
- git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce · Patch
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html · Third Party Advisory
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.