Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2512289cbf58706fd558e8fccea4e28003a2af54; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 041b2303c8019394735c1f76c5138657bf660a7d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before eb81c8e758f49e04391f77d9470a6232bb5f1c7a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5365f012451fce2453f13a568dcb72ea534c1e4d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d93660df4dd1d116f608ada4a29a80a5d6f0a6ed |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.1.10 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2512289cbf58706fd558e8fccea4e28003a2af54
- https://git.kernel.org/stable/c/041b2303c8019394735c1f76c5138657bf660a7d
- https://git.kernel.org/stable/c/eb81c8e758f49e04391f77d9470a6232bb5f1c7a
- https://git.kernel.org/stable/c/5365f012451fce2453f13a568dcb72ea534c1e4d
- https://git.kernel.org/stable/c/d93660df4dd1d116f608ada4a29a80a5d6f0a6ed
ADP enrichment
No English description supplied.
No references supplied.