MEDIUM · CVSS 5.5 Published: 2025-01-31

CVE-2025-21666 — Technical Security Advisory & CVSS Profile

In the Linux kernel, the following vulnerability has been resolved: vsock: prevent null-ptr-deref in vsock_*[has_data|has_space] Recent reports have shown how we sometimes call vsock_*_has_data() when a vsock socket has been de-assigned from a transport (see attached links), but we shouldn't. Previous commits should have solved the real problems, but we may have more in the future, so to avoid null-ptr-deref, we can return 0 (no space, no data available) but with a warning. This way the code should continue to run in a nearly consistent state and have a warning that allows us to debug future problems.

Technical Metadata

IdentifierCVE-2025-21666
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationCWE-476
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-21665 MEDIUM 5.5
CVE-2025-21667 MEDIUM 5.5
CVE-2025-21668 MEDIUM 5.5
CVE-2025-21670 MEDIUM 5.5
CVE-2025-21672 MEDIUM 5.5
CVE-2025-21674 MEDIUM 5.5