Local MAC bypass via ptrace transition race
Published Jul 19, 2026 · Updated Jul 19, 2026
Race condition in the Linux Kernel LSM interface allows local users to bypass SELinux or AppArmor controls via lsm_set_self_attr(). The syscall invokes the LSM transition hook without holding cred_guard_mutex, allowing concurrent ptrace attachment or detachment to race the authorization check. An unprivileged same-UID user can coordinate both operations to commit an unauthorized security context and gain access denied to the prior confined context.
Summary
What happened
Race condition in the Linux Kernel LSM interface allows local users to bypass SELinux or AppArmor controls via lsm_set_self_attr(). The syscall invokes the LSM transition hook without holding cred_guard_mutex, allowing concurrent ptrace attachment or detachment to race the authorization check. An unprivileged same-UID user can coordinate both operations to commit an unauthorized security context and gain access denied to the prior confined context.
The record
- CVE
- CVE-2026-64111
- Published
- Jul 19, 2026
- Updated
- Jul 19, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-412, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 19, 2026CVE publishedPublication date reported by the CVE source.
- Jul 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <6.12.92
- Affected versionversion=0 <6.18.34
- Affected versionversion=0 <7.0.11
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4a9b16541ad3faf8bccb398532bf3f8b6bbf1188
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5b906f31e977286888a9e31282589b545b249139
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <82d3acee88593e3d9e71cad4b7d6b3cf70de9d07
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a010cadaf5727b8417f62fe9021fcef14a5f9b51
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo