CVE-2025-21758

MEDIUM

Linux Kernel Use-After-Free in mld_newpack()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.1273
EPSS Percentile 95.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (21)
linux/Kernel 2.6.26 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.129linux
linux/Kernel 6.13.0 - 6.13.4linux
linux/Kernel 6.2.0 - 6.6.79linux
linux/Kernel 6.7.0 - 6.12.16linux
Linux/Linux < 2.6.26
Linux/Linux 2.6.26
Linux/Linux 5.15.179 - 5.15.*
Linux/Linux 6.1.129 - 6.1.*
Linux/Linux 6.12.16 - 6.12.*
... and 11 more
Published Feb 27, 2025
Tracked Since Feb 18, 2026