CVE-2025-38466
BaseFortify
Publication date: 2025-07-25
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| 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.