CVE-2025-21791
Linux Kernel RCU Protection Vulnerability in VRF 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.
INFO
Published Date :
Feb. 27, 2025, 3:15 a.m.
Last Modified :
March 13, 2025, 9:53 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Apply RCU protection in l3mdev_l3_out function.
- Update the Linux kernel to include the fix.
- Test system stability after the kernel update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21791
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21791
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21791
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21791
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21791
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 13, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 from (excluding) 6.13.4 *cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.79 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9 from (excluding) 6.1.129 Added Reference Type kernel.org: https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b Added Reference https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b Added Reference https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 27, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 27, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21 Added Reference https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773 Added Reference https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019 Added Reference https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f Added Reference https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c