net: do not send ICMP/NDISC Redirects when peer allocation fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f5ecaa7ea7686fa7ecdb6affc9d3a9a42e4524b1, Kernel 21666f7af49a90ef44d474916b8ef4402dfd74f5, Kernel 5ec5f00fc606a6df8434948c4552b3cb1176595d and 8 more.
In the Linux kernel, the following vulnerability has been resolved: net: do not send ICMP/NDISC Redirects when peer allocation fails When inet_getpeer_v4() or inet_getpeer_v6() fails to allocate a peer entry under memory pressure or tree size caps, redirect handlers previously fell back to sending un-rate-limited ICMP/NDISC Redirect messages. In IPv4, ip_rt_send_redirect() called icmp_send() directly when peer == NULL. In IPv6, ip6_forward() and ndisc_send_redirect() passed a NULL peer into inet_peer_xrlim_allow(), which returned true when peer == NULL. Because ICMP/NDISC Redirects are not part of the default global rate limit mask (sysctl_icmp_ratemask), sending redirects when peer == NULL creates an un-rate-limited ICMP packet storm. Fix this by failing closed in ip_rt_send_redirect(), ip6_forward(), and ndisc_send_redirect() when peer is NULL.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <f5ecaa7ea7686fa7ecdb6affc9d3a9a42e4524b1, >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <21666f7af49a90ef44d474916b8ef4402dfd74f5, >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <5ec5f00fc606a6df8434948c4552b3cb1176595d, >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <828f6670d110ff2bf44c743037b38badc315704c, >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <c0adf8b4247bcc5a145a25c1929006eb392580bb, >=92d8682926342d2b6aa5b2ecc02221e00e1573a0 <dbc3791e3b2472e1ccc08947e0f83b443470ff4f, =2.6.39 | f5ecaa7ea7686fa7ecdb6affc9d3a9a42e4524b1, 21666f7af49a90ef44d474916b8ef4402dfd74f5, 5ec5f00fc606a6df8434948c4552b3cb1176595d, 828f6670d110ff2bf44c743037b38badc315704c, c0adf8b4247bcc5a145a25c1929006eb392580bb, dbc3791e3b2472e1ccc08947e0f83b443470ff4f |
| linux-kernel: Kernel | >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.151, >=6.7.0 <6.12.103, >=2.6.39 <6.1.183 | 6.18.44, 7.1.8, 6.6.151, 6.12.103, 6.1.183 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket