ipv6: mcast: extend RCU protection in igmp6_send()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 · < 8e92d6a413feaf968a33f0b439ecf27404407458| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ipv6: mcast: extend RCU protection in igmp6_send()
igmp6_send() can be called without RTNL or RCU being held.
Extend RCU protection so that we can safely fetch the net pointer and avoid a potential UAF.
Note that we no longer can use sock_alloc_send_skb() because ipv6.igmp_sk uses GFP_KERNEL allocations which can sleep.
Instead use alloc_skb() and charge the net->ipv6.igmp_sk socket under RCU protection.
From the CVE record · Linux
The Linux kernel’s IPv6 multicast igmp6_send() function can run without RTNL or RCU protection, potentially causing a use-after-free when it fetches a network pointer. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Teams running Linux kernels should check whether their builds include the vulnerable IPv6 multicast code; affected versions are not specified.