# CVE-2025-38461: vsock: Fix transport\_\* TOCTOU

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2025-07-25T15:27:39.322Z
- **Modified:** 2026-08-05T12:02:04.689Z

## Who should check

- Anyone running Linux \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 36a439049b34cca0b3661276049b84a1f76cc21a; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9ce53e744f18e73059d3124070e960f3aa9902bf; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9d24bb6780282b0255b9929abe5e8f98007e2c6e; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< ae2c712ba39c7007de63cb0c75b51ce1caaf1da5; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 7b73bddf54777fb62d4d8c7729d0affe6df04477; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 687aa0c5581b8d4aa87fd92973e4ee576b550cdf
- Anyone running Linux 5.5

## 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

## Affected and fixed versions

- Linux: \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 36a439049b34cca0b3661276049b84a1f76cc21a; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9ce53e744f18e73059d3124070e960f3aa9902bf; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9d24bb6780282b0255b9929abe5e8f98007e2c6e; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< ae2c712ba39c7007de63cb0c75b51ce1caaf1da5; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 7b73bddf54777fb62d4d8c7729d0affe6df04477; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 687aa0c5581b8d4aa87fd92973e4ee576b550cdf (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 687aa0c5581b8d4aa87fd92973e4ee576b550cdf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38461. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38461.md
Affected: Linux >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 36a439049b34cca0b3661276049b84a1f76cc21a; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 9ce53e744f18e73059d3124070e960f3aa9902bf; >= c0cfa2d8a788fcf45df5bf4…
Fixed in: Linux 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb, Linux 36a439049b34cca0b3661276049b84a1f76cc21a, Linux 9ce53e744f18e73059d3124070e960f3aa9902bf, Linux 9d24bb6780282b0255b9929abe5e8f98007e2c6e, Linux 7b73bddf54777fb62d4d8c7729d0affe6df04477, Linux 687aa0c5581b8d4aa87fd92973e4ee576b550cdf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38461 being exploited?

There is no confirmed exploitation: CVE-2025-38461 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38461?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-38461?

Linux \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 36a439049b34cca0b3661276049b84a1f76cc21a; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9ce53e744f18e73059d3124070e960f3aa9902bf; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 9d24bb6780282b0255b9929abe5e8f98007e2c6e; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< ae2c712ba39c7007de63cb0c75b51ce1caaf1da5; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 7b73bddf54777fb62d4d8c7729d0affe6df04477; \>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, \< 687aa0c5581b8d4aa87fd92973e4ee576b550cdf; Linux 5.5.

### Is there a fix for CVE-2025-38461?

Yes. Fixed in Linux 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb, Linux 36a439049b34cca0b3661276049b84a1f76cc21a, Linux 9ce53e744f18e73059d3124070e960f3aa9902bf, Linux 9d24bb6780282b0255b9929abe5e8f98007e2c6e, Linux 7b73bddf54777fb62d4d8c7729d0affe6df04477, Linux 687aa0c5581b8d4aa87fd92973e4ee576b550cdf. Upgrade Linux to 687aa0c5581b8d4aa87fd92973e4ee576b550cdf or later.

### How do I check if I'm affected by CVE-2025-38461?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8667e8d0eb46bc54fdae30ba2f4786407d3d88eb>
- patch: <https://git.kernel.org/stable/c/36a439049b34cca0b3661276049b84a1f76cc21a>
- patch: <https://git.kernel.org/stable/c/9ce53e744f18e73059d3124070e960f3aa9902bf>
- patch: <https://git.kernel.org/stable/c/9d24bb6780282b0255b9929abe5e8f98007e2c6e>
- patch: <https://git.kernel.org/stable/c/ae2c712ba39c7007de63cb0c75b51ce1caaf1da5>
- patch: <https://git.kernel.org/stable/c/7b73bddf54777fb62d4d8c7729d0affe6df04477>
- patch: <https://git.kernel.org/stable/c/687aa0c5581b8d4aa87fd92973e4ee576b550cdf>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38461>

HTML: <https://flawdb.com/CVE-2025-38461> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38461>
