CVE-2025-21791

HighCVSS 7.8/10Last modified Oct 15, 2026

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.

Metrics

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

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 20a3489b396764cc9376e32a9172bee26a89dc3b; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 5bb4228c32261d06e4fbece37ec3828bcc005b6b; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < c7574740be8ce68a57d0aece24987b9be2114c3c; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < c40cb5c03e37552d6eff963187109e2c3f78ef6f; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 022cac1c693add610ae76ede03adf4d9d5a2cf21; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 7b81425b517accefd46bee854d94954f5c57e019; >= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, < 6d0ce46a93135d96b7fa075a94a88fe0da8e8773
LinuxLinux4.9
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem< *

References

Timeline

Published
Feb 27, 2025
Last modified
Oct 15, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-217925.5In the Linux kernel, the following vulnerability has been resolved: ax25: Fix refcount leak caused by setting SO_BINDTODEVICE sockopt If aCVE-2025-217935.5In the Linux kernel, the following vulnerability has been resolved: spi: sn-f-ospi: Fix division by zero When there is no dummy cycle in tCVE-2025-217947.1In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_enCVE-2025-217955.5In the Linux kernel, the following vulnerability has been resolved: NFSD: fix hang in nfsd4_shutdown_callback If nfs4_client is in courtesCVE-2025-217969.8In the Linux kernel, the following vulnerability has been resolved: nfsd: clear acl_access/acl_default after releasing them If getting aclCVE-2025-217977.8In the Linux kernel, the following vulnerability has been resolved: HID: corsair-void: Add missing delayed work cancel for headset status CVE-2025-217985.5In the Linux kernel, the following vulnerability has been resolved: firewire: test: Fix potential null dereference in firewire kunit test CVE-2025-217995.5In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_CVE-2025-21804.8An unsafe deserialization vulnerability in Palo Alto Networks Checkov by Prisma® Cloud allows an authenticated user to execute arbitrary codCVE-2025-218007.8In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset When CVE-2025-218015.5In the Linux kernel, the following vulnerability has been resolved: net: ravb: Fix missing rtnl lock in suspend/resume path Fix the suspenCVE-2025-218025.5In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix oops when unload drivers paralleling When unload hclge
CVE-2025-21791: High severity, CVSS 7.8 | Vulnix