CVE-2025-38466: perf: Revert to requiring CAP_SYS_ADMIN for uprobes
In the Linux kernel, the following vulnerability has been resolved:
perf: Revert to requiring CAPSYSADMIN 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 CAPSYSADMIN for uprobes.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Compensating control
Require CAP_SYS_ADMIN for uprobes.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38466?
CVE-2025-38466 has been classified as a serious vulnerability affecting the Linux kernel.
How does CVE-2025-38466 affect Linux kernel security?
CVE-2025-38466 allows destructive use of uprobes, potentially compromising system integrity.
How do I fix CVE-2025-38466?
To fix CVE-2025-38466, ensure you update to the latest stable version of the Linux kernel that includes the security patch.
Who reported CVE-2025-38466?
CVE-2025-38466 was reported by a researcher named Jann.
What action is required regarding CAP_SYS_ADMIN for uprobes in CVE-2025-38466?
CVE-2025-38466 requires reverting to requiring CAP_SYS_ADMIN privileges for the use of uprobes in the Linux kernel.