vsock/virtio: discard packets if the transport changes (Linux Linux)

CVE-2025-21669
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 18a7fc371d1dbf8deff16c2dd9292bcc73f43040 ; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 6486915fa661584d70e8e7e4068c6c075c67dd6d ; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee ; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < d88b249e14bd0ee1e46bbe4f456e22e01b8c68de ; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 677579b641af109613564460a4e3bdcb16850b61 ; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.234 ≤ 5.10.* ; unaffected 5.15.177 ≤ 5.15.* ; unaffected 6.1.127 ≤ 6.1.* ; unaffected 6.6.74 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD