Skip to contentSkip to conversation

CVE-2026-43092: xsk: validate MTU against usable frame size on bind

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 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:

xsk: validate MTU against usable frame size on bind

AF_XDP bind currently accepts zero-copy pool configurations without verifying that the device MTU fits into the usable frame space provided by the UMEM chunk.

This becomes a problem since we started to respect tailroom which is subtracted from chunk_size (among with headroom). 2k chunk size might not provide enough space for standard 1500 MTU, so let us catch such settings at bind time. Furthermore, validate whether underlying HW will be able to satisfy configured MTU wrt XSK's frame size multiplied by supported Rx buffer chain length (that is exposed via net_device::xdp_zc_max_segs).

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

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

	Issue introduced in 6.6 with commit 24ea50127ecf0efe819c1f6230add27abc6ca9d9 and fixed in 6.6.136 with commit a55793e5a97d4e39bdb380873a9780fe0010bff6
	Issue introduced in 6.6 with commit 24ea50127ecf0efe819c1f6230add27abc6ca9d9 and fixed in 6.12.83 with commit f669d60db11dbabb96279f2b20f9d1cba43cddb2
	Issue introduced in 6.6 with commit 24ea50127ecf0efe819c1f6230add27abc6ca9d9 and fixed in 6.18.24 with commit 25e1e91a8da819924df0b16e3812d7b24c8ce133
	Issue introduced in 6.6 with commit 24ea50127ecf0efe819c1f6230add27abc6ca9d9 and fixed in 6.19.14 with commit b2f4daa6422fd6cc0cec969794dab4a88ea4cea1
	Issue introduced in 6.6 with commit 24ea50127ecf0efe819c1f6230add27abc6ca9d9 and fixed in 7.0 with commit 36ee60b569ba0dfb6f961333b90d19ab5b323fa9

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-43092

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/xdp/xsk_buff_pool.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/a55793e5a97d4e39bdb380873a9780fe0010bff6
	https://git.kernel.org/stable/c/f669d60db11dbabb96279f2b20f9d1cba43cddb2
	https://git.kernel.org/stable/c/25e1e91a8da819924df0b16e3812d7b24c8ce133
	https://git.kernel.org/stable/c/b2f4daa6422fd6cc0cec969794dab4a88ea4cea1
	https://git.kernel.org/stable/c/36ee60b569ba0dfb6f961333b90d19ab5b323fa9