CVE-2026-31408
Bluetooth: SCO: Fix use-after-free in sco_recv_frame() due to missing sock_hold
Check your servers for CVE-2026-31408
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-2026-31408 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: SCO: Fix use-after-free in sco_recv_frame() due to missing sock_hold
sco_recv_frame() reads conn->sk under sco_conn_lock() but immediately releases the lock without holding a reference to the socket. A concurrent close() can free the socket between the lock release and the subsequent sk->sk_state access, resulting in a use-after-free.
Other functions in the same file (sco_sock_timeout(), sco_conn_del()) correctly use sco_sock_hold() to safely hold a reference under the lock.
Fix by using sco_sock_hold() to take a reference before releasing the lock, and adding sock_put() on all exit paths.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 37e18bc8c9a70d77bd099e2273f328b3bc7f6d0d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d57384e27d1ebf0047e3f00a6e1181b8be9857a2 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b0a7da0e3f7442545f071499beb36374714bb9de affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 45aaca995e4a7a05b272a58e7ab2fff4f611b8f1 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 108b81514d8f2535eb16651495cefb2250528db3 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7197462e90b8ce15caa1ae15d4bc2bb8cd21b11e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e76e8f0581ef555eacc11dbb095e602fb30a5361 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 598dbba9919c5e36c54fe1709b557d64120cb94b
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.265 up to and including 5.10.* unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.168 up to and including 6.1.* unaffected from 6.6.131 up to and including 6.6.* unaffected from 6.12.80 up to and including 6.12.* unaffected from 6.18.21 up to and including 6.18.* unaffected from 6.19.11 up to and including 6.19.* unaffected 7.0 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-2026-31408 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31408
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-2026-31408
trivy image --scanners vuln IMAGE | grep CVE-2026-31408
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/37e18bc8c9a70d77bd099e2273f328b3bc7f6d0d git.kernel.org
- https://git.kernel.org/stable/c/d57384e27d1ebf0047e3f00a6e1181b8be9857a2 git.kernel.org
- https://git.kernel.org/stable/c/b0a7da0e3f7442545f071499beb36374714bb9de git.kernel.org
- https://git.kernel.org/stable/c/45aaca995e4a7a05b272a58e7ab2fff4f611b8f1 git.kernel.org
- https://git.kernel.org/stable/c/108b81514d8f2535eb16651495cefb2250528db3 git.kernel.org
- https://git.kernel.org/stable/c/7197462e90b8ce15caa1ae15d4bc2bb8cd21b11e git.kernel.org
- https://git.kernel.org/stable/c/e76e8f0581ef555eacc11dbb095e602fb30a5361 git.kernel.org
- https://git.kernel.org/stable/c/598dbba9919c5e36c54fe1709b557d64120cb94b git.kernel.org
Source: the record CVE-2026-31408 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse