CVE-2025-21759
JSON

7.8high

ipv6: mcast: extend RCU protection in igmp6_send()

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

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 638e8fe3563a82f298fe537a28d5342a97278cf1, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 6901bbb169e3add6c037218d996790cef6b3d650, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 7e0a818ecc4d62e7fb668ea02de0bfe8ba0b7dff, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 81b25a07ebf53f9ef4ca8f3d96a8ddb94561dd5a, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 0bf8e2f3768629d437a32cb824149e6e98254381, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 8e92d6a413feaf968a33f0b439ecf27404407458, from b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 before 087c1faa594fa07a66933d750c0b2610aa1a2946, 2.6.26
Not affected: before 2.6.26, from 5.10.271 up to 5.10.*, from 5.15.222 up to 5.15.*, from 6.1.189 up to 6.1.*, from 6.6.79 up to 6.6.*, from 6.12.16 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.26 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
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipv6: mcast: extender la protección RCU en igmp6_send() igmp6_send() se puede llamar sin que se mantenga RTNL o RCU. Extienda la protección RCU para que podamos obtener de forma segura el puntero de red y evitar un posible UAF. 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-21759 changed 2026-10-03CVE Terms of Use
NVDCVE-2025-21759 changed 2026-10-03Public domain