ipvs: revalidate ihl to prevent out-of-bounds access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 041b2303c8019394735c1f76c5138657bf660a7d, Kernel 2512289cbf58706fd558e8fccea4e28003a2af54, Kernel 5365f012451fce2453f13a568dcb72ea534c1e4d and 3 more.
In the Linux kernel, the following vulnerability has been resolved: ipvs: revalidate ihl to prevent out-of-bounds access While the outer IP header is already pulled into the skb head, we must be careful and revalidate the embedded headers after reading them from the skb frags to prevent out-of-bounds access. One such place reported by Sashiko is ip_vs_nat_icmp() where local process can change the ihl field and after skb_ensure_writable() we can see larger value which is a problem for the ip_send_check(cih) calls. Add check to drop the packet if the ihl field is changed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <041b2303c8019394735c1f76c5138657bf660a7d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2512289cbf58706fd558e8fccea4e28003a2af54, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5365f012451fce2453f13a568dcb72ea534c1e4d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d93660df4dd1d116f608ada4a29a80a5d6f0a6ed, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <eb81c8e758f49e04391f77d9470a6232bb5f1c7a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f55bb94946fb8ee6304590a731c39c1fbc3b28bc | 041b2303c8019394735c1f76c5138657bf660a7d, 2512289cbf58706fd558e8fccea4e28003a2af54, 5365f012451fce2453f13a568dcb72ea534c1e4d, d93660df4dd1d116f608ada4a29a80a5d6f0a6ed, eb81c8e758f49e04391f77d9470a6232bb5f1c7a, f55bb94946fb8ee6304590a731c39c1fbc3b28bc |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket