CVE-2025-38461
vsock: Fix transport_* TOCTOU
Check your servers for CVE-2025-38461
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-2025-38461 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:
vsock: Fix transport_* TOCTOU
Transport assignment may race with module unload. Protect new_transport from becoming a stale pointer.
This also takes care of an insecure call in vsock_use_local_transport(); add a lockdep assert.
BUG: unable to handle page fault for address: fffffbfff8056000 Oops: Oops: 0000 [#1] SMP KASAN RIP: 0010:vsock_assign_transport+0x366/0x600 Call Trace: vsock_connect+0x59c/0xc40 __sys_connect+0xe8/0x100 __x64_sys_connect+0x6e/0xc0 do_syscall_64+0x92/0x1c0 entry_SYSCALL_64_after_hwframe+0x4b/0x53
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- 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 high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.98% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 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
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 36a439049b34cca0b3661276049b84a1f76cc21a affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 9ce53e744f18e73059d3124070e960f3aa9902bf affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 9d24bb6780282b0255b9929abe5e8f98007e2c6e affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before ae2c712ba39c7007de63cb0c75b51ce1caaf1da5 affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 7b73bddf54777fb62d4d8c7729d0affe6df04477 affected from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, before 687aa0c5581b8d4aa87fd92973e4ee576b550cdf
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 5.10.240 up to and including 5.10.* unaffected from 5.15.189 up to and including 5.15.* unaffected from 6.1.146 up to and including 6.1.* unaffected from 6.6.99 up to and including 6.6.* unaffected from 6.12.39 up to and including 6.12.* unaffected from 6.15.7 up to and including 6.15.* unaffected 6.16 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-2025-38461 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38461
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-2025-38461
trivy image --scanners vuln IMAGE | grep CVE-2025-38461
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/8667e8d0eb46bc54fdae30ba2f4786407d3d88eb git.kernel.org
- https://git.kernel.org/stable/c/36a439049b34cca0b3661276049b84a1f76cc21a git.kernel.org
- https://git.kernel.org/stable/c/9ce53e744f18e73059d3124070e960f3aa9902bf git.kernel.org
- https://git.kernel.org/stable/c/9d24bb6780282b0255b9929abe5e8f98007e2c6e git.kernel.org
- https://git.kernel.org/stable/c/ae2c712ba39c7007de63cb0c75b51ce1caaf1da5 git.kernel.org
- https://git.kernel.org/stable/c/7b73bddf54777fb62d4d8c7729d0affe6df04477 git.kernel.org
- https://git.kernel.org/stable/c/687aa0c5581b8d4aa87fd92973e4ee576b550cdf git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38461 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