CVE-2024-35966
Bluetooth: RFCOMM: Fix not validating setsockopt user input
Check your servers for CVE-2024-35966
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35966 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before d072ea24748189cd8f4a9c3f585ca9af073a0838 affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before 00767fbd67af70d7a550caa5b12d9515fa978bab affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before eea40d33bf936a5c7fb03c190e61e0cfee00e872 affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before 4ea65e2095e9bd151d0469328dd7fc2858feb546 affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before c3f787a3eafe519c93df9abbb0ca5145861c8d0f affected from bb23c0ab824653be4aa7dfca15b07b3059717004, before a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 5.10.234 up to and including 5.10.* unaffected from 5.15.178 up to and including 5.15.* unaffected from 6.1.107 up to and including 6.1.* unaffected from 6.6.47 up to and including 6.6.* unaffected from 6.8.7 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35966 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35966
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-35966
trivy image --scanners vuln IMAGE | grep CVE-2024-35966
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838 git.kernel.org
- https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab git.kernel.org
- https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872 git.kernel.org
- https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546 git.kernel.org
- https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f git.kernel.org
- https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-35966 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse