What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.129, 6.12.16, 6.13.4, 6.6.79. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21791 or the next vulnerability affects your stack