Skip to main content
Network Thinking Solutions Logo

CVE-2025-21666

Linux kernel: vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]

All CVEs
CVE-2025-21666Published 1/31/2025

Linux kernel: vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
1/31/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.5, < 5.15.177

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
≥ 5.16, < 6.1.127

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
≥ 6.2, < 6.6.74

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
≥ 6.7, < 6.12.11

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
6.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < daeac89cdb03d30028186f5ff7dc26ec8fa843e7

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 9e5fed46ccd2c34c5fa5a9c8825ce4823fdc853e

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < b52e50dd4fabd12944172bd486a4f4853b7f74dd

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < bc9c49341f9728c31fe248c5fbba32d2e81a092b

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c23d1d4f8efefb72258e9cedce29de10d057f8ca

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 91751e248256efc111e52e15115840c35d85abaf

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
5.5

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< *

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.