CVE-2025-21666

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJan 31, 2025
First seenJan 31, 2025

How to fix

Update
  • linux linux_kernel5.15.177, 6.1.127, 6.6.74, 6.12.11 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.5 ≤ v < 5.15.177, 5.16 ≤ v < 6.1.127, 6.2 ≤ v < 6.6.74, 6.7 ≤ v < 6.12.11, 6.135.15.177, 6.1.127, 6.6.74, 6.12.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.