Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93245 Overview
CVE-2026-93245 is a Linux kernel vulnerability in the AppArmor Linux Security Module (LSM). The flaw resides in the AppArmor policy initialization path in security/apparmor/lib.c and security/apparmor/policy.c. When profile creation fails before policy_init completes, the policy's list heads remain uninitialized. Subsequent cleanup through profile_free() triggers sanity-check warnings and dereferences poison pointer values such as dead000000000122. The issue was identified via syzkaller fuzzing against the AppArmor filesystem interface (apparmorfs). The kernel developers have resolved the issue across multiple stable branches.
Critical Impact
A local user with permission to load AppArmor profiles can trigger a kernel warning and potential denial of service by causing profile allocation to fail before list heads are initialized.
Affected Products
- Linux kernel versions containing the AppArmor policy initialization code prior to the fix
- Linux distributions shipping unpatched AppArmor-enabled kernels
- Systems exposing /sys/kernel/security/apparmor/.load to privileged userspace components
Discovery Timeline
- 2026-09-24 - CVE-2026-93245 published to the National Vulnerability Database (NVD)
- 2026-09-24 - Last updated in NVD database
Technical Details for CVE-2026-93245
Vulnerability Analysis
The vulnerability is a kernel-side initialization ordering flaw in the AppArmor LSM. During profile creation, aa_alloc_profile() invokes allocation routines that may fail prior to policy_init() fully initializing the policy structure. The error path then calls aa_free_profile(), which eventually reaches aa_policy_destroy() at security/apparmor/lib.c:509. That function performs a list_empty() sanity check on policy->profiles. Because the list head was never initialized, the prev pointer still holds the list-poison value dead000000000122, which triggers the WARN splat shown in the kernel log. This condition qualifies as uninitialized memory use leading to a denial of service through kernel warning and potential cleanup corruption.
Root Cause
The root cause is incorrect ordering between structure allocation and INIT_LIST_HEAD() calls on the embedded profile list heads. If any allocation on the error path for aa_alloc_profile() fails before policy_init() finishes, the destructor runs on a partially initialized object. The aa_policy_destroy() routine assumes initialized list heads and reads poison pointers instead, producing the WARN at security/apparmor/lib.c:509.
Attack Vector
An attacker requires local access and the privilege to write AppArmor profile data to apparmorfs (typically CAP_MAC_ADMIN). By submitting a crafted profile payload through profile_load that forces allocation failure during aa_unpack() or aa_replace_profiles(), the attacker drives execution into the vulnerable cleanup path. The result is a kernel warning, potential list corruption, and resource instability. The syzkaller reproducer invokes write(2) against the AppArmor load interface to trigger the condition.
No verified public exploit code is available. See the upstream commits referenced below for the technical fix details.
Detection Methods for CVE-2026-93245
Indicators of Compromise
- Kernel log entries containing AppArmor WARN aa_policy_destroy or the WARN at security/apparmor/lib.c:509
- Stack traces that include aa_free_profile, aa_alloc_profile, unpack_profile, and aa_replace_profiles
- Repeated failed writes to /sys/kernel/security/apparmor/.load from untrusted or fuzzing-like processes
Detection Strategies
- Monitor dmesg and /var/log/kern.log for the specific aa_policy_destroy WARN signature and poison pointer dead000000000122
- Audit processes invoking apparmor_parser or writing directly to apparmorfs interfaces outside normal provisioning windows
- Correlate kernel warnings with the invoking PID and user context to identify abuse of AppArmor profile loading
Monitoring Recommendations
- Forward kernel ring-buffer logs to a centralized logging platform and alert on AppArmor WARN patterns
- Track CAP_MAC_ADMIN capability usage across workloads to detect unexpected policy modification attempts
- Baseline legitimate AppArmor profile loads so anomalous write bursts against apparmorfs surface quickly
How to Mitigate CVE-2026-93245
Immediate Actions Required
- Apply the upstream Linux kernel patches linked below as soon as your distribution publishes updated kernel packages
- Restrict CAP_MAC_ADMIN to trusted administrative processes and container runtimes only
- Audit container and sandboxing tooling that programmatically loads AppArmor profiles to ensure only vetted payloads are accepted
Patch Information
The fix ensures AppArmor policy list heads are initialized before any failure path can invoke aa_policy_destroy(). The patch is distributed across the following upstream commits:
- Linux Kernel Commit 0664c75
- Linux Kernel Commit 3daad92
- Linux Kernel Commit 4a09a5e
- Linux Kernel Commit 5449f71
- Linux Kernel Commit 62f159f
- Linux Kernel Commit 88ba930
- Linux Kernel Commit dd52ab1
- Linux Kernel Commit ee017ef
Workarounds
- Limit which users and services can load AppArmor profiles by tightening sudoers rules and systemd unit permissions on apparmor_parser
- Disable AppArmor profile loading at runtime in environments that do not require dynamic policy updates
- Deploy seccomp or LSM-stacking policies that constrain writes to apparmorfs from unprivileged workloads
# Verify kernel version and confirm patched build is installed
uname -r
# Review recent AppArmor-related kernel warnings
dmesg | grep -i apparmor
# Restrict apparmor_parser execution to the root user only
chmod 750 /sbin/apparmor_parser
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

