CVE-2025-38466

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38466
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38466.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38466
Downstream
Related
Published
2025-07-25T15:27:48.235Z
Modified
2025-11-28T02:35:25.594691Z
Summary
perf: Revert to requiring CAP_SYS_ADMIN for uprobes
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38466.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c9e0924e5c2b59365f9c0d43ff8722e79ecf4088
Fixed
d7ef1afd5b3f43f4924326164cee5397b66abd9c
Fixed
c0aec35f861fa746ca45aa816161c74352e6ada8
Fixed
8e8bf7bc6aa6f583336c2fda280b6cea0aed5612
Fixed
183bdb89af1b5193b1d1d9316986053b15ca6fa4
Fixed
a0a8009083e569b5526c64f7d3f2a62baca95164
Fixed
d5074256b642cdeb46a70ce2f15193e766edca68
Fixed
ba677dbe77af5ffe6204e0f3f547f3ba059c6302

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.10.240
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.189
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.146
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.99
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.39
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.7