xsk: validate MTU against usable frame size on bind
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f669d60db11dbabb96279f2b20f9d1cba43cddb2, Kernel 6.19.14, Kernel 6.6.136 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=24ea50127ecf0efe819c1f6230add27abc6ca9d9 <f669d60db11dbabb96279f2b20f9d1cba43cddb2, >=6.19 <6.19.14, >=6.6 <6.6.136, >=6.7 <6.12.83, =7.0, >=24ea50127ecf0efe819c1f6230add27abc6ca9d9 <36ee60b569ba0dfb6f961333b90d19ab5b323fa9, >=24ea50127ecf0efe819c1f6230add27abc6ca9d9 <a55793e5a97d4e39bdb380873a9780fe0010bff6, >=24ea50127ecf0efe819c1f6230add27abc6ca9d9 <b2f4daa6422fd6cc0cec969794dab4a88ea4cea1, >=6.13 <6.18.24, =6.6, >=24ea50127ecf0efe819c1f6230add27abc6ca9d9 <25e1e91a8da819924df0b16e3812d7b24c8ce133 | f669d60db11dbabb96279f2b20f9d1cba43cddb2, 6.19.14, 6.6.136, 6.12.83, 36ee60b569ba0dfb6f961333b90d19ab5b323fa9, a55793e5a97d4e39bdb380873a9780fe0010bff6, b2f4daa6422fd6cc0cec969794dab4a88ea4cea1, 6.18.24, 25e1e91a8da819924df0b16e3812d7b24c8ce133 |
| linux-kernel: Kernel | >=6.13.0 <6.18.24, >=6.19.0 <6.19.14, >=6.6.0 <6.6.136, >=6.7.0 <6.12.83 | 6.18.24, 6.19.14, 6.6.136, 6.12.83 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket