perf: Revert to requiring CAP_SYS_ADMIN for uprobes
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.240, 5.15.189, 6.1.146, 6.6.99, 6.12.39, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in d7ef1afd5b3f43f4924326164cee5397b66abd9c; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in c0aec35f861fa746ca45aa816161c74352e6ada8; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in 8e8bf7bc6aa6f583336c2fda280b6cea0aed5612; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in 183bdb89af1b5193b1d1d9316986053b15ca6fa4; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in a0a8009083e569b5526c64f7d3f2a62baca95164; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in d5074256b642cdeb46a70ce2f15193e766edca68; From c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 · fixed in ba677dbe77af5ffe6204e0f3f547f3ba059c6302
- Linux Linux
5.8
- KernelLinux
From 5.8.0 · fixed in 5.10.240; From 5.11.0 · fixed in 5.15.189; From 5.16.0 · fixed in 6.1.146; From 6.2.0 · fixed in 6.6.99; From 6.7.0 · fixed in 6.12.39; From 6.13.0 · fixed in 6.15.7
References 7
git.kernel.org
- stable/c/d7ef1afd5b3f43f4924326164cee5397b66abd9c
- stable/c/c0aec35f861fa746ca45aa816161c74352e6ada8
- stable/c/8e8bf7bc6aa6f583336c2fda280b6cea0aed5612
- stable/c/183bdb89af1b5193b1d1d9316986053b15ca6fa4
- stable/c/a0a8009083e569b5526c64f7d3f2a62baca95164
- stable/c/d5074256b642cdeb46a70ce2f15193e766edca68
- stable/c/ba677dbe77af5ffe6204e0f3f547f3ba059c6302