CVE-2025-21669: vsock/virtio: discard packets if the transport changes

Published Jan 31, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

vsock/virtio: discard packets if the transport changes

If the socket has been de-assigned or assigned to another transport, we must discard any packets received because they are not expected and would cause issues when we access vsk->transport.

A possible scenario is described by Hyunwoo Kim in the attached link, where after a first connect() interrupted by a signal, and a second connect() failed, we can find vsk->transport at NULL, leading to a NULL pointer dereference.

Affected Software

18 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.5<5.15.177
Linux Linux kernel>=5.16<6.1.127
Linux Linux kernel>=6.2<6.6.74
Linux Linux kernel>=6.7<6.12.11
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
Linux Linux kernel=6.13-rc6
Linux Linux kernel=6.13-rc7
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft cbl2 kernel 5.15.176.3-3<5.15.180.1-1
5.15.180.1-1
Microsoft azl3 kernel 6.6.76.1-1<6.6.76.1-1
6.6.76.1-1
Microsoft cbl2 kernel 5.15.180.1-1<5.15.180.1-1
5.15.180.1-1
Microsoft azl3 kernel 6.6.64.2-9<6.6.76.1-1
6.6.76.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.180.1-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.76.1-1

Event History

Jan 31, 2025
CVE Published
via MITRE·11:25 AM
Data Sourced
via MITRE·11:25 AM
DescriptionSeverity
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 14, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Description
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Apr 28, 2025
Data Sourced
via Ubuntu·11:48 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21669?

The severity of CVE-2025-21669 has not been explicitly defined but it addresses a critical issue related to socket management in the Linux kernel.

2

How do I fix CVE-2025-21669?

To fix CVE-2025-21669, update your Linux kernel to a version higher than 5.15.177, 6.1.127, 6.6.74, 6.12.11, or any 6.13 release candidate.

3

Which versions of the Linux kernel are affected by CVE-2025-21669?

CVE-2025-21669 affects Linux kernel versions between 5.5 and 5.15.177, 5.16 and 6.1.127, 6.2 and 6.6.74, 6.7 and 6.12.11, as well as various release candidates of 6.13.

4

What type of vulnerability is CVE-2025-21669?

CVE-2025-21669 is a network vulnerability related to the handling of vsock/virtio packets in the Linux kernel.

5

What consequences could arise if CVE-2025-21669 is exploited?

Exploitation of CVE-2025-21669 could lead to unexpected behavior and issues in packet handling due to mishandled socket assignments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203