CVE-2024-35967

Bluetooth: SCO: Fix not validating setsockopt user input

7.1 high EPSS 0.24%

Published 20 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-35967

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-35967 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.

Check my servers

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

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 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.

ProductVersions
Linux
affected from b96e9c671b05f95126753a22145d4509d45ca197, before b0e30c37695b614bee69187f86eaf250e36606ce
affected from b96e9c671b05f95126753a22145d4509d45ca197, before 2c2dc87cdebef3fe3b9d7a711a984c70e376e32e
affected from b96e9c671b05f95126753a22145d4509d45ca197, before 7bc65d23ba20dcd7ecc094a12c181e594e5eb315
affected from b96e9c671b05f95126753a22145d4509d45ca197, before 72473db90900da970a16ee50ad23c2c38d107d8c
affected from b96e9c671b05f95126753a22145d4509d45ca197, before 419a0ffca7010216f0fc265b08558d7394fa0ba7
affected from b96e9c671b05f95126753a22145d4509d45ca197, before 51eda36d33e43201e7a4fd35232e069b2c850b01
Other versions: unaffected
Linux
affected 3.8
unaffected before 3.8
unaffected from 5.10.216 up to and including 5.10.*
unaffected from 5.15.178 up to and including 5.15.*
unaffected from 6.1.87 up to and including 6.1.*
unaffected from 6.6.28 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-35967 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35967

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-35967
trivy image --scanners vuln IMAGE | grep CVE-2024-35967

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

Source: the record CVE-2024-35967 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.