CVE-2026-23268
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23268 is a privilege escalation vulnerability in the Linux kernel's AppArmor security module, specifically in the policy management interface (apparmorfs). An unprivileged local user can load, replace, or remove AppArmor security profiles by exploiting a confused deputy attack — opening the apparmorfs file descriptor and passing it to a privileged process that is then manipulated into writing to the interface on the attacker's behalf. Affected kernel versions span from 4.11 through multiple stable branches, with fixes backported to 5.10.253, 5.15.203, 6.1.169, 6.6.130, 6.12.77, 6.18.18, 6.19.8, and 7.0-rc4. The vulnerability was published on March 18, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Bugzilla, Feedly).

Technical details

The root cause is an improper privilege check (CWE-269: Improper Privilege Management) in the Linux kernel's AppArmor policy management interface. The apparmorfs interface was world-writable (0666) to allow non-root processes to load policy into different namespaces, but the kernel failed to verify that the task writing to the interface held privileges that were a subset of the task that opened the interface. This allowed an unprivileged user to open the interface file descriptor and pass it to a privileged (unconfined) process — a classic confused deputy attack — causing the privileged process to perform policy writes on the attacker's behalf, bypassing the usual policy check that is only enforced for confined processes (Red Hat Bugzilla, Feedly). The fix ensures that the writing task's privileges are always a subset of the opening task's privileges (Kernel Patches).

Impact

Successful exploitation grants an unprivileged local user full AppArmor policy management capabilities, with high impact to confidentiality, integrity, and availability. An attacker can remove security confinement from applications (eliminating sandboxing protections), deny all execution permissions to cause system-wide denial of service, bypass unprivileged user namespace restrictions, and create conditions to exploit other kernel bugs for full local privilege escalation to root. The scope is limited to the local system, but the ability to strip AppArmor profiles from any application significantly expands the attack surface for further exploitation (Feedly, Qualys Blog).

Exploitation steps

  1. Gain local access: Obtain a low-privileged shell on a Linux system running a vulnerable kernel version (4.11 through pre-patch versions) with AppArmor enabled.
  2. Open the apparmorfs interface: As the unprivileged user, open a file descriptor to the AppArmor policy management interface (e.g., /sys/kernel/security/apparmor/.load, .replace, or .remove) before any privilege check is enforced on the opener.
  3. Identify a privileged target process: Locate an unconfined privileged process (running as root or with CAP_MAC_ADMIN) that can be manipulated to perform file write operations — for example, via a TOCTOU race, IPC mechanism, or a service that accepts file descriptors.
  4. Pass the file descriptor: Use a mechanism such as SCM_RIGHTS over a Unix domain socket or another IPC channel to pass the opened apparmorfs file descriptor to the privileged process.
  5. Trigger the write: Manipulate the privileged process into writing an attacker-controlled AppArmor policy payload to the passed file descriptor, bypassing the kernel's privilege check (which only validates the opener, not the writer).
  6. Achieve policy manipulation: The kernel accepts the write as if it came from a privileged source, loading, replacing, or removing AppArmor profiles — enabling removal of confinement, denial of service, or preparation for further kernel exploitation (Red Hat Bugzilla, Qualys Blog).

Indicators of compromise

  • Logs: Unexpected AppArmor policy load/replace/remove events in /var/log/kern.log or journalctl -k originating from non-root processes or unusual process contexts; audit log entries (/var/log/audit/audit.log) showing AVC or SYSCALL records for apparmorfs writes by low-privileged UIDs.
  • File System: Unexpected modifications to AppArmor profile files under /etc/apparmor.d/ or /var/lib/apparmor/; new or altered profiles that remove confinement from sensitive applications.
  • Process Behavior: Unusual inter-process communication (Unix socket activity with SCM_RIGHTS file descriptor passing) between low-privileged processes and root-owned daemons; privileged processes unexpectedly writing to /sys/kernel/security/apparmor/ interfaces.
  • Network: Outbound connections from previously confined applications that should have been blocked by AppArmor policy, suggesting profile removal or modification.

Mitigation and workarounds

Apply kernel security updates containing the fix, which ensures the writing task's privileges are a subset of the opening task's privileges. Fixed versions are available in the following stable kernel branches: 5.10.253, 5.15.203, 6.1.169, 6.6.130, 6.12.77, 6.18.18, 6.19.8, and 7.0-rc4 (Feedly). Distribution-specific updates have been released by Ubuntu (USN-8141-1, USN-8152-1, USN-8163-1, USN-8201-1, USN-8224-1, USN-8243-1, USN-8266-1, USN-8267-1, LSN-0119-1), SUSE (multiple advisories), and openSUSE. As a temporary workaround where patching is not immediately possible, restrict local user access to systems running AppArmor and audit privileged processes for susceptibility to file descriptor passing attacks. Monitor AppArmor policy changes via the audit subsystem (Canonical Blog).

Community reactions

Canonical published a dedicated blog post titled "AppArmor vulnerability fixes available" shortly after disclosure, highlighting the severity and providing remediation guidance for Ubuntu users (Canonical Blog). Qualys Threat Research published a detailed write-up titled "CrackArmor: Critical AppArmor Flaws Enable Local Privilege Escalation to Root," which drew significant community attention and framed the vulnerability alongside related AppArmor issues (Qualys Blog). A community researcher published a Medium article reproducing the confused deputy attack in a lab environment, indicating active interest from the security research community (Medium). The oss-security mailing list saw multiple threads discussing the vulnerability and related AppArmor issues (oss-sec).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management