CVE-2025-38466
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-25

Last updated on: 2025-11-03

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: perf: Revert to requiring CAP_SYS_ADMIN for uprobes Jann reports that uprobes can be used destructively when used in the middle of an instruction. The kernel only verifies there is a valid instruction at the requested offset, but due to variable instruction length cannot determine if this is an instruction as seen by the intended execution stream. Additionally, Mark Rutland notes that on architectures that mix data in the text segment (like arm64), a similar things can be done if the data word is 'mistaken' for an instruction. As such, require CAP_SYS_ADMIN for uprobes.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-25
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-07-25
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability involves the Linux kernel's uprobes feature, which allows users to trace or debug programs by inserting probes at specific instruction offsets. The issue arises because the kernel only verifies that there is a valid instruction at the requested offset, but due to variable instruction lengths, it cannot confirm if the probe is placed at the correct instruction boundary. This can be exploited destructively if a probe is placed in the middle of an instruction. Additionally, on architectures like arm64 that mix data and instructions in the same segment, data words can be mistaken for instructions, leading to similar risks. To mitigate this, the kernel now requires the CAP_SYS_ADMIN capability to use uprobes, restricting this functionality to privileged users.


How can this vulnerability impact me? :

If exploited, this vulnerability could allow an attacker with access to uprobes to cause destructive behavior by placing probes incorrectly within instructions or data, potentially leading to system instability or unintended execution behavior. Since uprobes can be used for debugging or tracing, misuse could disrupt normal system operations or compromise system integrity. The requirement of CAP_SYS_ADMIN limits this risk to privileged users, reducing the likelihood of exploitation by unprivileged users.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, ensure that only processes with the CAP_SYS_ADMIN capability can use uprobes. This can be done by applying the kernel update that reverts uprobes to require CAP_SYS_ADMIN, thereby restricting potentially destructive use of uprobes.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart