Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38462

MEDIUM 4.7EPSS 5%

vsock: Fix transport_{g2h,h2g} TOCTOU

Mitigation

  • Upgrade Linux to 209fd720838aaf1420416494c5505096478156b4 or later.

Who should check

  • Anyone running Linux >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c5496ee685c48ed1cc183cd4263602579bb4a615; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 80d7dc15805a93d520a249ac6d13d4f4df161c1b; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 401239811fa728fcdd53e360a91f157ffd23e1f4; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 3734d78210cceb2ee5615719a62a5c55ed381ff8; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 209fd720838aaf1420416494c5505096478156b4
  • Anyone running Linux 5.5

Vulnerability facts

Affected
Linux >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c5496ee685c48ed1cc183cd4263602579bb4a615; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 80d7dc15805a93d520a249ac6d13d4f4df161c1b; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 401239811fa728fcdd53e360a91f157ffd23e1f4; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 3734d78210cceb2ee5615719a62a5c55ed381ff8; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 209fd720838aaf1420416494c5505096478156b4; Linux 5.5
Fixed in
Linux 80d7dc15805a93d520a249ac6d13d4f4df161c1b, Linux 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17, Linux 401239811fa728fcdd53e360a91f157ffd23e1f4, Linux 3734d78210cceb2ee5615719a62a5c55ed381ff8, Linux 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d, Linux 209fd720838aaf1420416494c5505096478156b4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-367
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: vsock: Fix transport_{g2h,h2g} TOCTOU vsock_find_cid() and vsock_dev_do_ioctl() may race with module unload. transport_{g2h,h2g} may become NULL after the NULL check. Introduce vsock_transport_local_cid() to protect from a potential null-ptr-deref. KASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f] RIP: 0010:vsock_find_cid+0x47/0x90 Call Trace: __vsock_bind+0x4b2/0x720 vsock_bind+0x90/0xe0 __sys_bind+0x14d/0x1e0 __x64_sys_bind+0x6e/0xc0 do_syscall_64+0x92/0x1c0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 KASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f] RIP: 0010:vsock_dev_do_ioctl.isra.0+0x58/0xf0 Call Trace: __x64_sys_ioctl+0x12d/0x190 do_syscall_64+0x92/0x1c0 entry_SYSCALL_64_after_hwframe+0x4b/0x53

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c5496ee685c48ed1cc183cd4263602579bb4a615; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 80d7dc15805a93d520a249ac6d13d4f4df161c1b; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 401239811fa728fcdd53e360a91f157ffd23e1f4; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 3734d78210cceb2ee5615719a62a5c55ed381ff8; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 209fd720838aaf1420416494c5505096478156b4—cvelist
Linux5.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2025-38462.md
Affected: Linux >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c5496ee685c48ed1cc183cd4263602579bb4a615; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 80d7dc15805a93d520a249ac6d13d4f4df161c1b; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17; >= c0cfa2d8a788fcf45df5bf4…
Fixed in: Linux 80d7dc15805a93d520a249ac6d13d4f4df161c1b, Linux 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17, Linux 401239811fa728fcdd53e360a91f157ffd23e1f4, Linux 3734d78210cceb2ee5615719a62a5c55ed381ff8, Linux 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d, Linux 209fd720838aaf1420416494c5505096478156b4

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.

References

FAQ

Is CVE-2025-38462 being exploited?

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

How serious is CVE-2025-38462?

Medium: CVSS 4.7 (v3.1, scored by NVD). 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-38462?

Linux >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c5496ee685c48ed1cc183cd4263602579bb4a615; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 80d7dc15805a93d520a249ac6d13d4f4df161c1b; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 401239811fa728fcdd53e360a91f157ffd23e1f4; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 3734d78210cceb2ee5615719a62a5c55ed381ff8; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d; >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 209fd720838aaf1420416494c5505096478156b4; Linux 5.5.

Is there a fix for CVE-2025-38462?

Yes. Fixed in Linux 80d7dc15805a93d520a249ac6d13d4f4df161c1b, Linux 5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17, Linux 401239811fa728fcdd53e360a91f157ffd23e1f4, Linux 3734d78210cceb2ee5615719a62a5c55ed381ff8, Linux 6a1bcab67bea797d83aa9dd948a0ac6ed52d121d, Linux 209fd720838aaf1420416494c5505096478156b4. Upgrade Linux to 209fd720838aaf1420416494c5505096478156b4 or later.

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

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.

Sponsors