xsk: tighten UMEM headroom validation to account for tailroom and min frame
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.20, 5.5, 5.7, 5.10.258, 5.15.209, and 5 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 5f123bc278bf4e3283d8606321bebbfd299f4384; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 1a6051cd7e3e4c54ff3854a43b638b9292af5e67; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 8769708add9eadeea8041a9761771bb715a87104; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in a03975beb9f6af0d8ac051e30b2abeabe618414f; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 0ec4d3f6e6934deb843b561ae048cd17218e5ad1; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in 6523bc1b40e69301f24c14338b762af4739d6d39; From 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 · fixed in a315e022a72d95ef5f1d4e58e903cb492b0ad931; From 4.19.118 · fixed in 4.20; From 5.4.35 · fixed in 5.5; From 5.6.7 · fixed in 5.7
- Linux Linux
5.7
- KernelLinux
From 5.7.0 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.136; From 6.7.0 · fixed in 6.12.83; From 6.13.0 · fixed in 6.18.24; From 6.19.0 · fixed in 6.19.14
References 8
git.kernel.org
- stable/c/5f123bc278bf4e3283d8606321bebbfd299f4384
- stable/c/1a6051cd7e3e4c54ff3854a43b638b9292af5e67
- stable/c/8769708add9eadeea8041a9761771bb715a87104
- stable/c/a03975beb9f6af0d8ac051e30b2abeabe618414f
- stable/c/0ec4d3f6e6934deb843b561ae048cd17218e5ad1
- stable/c/9ea6ba4f3195dcba6e8b3e7b2e748593b7cafb12
- stable/c/6523bc1b40e69301f24c14338b762af4739d6d39
- stable/c/a315e022a72d95ef5f1d4e58e903cb492b0ad931