CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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.

Classification

CVE ID: CVE-2025-21791

Affected Products

Vendor: Linux, Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 2.23% (scored less or equal to compared to others)

EPSS Date: 2025-03-27 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-21791
https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c
https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f
https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21
https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019
https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773

Timeline