VDB

CVE-2024-35966

CVE-2024-35966 PUBLISHED

Bluetooth: RFCOMM: Fix not validating setsockopt user input

Reported by linux · Published May 20, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.7, 6.6.47, 6.1.107, 5.15.178, 5.10.234

Affected products

VendorProductVersions
LinuxLinuxbb23c0ab824653be4aa7dfca15b07b3059717004, bb23c0ab824653be4aa7dfca15b07b3059717004, bb23c0ab824653be4aa7dfca15b07b3059717004
LinuxLinux2.6.30, 0, 5.10.234
linuxlinux_kernel2.6.30, 2.6.30, 2.6.30
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux6.1.107, 6.6.47, 6.8.7

Timeline

  • May 20, 2024 CVE Published
  • May 21, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (460 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (354 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35966
vulnetix vdb fixes CVE-2024-35966

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35966/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›