5.5medium
xsk: validate MTU against usable frame size on bind
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 24ea50127ecf0efe819c1f6230add27abc6ca9d9 before a55793e5a97d4e39bdb380873a9780fe0010bff6, from 24ea50127ecf0efe819c1f6230add27abc6ca9d9 before f669d60db11dbabb96279f2b20f9d1cba43cddb2, from 24ea50127ecf0efe819c1f6230add27abc6ca9d9 before 25e1e91a8da819924df0b16e3812d7b24c8ce133, from 24ea50127ecf0efe819c1f6230add27abc6ca9d9 before b2f4daa6422fd6cc0cec969794dab4a88ea4cea1, from 24ea50127ecf0efe819c1f6230add27abc6ca9d9 before 36ee60b569ba0dfb6f961333b90d19ab5b323fa9, 6.6 Not affected: before 6.6, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.*, from 6.18.24 up to 6.18.*, from 6.19.14 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.6 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, 7.0 | NVD |
What each source says
CVE List
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).
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xsk: validar MTU contra el tamaño de trama utilizable al enlazar El enlace AF_XDP actualmente acepta configuraciones de pool de copia cero sin verificar que la MTU del dispositivo encaja en el espacio de trama utilizable proporcionado por el fragmento UMEM. Esto se convierte en un problema desde que empezamos a respetar el tailroom que se resta del chunk_size (junto con el headroom). Un tamaño de fragmento de 2k podría no proporcionar suficiente espacio para una MTU estándar de 1500, así que detectemos tales configuraciones en el momento del enlace. Además, validar si el HW subyacente podrá satisfacer la MTU configurada con respecto al tamaño de trama de XSK multiplicado por la longitud de cadena de búfer Rx soportada (que se expone a través de net_device::xdp_zc_max_segs).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43092 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43092 changed 2026-11-11 | Public domain |