Vulnerability · Published May 20, 2024 · Assigned by Linux
CVE-2024-35966Bluetooth: RFCOMM: Fix not validating setsockopt user input
High 7.1
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.112-1 | DSA-5782-1 |
| Debian:12 | linux | 6.1.112-1 | DEBIAN-CVE-2024-35966 |
| Debian:13 | linux | 6.8.9-1 | DEBIAN-CVE-2024-35966 |
| Debian:14 | linux | 6.8.9-1 | DEBIAN-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux | 5.15.0-130.140 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux | 5.15.0-130.140 | USN-7179-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-38.38 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1076.83 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1076.83 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1011.12 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1011.12~22.04.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1078.87 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1078.87 | USN-7186-2 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1010.10 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1010.10~22.04.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1078.87.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1074.83 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1074.83 | USN-7179-2 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1010.11 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1072.78 | USN-7179-3 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1072.78 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1006.9 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1057.64 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1057.64 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1067.70 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1067.70 | USN-7179-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1008.8 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-intel | 6.8.0-1007.14 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1071.77 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1071.77 | USN-7186-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1071.76 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1071.76 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-128.138 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-128.138 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-38.38.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1070.71 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1070.71 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1009.9 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1009.9~22.04.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1032.32 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1020.20 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1008.8 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1073.79 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1073.79 | USN-7179-2 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1008.8 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1008.8~22.04.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1070.73 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1070.73 | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1007.7 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-38.38.1 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1041.45 | UBUNTU-CVE-2024-35966 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1041.45 | USN-7179-4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bb23c0ab824653be4aa7dfca15b07b3059717004 – before d072ea24748189cd8f4a9c3f585ca9af073a0838bb23c0ab824653be4aa7dfca15b07b3059717004 – before 00767fbd67af70d7a550caa5b12d9515fa978babbb23c0ab824653be4aa7dfca15b07b3059717004 – before eea40d33bf936a5c7fb03c190e61e0cfee00e872bb23c0ab824653be4aa7dfca15b07b3059717004 – before 4ea65e2095e9bd151d0469328dd7fc2858feb546bb23c0ab824653be4aa7dfca15b07b3059717004 – before c3f787a3eafe519c93df9abbb0ca5145861c8d0fbb23c0ab824653be4aa7dfca15b07b3059717004 – before a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 |
| Linux | Linux | 2.6.30 |
References
- https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838
- https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab
- https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872
- https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546
- https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f
- https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html