CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-21758: ipv6: mcast: add RCU protection to mld_newpack()

Description

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.

Classification

CVE ID: CVE-2025-21758

Affected Products

Vendor: Linux, Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 9.05% (scored less or equal to compared to others)

EPSS Date: 2025-03-27 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-21758
https://git.kernel.org/stable/c/e8af3632a7f2da83e27b083f787bced1faba00b1
https://git.kernel.org/stable/c/1b91c597b0214b1b462eb627ec02658c944623f2
https://git.kernel.org/stable/c/25195f9d5ffcc8079ad743a50c0409dbdc48d98a
https://git.kernel.org/stable/c/d60d493b0e65647e0335e6a7c4547abcea7df8e9
https://git.kernel.org/stable/c/a527750d877fd334de87eef81f1cb5f0f0ca3373

Timeline