CVE-2025-21791

vrf: use RCU protection in l3mdev_l3_out()

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: October 15, 2026 at 02:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: vrf: use RCU protection in l3mdev_l3_out() l3mdev_l3_out() can be called without RCU being held: raw_sendmsg() ip_push_pending_frames() ip_send_skb() ip_local_out() __ip_local_out() l3mdev_ip_out() Add rcu_read_lock() / rcu_read_unlock() pair to avoid a potential UAF.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.9 ≤ v < 6.1.1296.13 ≤ v < 6.13.46.2 ≤ v < 6.6.796.7 ≤ v < 6.12.166.146.14 rc16.14 rc2a8e3e1a9f02094145580ea7920c6a1d9aabd5539
Vendor states this is fixed in 022cac1c693add610ae76ede03adf4d9d5a2cf21 (fixed)
Vendor states this is fixed in 20a3489b396764cc9376e32a9172bee26a89dc3b (fixed)
Vendor states this is fixed in 5bb4228c32261d06e4fbece37ec3828bcc005b6b (fixed)
Vendor states this is fixed in 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e (fixed)
Vendor states this is fixed in 6d0ce46a93135d96b7fa075a94a88fe0da8e8773 (fixed)
Vendor states this is fixed in 7b81425b517accefd46bee854d94954f5c57e019 (fixed)
Vendor states this is fixed in c40cb5c03e37552d6eff963187109e2c3f78ef6f (fixed)
Vendor states this is fixed in c7574740be8ce68a57d0aece24987b9be2114c3c (fixed)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.16 (unaffected)
Vendor states this is fixed in 6.13.4 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.79 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card