CVE-2025-21669

Source
https://cve.org/CVERecord?id=CVE-2025-21669
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21669.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21669
Downstream
Related
Published
2025-01-31T11:25:33.185Z
Modified
2026-03-11T05:36:03.472226Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
vsock/virtio: discard packets if the transport changes
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21669.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c0cfa2d8a788fcf45df5bf4070ab2474c88d543a
Fixed
18a7fc371d1dbf8deff16c2dd9292bcc73f43040
Fixed
6486915fa661584d70e8e7e4068c6c075c67dd6d
Fixed
88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee
Fixed
d88b249e14bd0ee1e46bbe4f456e22e01b8c68de
Fixed
677579b641af109613564460a4e3bdcb16850b61
Fixed
2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21669.json"