net/packet: clear RX owner on VNET header error
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.15, 4.20, 5.5, 5.6, 5.10.271, and 6 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: net/packet: clear RX owner on VNET header error Commit 61fad6816fc1 ("net/packet: tpacket_rcv: avoid a producer race condition") added rx_owner_map and made tpacket_rcv() claim a V1 or V2 ring slot before converting the virtio-net header. If the conversion fails, the drop path leaves the slot claimed. With a one-frame TPACKET_V2 ring, an unsupported UDP GSO packet leaves the only slot unavailable, so the ring also drops the next valid packet. Clear the ownership bit on this error path. TPACKET_V3 already clears its block state here.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in bb10a0084c03a94364aeec542beddc5d49b59f59; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in b8c0cb3069058c2d67b5c7c833b2833381ecffdc; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 2daa618e7ff19eefcbda281bc4c5998c4140f9cf; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 23cd30498891d29a69ec9b75bd92f8a0f21f1342; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 49a48a5aaf85fe69d2dc3fb334b4854fadf44e39; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 805edbdcb8681da5f7ee43b3c3c809f7a8c31208; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 693209a237fc548791cf402441db8b68d1da7d38; From 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 · fixed in 33ff111d7ba3beb86e28938d6382bb5beabd865a; From 4.14.175 · fixed in 4.15; From 4.19.114 · fixed in 4.20; From 5.4.29 · fixed in 5.5; From 5.5.14 · fixed in 5.6
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8
References 8
git.kernel.org
- stable/c/bb10a0084c03a94364aeec542beddc5d49b59f59
- stable/c/b8c0cb3069058c2d67b5c7c833b2833381ecffdc
- stable/c/2daa618e7ff19eefcbda281bc4c5998c4140f9cf
- stable/c/23cd30498891d29a69ec9b75bd92f8a0f21f1342
- stable/c/49a48a5aaf85fe69d2dc3fb334b4854fadf44e39
- stable/c/805edbdcb8681da5f7ee43b3c3c809f7a8c31208
- stable/c/693209a237fc548791cf402441db8b68d1da7d38
- stable/c/33ff111d7ba3beb86e28938d6382bb5beabd865a