Description · from the CVE record
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
ProductAffectedFixed inSource
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < 79ffa99202c944467e28b13b513bf2998732edff79ffa99202c944467e28b13b513bf2998732edffCNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < c9413b50204738fbc429bb86bf01353c393a6c28c9413b50204738fbc429bb86bf01353c393a6c28CNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < 37c61b3745129cbd682c557b51345828120972e537c61b3745129cbd682c557b51345828120972e5CNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < ed246dd85ebf27c1f6b7897834d40786c0ca3006ed246dd85ebf27c1f6b7897834d40786c0ca3006CNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < 6f46fc460e9316062bdcdf89199eb5d7a33da33b6f46fc460e9316062bdcdf89199eb5d7a33da33bCNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < 75eec935444db4af2123e0491936f6e273d7ea0075eec935444db4af2123e0491936f6e273d7ea00CNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < 384b4dae14277d369221d187e9b3af56c79d2e50384b4dae14277d369221d187e9b3af56c79d2e50CNA
Linuxf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e – < e0ba936287dfe9783426aac27e5fd76fe35b38c9e0ba936287dfe9783426aac27e5fd76fe35b38c9CNA
Linux3.7–CNA