7.1

CVE-2026-99123

vsock/virtio: validate packet source for connected sockets

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

vsock/virtio: validate packet source for connected sockets

virtio_transport_recv_pkt() looks up sockets first by the full source and
destination tuple, then by destination only in the bound table. The
fallback is needed for listening and connecting sockets, but sockets remain
in the bound table after connect(), so it can also return a non-listening
socket.

The fallback does not validate the source address. In TCP_SYN_SENT, a
RESPONSE from an unrelated source can transition the victim socket to
TCP_ESTABLISHED while its stored remote address remains unchanged.
Subsequent RW packets from that source are delivered through the same
destination-only fallback.

This was reproduced with capability-empty processes under different UIDs.
The attacker discovered the target tuple through unprivileged AF_VSOCK
sock_diag and caused the victim socket to read 16 attacker-chosen bytes;
the intended peer-side socket read 0 of those 16 bytes.

Add vsock_check_source() to validate the transport, source port and source
CID against the peer stored in a non-listening socket. The local transport
is the CID exception because its packets are generated internally with
VMADDR_CID_LOCAL as their source, including connections using CID aliases.

Use the helper after lock_sock() in the virtio receive path.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < bda841af86cdfe7fcf4a2f4db22e27f1b852b1ff
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < c0a3a786a5e8b5007d6a3c34721ab052399ab2ad
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < f77fb90edca5385d0eecbfd6d2c8ef60afff24a9
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < ec231dd3b14e541ba1c4f842a7d152fb61037333
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < 6cd829de69efd9ed3a53aa2421004a0396eb2bd7
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < e9bf92de436ba55f33eaa55d7008e68551123cfd
Status affected
Version 06a8fc78367d070720af960dcecec917d3ae5f3b
Version < dee44f41f206becb41c492899c1996cfd7f82a1b
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.8
Status affected
Version 0
Version < 4.8
Status unaffected
Version <= 5.15.*
Version 5.15.224
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.059
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.1 1.8 5.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/6cd829de69efd9ed3a53aa2421004a0396eb2bd7
https://git.kernel.org/stable/c/e9bf92de436ba55f33eaa55d7008e68551123cfd
https://git.kernel.org/stable/c/dee44f41f206becb41c492899c1996cfd7f82a1b
https://git.kernel.org/stable/c/bda841af86cdfe7fcf4a2f4db22e27f1b852b1ff
https://git.kernel.org/stable/c/c0a3a786a5e8b5007d6a3c34721ab052399ab2ad
https://git.kernel.org/stable/c/ec231dd3b14e541ba1c4f842a7d152fb61037333
https://git.kernel.org/stable/c/f77fb90edca5385d0eecbfd6d2c8ef60afff24a9