CVE-2025-21791Published Feb 27, 2025 · Feb 27Updated Oct 28
vrf: use RCU protection in l3mdev_l3_out()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a8e3e1a9f02094145580ea7920c6a1d9aabd5539 · < 022cac1c693add610ae76ede03adf4d9d5a2cf21| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's VRF function l3mdev_l3_out() can run without RCU protection, creating a potential use-after-free. The input does not establish how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with VRF support should check their versions; affected versions were not provided.