VDB

CVE-2025-21791

CVE-2025-21791 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel-develAmazon Linux6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2
kernel-libbpf-staticAmazon Linux6.1.131-143.221.amzn2023
kernel-modules-extraAmazon Linux6.1.131-143.221.amzn2023
python-perfAmazon Linux4.14.355-276.639.amzn2
perfAmazon Linux4.14.355-276.639.amzn2
python3-perfAmazon Linux6.1.131-143.221.amzn2023
kernelAmazon Linux6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2
kernel-tools-develAmazon Linux6.1.131-143.221.amzn2023, 4.14.355-276.639.amzn2
bpftoolAmazon Linux6.1.131-143.221.amzn2023
kernel-headersAmazon Linux4.14.355-276.639.amzn2
kernel-livepatch-4.14.355-276.639Amazon Linux1.0-0.amzn2
kernel-toolsAmazon Linux6.1.131-143.221.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa8e3e1a9f02094145580ea7920c6a1d9aabd5539, a8e3e1a9f02094145580ea7920c6a1d9aabd5539, a8e3e1a9f02094145580ea7920c6a1d9aabd5539
LinuxLinux4.9, 0, 5.4.291
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra0
amazon:2python-perf0
amazon:2perf0
amazon:2023python3-perf0
amazon:2kernel0
amazon:2023kernel-tools-devel0
amazon:2kernel-tools-devel0
amazon:2023bpftool0
amazon:2kernel-headers0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2kernel-livepatch-4.14.355-276.6390
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2kernel-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra-common0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›