Skip to contentSkip to conversation

CVE-2026-98233: net/packet: clear RX owner on VNET header error

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-98233 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 5.10.271 with commit bb10a0084c03a94364aeec542beddc5d49b59f59
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 5.15.222 with commit b8c0cb3069058c2d67b5c7c833b2833381ecffdc
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 6.1.189 with commit 2daa618e7ff19eefcbda281bc4c5998c4140f9cf
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 6.6.158 with commit 23cd30498891d29a69ec9b75bd92f8a0f21f1342
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 6.12.112 with commit 49a48a5aaf85fe69d2dc3fb334b4854fadf44e39
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 6.18.54 with commit 805edbdcb8681da5f7ee43b3c3c809f7a8c31208
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 7.2.8 with commit 693209a237fc548791cf402441db8b68d1da7d38
	Issue introduced in 5.6 with commit 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 and fixed in 7.3-rc4 with commit 33ff111d7ba3beb86e28938d6382bb5beabd865a
	Issue introduced in 4.14.175 with commit 2975472e042e0bbfeeabddc5023cb8c011ec5a07
	Issue introduced in 4.19.114 with commit 6fb0e4385928900ccb8697748555b3f54bba5193
	Issue introduced in 5.4.29 with commit 86137342fd4cf52882842aa8d1318b2661f08e8a
	Issue introduced in 5.5.14 with commit b06e4d3ed4044c2facf10a511d809f9aa29d960e

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98233

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/packet/af_packet.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/bb10a0084c03a94364aeec542beddc5d49b59f59
	https://git.kernel.org/stable/c/b8c0cb3069058c2d67b5c7c833b2833381ecffdc
	https://git.kernel.org/stable/c/2daa618e7ff19eefcbda281bc4c5998c4140f9cf
	https://git.kernel.org/stable/c/23cd30498891d29a69ec9b75bd92f8a0f21f1342
	https://git.kernel.org/stable/c/49a48a5aaf85fe69d2dc3fb334b4854fadf44e39
	https://git.kernel.org/stable/c/805edbdcb8681da5f7ee43b3c3c809f7a8c31208
	https://git.kernel.org/stable/c/693209a237fc548791cf402441db8b68d1da7d38
	https://git.kernel.org/stable/c/33ff111d7ba3beb86e28938d6382bb5beabd865a