xsk: tighten UMEM headroom validation to account for tailroom and min frame
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.5, Kernel 5.7, Kernel 6.6.136 and 15 more.
In the Linux kernel, the following vulnerability has been resolved: xsk: tighten UMEM headroom validation to account for tailroom and min frame The current headroom validation in xdp_umem_reg() could leave us with insufficient space dedicated to even receive minimum-sized ethernet frame. Furthermore if multi-buffer would come to play then skb_shared_info stored at the end of XSK frame would be corrupted. HW typically works with 128-aligned sizes so let us provide this value as bare minimum. Multi-buffer setting is known later in the configuration process so besides accounting for 128 bytes, let us also take care of tailroom space upfront.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.7, >=5.4.35 <5.5, >=5.6.7 <5.7, >=5.7.1 <6.6.136, >=6.13 <6.18.24, >=6.19 <6.19.14, >=6.7 <6.12.83, >=4.19.118 <4.20, =7.0, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <0ec4d3f6e6934deb843b561ae048cd17218e5ad1, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <1a6051cd7e3e4c54ff3854a43b638b9292af5e67, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <5f123bc278bf4e3283d8606321bebbfd299f4384, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <6523bc1b40e69301f24c14338b762af4739d6d39, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <8769708add9eadeea8041a9761771bb715a87104, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <a03975beb9f6af0d8ac051e30b2abeabe618414f, >=99e3a236dd43d06c65af0a2ef9cb44306aef6e02 <a315e022a72d95ef5f1d4e58e903cb492b0ad931, =25c9cdef57488578da21d99eb614b97ffcf6e59f, =98d3c852e63b49129515dd18c875999efaf8530a, =ad8fb61c184fe0f8d1e0b5b954d010fb9f94a6ee | 5.5, 5.7, 6.6.136, 6.18.24, 6.19.14, 6.12.83, 4.20, 0ec4d3f6e6934deb843b561ae048cd17218e5ad1, 1a6051cd7e3e4c54ff3854a43b638b9292af5e67, 5f123bc278bf4e3283d8606321bebbfd299f4384, 6523bc1b40e69301f24c14338b762af4739d6d39, 8769708add9eadeea8041a9761771bb715a87104, 9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12, a03975beb9f6af0d8ac051e30b2abeabe618414f, a315e022a72d95ef5f1d4e58e903cb492b0ad931 |
| linux-kernel: Kernel | >=4.19.118 <4.20, >=5.11.0 <5.15.209, >=5.16.0 <6.1.175, >=5.4.35 <5.5, >=5.6.7 <5.7, >=5.7.0 <5.10.258, >=6.13.0 <6.18.24, >=6.19.0 <6.19.14, >=6.2.0 <6.6.136, >=6.7.0 <6.12.83 | 4.20, 5.15.209, 6.1.175, 5.5, 5.7, 5.10.258, 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