CVE-2025-38466
JSON

7.8high

perf: Revert to requiring CAP_SYS_ADMIN for uprobes

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before d7ef1afd5b3f43f4924326164cee5397b66abd9c, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before c0aec35f861fa746ca45aa816161c74352e6ada8, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before 8e8bf7bc6aa6f583336c2fda280b6cea0aed5612, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before 183bdb89af1b5193b1d1d9316986053b15ca6fa4, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before a0a8009083e569b5526c64f7d3f2a62baca95164, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before d5074256b642cdeb46a70ce2f15193e766edca68, from c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 before ba677dbe77af5ffe6204e0f3f547f3ba059c6302, 5.8
Not affected: before 5.8, from 5.10.240 up to 5.10.*, from 5.15.189 up to 5.15.*, from 6.1.146 up to 6.1.*, from 6.6.99 up to 6.6.*, from 6.12.39 up to 6.12.*
CVE List
linux linux_kernelfrom 5.8 before 5.10.240, from 5.11 before 5.15.189, from 5.16 before 6.1.146, from 6.2 before 6.6.99, from 6.7 before 6.12.39, from 6.13 before 6.15.7, 6.16NVD
debian debian_linux11.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: perf: Revertir al requisito de CAP_SYS_ADMIN para uprobes. Jann informa que los uprobes pueden usarse de forma destructiva cuando se usan en medio de una instrucción. El kernel solo verifica que haya una instrucción válida en el desplazamiento solicitado, pero debido a la longitud variable de la instrucción, no puede determinar si se trata de una instrucción como la detecta el flujo de ejecución previsto. Además, Mark Rutland señala que en arquitecturas que mezclan datos en el segmento de texto (como arm64), se puede realizar una acción similar si la palabra de datos se confunde con una instrucción. Por lo tanto, se requiere CAP_SYS_ADMIN para uprobes.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38466 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-38466 changed 2026-10-15Public domain