VYPR
Unrated severityNVD Advisory· Published Feb 27, 2025· Updated May 4, 2025

ipv6: mcast: extend RCU protection in igmp6_send()

CVE-2025-21759

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

166

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.