CVE-2025-21758Published Feb 27, 2025 · Feb 27Updated Nov 12
ipv6: mcast: add RCU protection to mld_newpack()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 · < a527750d877fd334de87eef81f1cb5f0f0ca3373| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ipv6: mcast: add RCU protection to mld_newpack()
mld_newpack() can be called without RTNL or RCU being held.
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 IPv6 multicast function mld_newpack() can run without RTNL or RCU protection. The input does not specify what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.