CVE-2025-21791
vrf: use RCU protection in l3mdev_l3_out()
Reported by linux · Published February 27, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2 |
| kernel-libbpf-static | Amazon Linux | 6.1.131-143.221.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.131-143.221.amzn2023 |
| python-perf | Amazon Linux | 4.14.355-276.639.amzn2 |
| perf | Amazon Linux | 4.14.355-276.639.amzn2 |
| python3-perf | Amazon Linux | 6.1.131-143.221.amzn2023 |
| kernel | Amazon Linux | 6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2 |
| bpftool | Amazon Linux | 6.1.131-143.221.amzn2023 |
| kernel-headers | Amazon Linux | 4.14.355-276.639.amzn2 |
| kernel-livepatch-4.14.355-276.639 | Amazon Linux | 1.0-0.amzn2 |
| kernel-tools | Amazon Linux | 6.1.131-143.221.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a8e3e1a9f02094145580ea7920c6a1d9aabd5539, a8e3e1a9f02094145580ea7920c6a1d9aabd5539, a8e3e1a9f02094145580ea7920c6a1d9aabd5539 |
| Linux | Linux | 4.9, 0, 5.4.291 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2 | kernel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2 | kernel-livepatch-4.14.355-276.639 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
…and 7 more
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Mar 4, 2025 Coalition ESS Score (16 in total, the first dated here)
- Dec 22, 2025 Security Advisory (416 in total, the first dated here)
- Jan 14, 2026 PoC Published
- Apr 20, 2026 Distribution Patch (371 in total, the first dated here)
- Nov 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21791
vulnetix vdb fixes CVE-2025-21791
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21791/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart