cvelo
P2 · HighCVSS 7.3EPSS 0.2%

vsock/vmci: validate packet source for connected sockets

  • CVE-2026-99122
  • GHSA-99x3-rpwc-xh78
  • EUVD-2026-111874

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.9none stated
    before 3.9: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.59 up to 6.18.*: not affectednone stated
    from 7.2.13 up to 7.2.*: not affectednone stated
    from 7.3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.