CVE-2025-21791

vrf: use RCU protection in l3mdev_l3_out()

State
Published
Severity
7.8 High
Published
Feb 27, 2025
Updated
Oct 15, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51eAffected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 20a3489b396764cc9376e32a9172bee26a89dc3bAffected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 5bb4228c32261d06e4fbece37ec3828bcc005b6bAffected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before c7574740be8ce68a57d0aece24987b9be2114c3cAffected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before c40cb5c03e37552d6eff963187109e2c3f78ef6fAffected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 022cac1c693add610ae76ede03adf4d9d5a2cf21Affected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 7b81425b517accefd46bee854d94954f5c57e019Affected
  • a8e3e1a9f02094145580ea7920c6a1d9aabd5539 to before 6d0ce46a93135d96b7fa075a94a88fe0da8e8773Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.79 through 6.6.*Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.