Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 5f123bc278bf4e3283d8606321bebbfd299f4384affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 1a6051cd7e3e4c54ff3854a43b638b9292af5e67affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 8769708add9eadeea8041a9761771bb715a87104affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < a03975beb9f6af0d8ac051e30b2abeabe618414faffected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 0ec4d3f6e6934deb843b561ae048cd17218e5ad1affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < 6523bc1b40e69301f24c14338b762af4739d6d39affected99e3a236dd43d06c65af0a2ef9cb44306aef6e02 to < a315e022a72d95ef5f1d4e58e903cb492b0ad931affectedad8fb61c184fe0f8d1e0b5b954d010fb9f94a6eeaffected25c9cdef57488578da21d99eb614b97ffcf6e59faffected98d3c852e63b49129515dd18c875999efaf8530aaffected4.19.118 to < 4.20affected5.4.35 to < 5.5affected5.6.7 to < 5.7affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.136 to ≤ 6.6.*unaffected6.12.83 to ≤ 6.12.*unaffected6.18.24 to ≤ 6.18.*unaffected6.19.14 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5f123bc278bf4e3283d8606321bebbfd299f4384 ↗
- https://git.kernel.org/stable/c/1a6051cd7e3e4c54ff3854a43b638b9292af5e67 ↗
- https://git.kernel.org/stable/c/8769708add9eadeea8041a9761771bb715a87104 ↗
- https://git.kernel.org/stable/c/a03975beb9f6af0d8ac051e30b2abeabe618414f ↗
- https://git.kernel.org/stable/c/0ec4d3f6e6934deb843b561ae048cd17218e5ad1 ↗
- https://git.kernel.org/stable/c/9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12 ↗
- https://git.kernel.org/stable/c/6523bc1b40e69301f24c14338b762af4739d6d39 ↗
- https://git.kernel.org/stable/c/a315e022a72d95ef5f1d4e58e903cb492b0ad931 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗