Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ipvs: clear IPv4 options after rebasing tunnel ICMP errors ip_vs_in_icmp() rebases an skb from the outer ICMP packet to the quoted original request before passing it to icmp_send(). However, IPCB(skb)->opt still describes the outer IPv4 header. A timestamp option in the outer header can therefore leave an offset that points into the quoted transport header after the rebase. __ip_options_echo() treats a byte at that stale location as the option length and copies it into the fixed-size option storage on the __icmp_send() stack, causing a stack out-of-bounds write. Clear the stale option metadata after resetting the network header. Keep the remaining control block fields, including the ingress interface used by the ICMP response path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before 79ffa99202c944467e28b13b513bf2998732edff; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before c9413b50204738fbc429bb86bf01353c393a6c28; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before 37c61b3745129cbd682c557b51345828120972e5; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before ed246dd85ebf27c1f6b7897834d40786c0ca3006; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before 6f46fc460e9316062bdcdf89199eb5d7a33da33b; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before 75eec935444db4af2123e0491936f6e273d7ea00; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before 384b4dae14277d369221d187e9b3af56c79d2e50; affected f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e before e0ba936287dfe9783426aac27e5fd76fe35b38c9 |
| Linux / Linux | affected 3.7; unaffected 0 before 3.7; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.152 through 6.6.*; unaffected 6.12.104 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/79ffa99202c944467e28b13b513bf2998732edff
- https://git.kernel.org/stable/c/c9413b50204738fbc429bb86bf01353c393a6c28
- https://git.kernel.org/stable/c/37c61b3745129cbd682c557b51345828120972e5
- https://git.kernel.org/stable/c/ed246dd85ebf27c1f6b7897834d40786c0ca3006
- https://git.kernel.org/stable/c/6f46fc460e9316062bdcdf89199eb5d7a33da33b
- https://git.kernel.org/stable/c/75eec935444db4af2123e0491936f6e273d7ea00
- https://git.kernel.org/stable/c/384b4dae14277d369221d187e9b3af56c79d2e50
- https://git.kernel.org/stable/c/e0ba936287dfe9783426aac27e5fd76fe35b38c9
ADP enrichment
No English description supplied.
No references supplied.