CVE-2025-21791

Source
https://cve.org/CVERecord?id=CVE-2025-21791
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21791.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21791
Downstream
Related
Published
2025-02-27T02:18:29.014Z
Modified
2026-03-20T12:41:10.476614Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
vrf: use RCU protection in l3mdev_l3_out()
Details

In the Linux kernel, the following vulnerability has been resolved:

vrf: use RCU protection in l3mdevl3out()

l3mdevl3out() can be called without RCU being held:

rawsendmsg() ippushpendingframes() ipsendskb() iplocalout() __iplocalout() l3mdevipout()

Add rcureadlock() / rcureadunlock() pair to avoid a potential UAF.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21791.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8e3e1a9f02094145580ea7920c6a1d9aabd5539
Fixed
6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e
Fixed
20a3489b396764cc9376e32a9172bee26a89dc3b
Fixed
5bb4228c32261d06e4fbece37ec3828bcc005b6b
Fixed
c7574740be8ce68a57d0aece24987b9be2114c3c
Fixed
c40cb5c03e37552d6eff963187109e2c3f78ef6f
Fixed
022cac1c693add610ae76ede03adf4d9d5a2cf21
Fixed
7b81425b517accefd46bee854d94954f5c57e019
Fixed
6d0ce46a93135d96b7fa075a94a88fe0da8e8773

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21791.json"