CVE-2025-21758
JSON

7.8high

ipv6: mcast: add RCU protection to mld_newpack()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
19.0% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 29fa42197f26a97cde29fa8c40beddf44ea5c8f3, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before e8af3632a7f2da83e27b083f787bced1faba00b1, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 1b91c597b0214b1b462eb627ec02658c944623f2, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 25195f9d5ffcc8079ad743a50c0409dbdc48d98a, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before d60d493b0e65647e0335e6a7c4547abcea7df8e9, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before a527750d877fd334de87eef81f1cb5f0f0ca3373, 2.6.26
Not affected: before 2.6.26, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.79 up to 6.6.*, from 6.12.16 up to 6.12.*, from 6.13.4 up to 6.13.*
CVE List
linux linux_kernelfrom 2.6.26 before 5.15.179, from 5.16 before 6.1.129, from 6.2 before 6.6.79, from 6.7 before 6.12.16, from 6.13 before 6.13.4, 6.14NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipv6: mcast: agregar protección RCU a mld_newpack() mld_newpack() se puede llamar sin que se mantenga RTNL o RCU. Tenga en cuenta que ya no podemos usar sock_alloc_send_skb() porque ipv6.igmp_sk usa asignaciones GFP_KERNEL que pueden dormir. En su lugar, use alloc_skb() y cargue el socket net->ipv6.igmp_sk bajo la protección RCU.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21758 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-21758 changed 2026-11-10Public domain