perf: Revert to requiring CAP_SYS_ADMIN for uprobes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 183bdb89af1b5193b1d1d9316986053b15ca6fa4, Kernel 8e8bf7bc6aa6f583336c2fda280b6cea0aed5612, Kernel a0a8009083e569b5526c64f7d3f2a62baca95164 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.8, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <183bdb89af1b5193b1d1d9316986053b15ca6fa4, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <8e8bf7bc6aa6f583336c2fda280b6cea0aed5612, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <a0a8009083e569b5526c64f7d3f2a62baca95164, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <ba677dbe77af5ffe6204e0f3f547f3ba059c6302, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <c0aec35f861fa746ca45aa816161c74352e6ada8, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <d5074256b642cdeb46a70ce2f15193e766edca68, >=c9e0924e5c2b59365f9c0d43ff8722e79ecf4088 <d7ef1afd5b3f43f4924326164cee5397b66abd9c | 183bdb89af1b5193b1d1d9316986053b15ca6fa4, 8e8bf7bc6aa6f583336c2fda280b6cea0aed5612, a0a8009083e569b5526c64f7d3f2a62baca95164, ba677dbe77af5ffe6204e0f3f547f3ba059c6302, c0aec35f861fa746ca45aa816161c74352e6ada8, d5074256b642cdeb46a70ce2f15193e766edca68, d7ef1afd5b3f43f4924326164cee5397b66abd9c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket