bonding: alb: fix uninitialized transport header access in alb_determine_nd()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.189, Kernel 6.18.53, Kernel 7.2.7 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: bonding: alb: fix uninitialized transport header access in alb_determine_nd() alb_determine_nd() uses icmp6_hdr(skb) to inspect ICMPv6 headers. However, in xmit paths (e.g. packets sent via AF_PACKET / raw sockets or forwarded packets), skb->transport_header is not guaranteed to be initialized. While pskb_network_may_pull() ensures the packet data is linear starting from the network header, it does not set or adjust the transport header offset. Dereferencing icmp6_hdr(skb) can therefore access out-of-bounds memory. Fetch the icmp6hdr directly after ipv6hdr following pskb_network_may_pull(), and reload ipv6hdr in case pskb_may_pull() reallocated skb->head. Also remove the unused bond argument from alb_determine_nd().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.18 <6.1.189, >=6.13 <6.18.53, >=6.19 <7.2.7, >=6.2 <6.6.158, >=6.7 <6.12.111, =7.3, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <3b178894931a268c09126a5b53630f343e10e296, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <70f3995830d3f1e79faa14eb0605914f778feca9, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <7adb1bf25b0c5cedfb49b6e82844394d4f3c0d99, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <862c8eb6947689c44fe11353755576a3672563a5, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <e39cf90bd856443542b97933289749fca07476bf, =5.18, >=0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549 <27314f96d29b54e815e7a9b84c3273f1895e68e2 | 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.12.111, 3b178894931a268c09126a5b53630f343e10e296, 70f3995830d3f1e79faa14eb0605914f778feca9, 7adb1bf25b0c5cedfb49b6e82844394d4f3c0d99, 862c8eb6947689c44fe11353755576a3672563a5, e39cf90bd856443542b97933289749fca07476bf, 27314f96d29b54e815e7a9b84c3273f1895e68e2 |
| linux-kernel: Kernel | >=5.18.0 <6.1.189, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111 | 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.12.111 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket