# CVE-2025-21791: vrf: use RCU protection in l3mdev_l3_out()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-27T02:18:29.014Z
- Modified: 2026-10-15T02:17:35.843Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 20a3489b396764cc9376e32a9172bee26a89dc3b; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 5bb4228c32261d06e4fbece37ec3828bcc005b6b; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before c7574740be8ce68a57d0aece24987b9be2114c3c; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before c40cb5c03e37552d6eff963187109e2c3f78ef6f; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 022cac1c693add610ae76ede03adf4d9d5a2cf21; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 7b81425b517accefd46bee854d94954f5c57e019; from a8e3e1a9f02094145580ea7920c6a1d9aabd5539 before 6d0ce46a93135d96b7fa075a94a88fe0da8e8773; 4.9 (not affected: before 4.9; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 4.9 before 6.1.129; from 6.2 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e> (patch)
- <https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b> (patch)
- <https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b> (patch)
- <https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c> (patch)
- <https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f> (patch)
- <https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21> (patch)
- <https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019> (patch)
- <https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2025-21791](https://www.cve.org/CVERecord?id=CVE-2025-21791), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21791](https://nvd.nist.gov/vuln/detail/CVE-2025-21791), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21791 · Whole record: https://cve.day/CVE-2025-21791.json · Rebuilt by cve.day 2026-11-25T22:58:54.568Z
