CVE-2025-21758

ipv6: mcast: add RCU protection to mld_newpack()

State
Published
Severity
7.8 High
Published
Feb 27, 2025
Updated
Oct 15, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before 29fa42197f26a97cde29fa8c40beddf44ea5c8f3Affected
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before e8af3632a7f2da83e27b083f787bced1faba00b1Affected
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before 1b91c597b0214b1b462eb627ec02658c944623f2Affected
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before 25195f9d5ffcc8079ad743a50c0409dbdc48d98aAffected
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before d60d493b0e65647e0335e6a7c4547abcea7df8e9Affected
  • b8ad0cbc58f703972e9e37c4e2a8081dd7e6a551 to before a527750d877fd334de87eef81f1cb5f0f0ca3373Affected
LinuxLinux
  • 2.6.26Affected
  • before 2.6.26Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.79 through 6.6.*Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.