vsock/vmci: validate packet source for connected sockets (Linux Linux)

CVE-2026-99122
HIGH 7.3

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: vsock/vmci: validate packet source for connected sockets vmci_transport_recv_stream_cb() looks up sockets first by the full source and destination tuple, then by destination only in the bound table. The fallback can select a non-listening socket without checking whether the packet came from its stored peer. This was reproduced with two VMCI contexts. A RST from the context not stored in a TCP_SYN_SENT socket reset that socket after it was selected by the destination-only lookup. VMCI can process notification packets in bottom-half context when the socket is not owned by user context, or defer packets to a workqueue. Use vsock_check_source() after taking the socket lock in the bottom-half path, and recheck after lock_sock() in the workqueue path. Listening sockets continue to accept packets from any source. Reply with a RST addressed from the received packet before dropping a source that fails validation. This preserves the existing reset behavior for bound non-listening and concurrently closed sockets without directing the reset to a connected socket's stored peer.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:HLinux
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < 8fa949146d1239f37ab5603c74f2a5218cae9c4b
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < 5af861f59596a756f81bb78597583d81fbde9f1c
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < cdd1f99eaa4d4db82d506eb50e724460671c7cac
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < c027f8b429dbb2157fc1b503df196e272d947c89
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < 90c423b62ec9be08177f74b07a47937ca8d2035b
affected : ≥ d021c344051af91f42c5ba9fdedc176740cbd238 < ad9a7da3fa39c2d616ec0dd3cf6e30531d032fe7
Other versions : unaffected
Linux · Linux
affected : 3.9
unaffected : ≥ 0 < 3.9
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.59 ≤ 6.18.*
unaffected : ≥ 7.2.13 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

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