Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain local unprivileged account on AppArmor-enforcing system
-
DeliveryEnter blocking syscall under active AppArmor profile
-
ExploitPrivileged admin disables or reloads profile, sets FLAG_STALE on label
-
InstallSyscall resumes, begin_current_label_crit_section() detects stale label in override_creds() context
-
C2aa_replace_current_label() double-drops reference, freeing struct cred
-
ExecuteSubsequent syscall dereferences freed cred
-
ImpactUAF kernel memory corruption or privilege escalation
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires all of the following: AppArmor compiled into the kernel and in enforcing mode (default on Ubuntu, Debian, openSUSE; not present by default on RHEL/Fedora using SELinux); the target process must be running under an active, enforcing AppArmor profile; a privileged user (root or CAP_MAC_ADMIN) must simultaneously update, reload, or disable that profile using aa-disable or apparmor_parser -r, creating a FLAG_STALE label; and the target process must be mid-execution in a syscall path that invokes an AppArmor LSM hook inside an override_creds() context where the overriding credentials are identical to the objective credentials. The most reliable trigger documented is splice() from a FUSE passthrough file into a full pipe. Remote exploitation is not possible; this is a local attack requiring an existing low-privileged account on the target system. Systems using SELinux, TOMOYO, or no MAC framework are entirely unaffected. |
| Impact | The vendor-assigned CVSS 7.8 (AV:L/AC:L/PR:L) overstates attack complexity: successfully triggering the UAF requires AppArmor to be compiled in and enforcing, the target process to be confined under an active profile, a privileged administrator to concurrently reload or disable that profile (creating FLAG_STALE), and the process to be inside a specific syscall path involving override_creds() with identical credential objects - a narrow and timing-sensitive intersection of conditions that justifies AC:H over AC:L. EPSS at 0.16% (5th percentile) with no KEV listing and no identified public exploit confirms there is no evidence of active weaponization. The theoretical impact is severe: a freed struct cred referenced through task_struct->real_cred yields full KASAN UAF, with potential for kernel memory corruption, privilege escalation, or system crash (C:H/I:H/A:H), but that severity is gated behind the conjunction of conditions above. Even a mid-sized municipal IT team in mielec running Ubuntu servers with enforcing AppArmor profiles would only be at risk during profile management operations such as aa-disable or apparmor_parser -r, a narrow operational window that substantially limits realistic exposure compared to the raw CVSS score. Distributions shipping AppArmor enabled by default (Ubuntu, Debian, openSUSE) represent the meaningful exposure surface; RHEL/Fedora systems using SELinux are unaffected. |
| Exploit ScenarioDerived | A local unprivileged process confined under an AppArmor profile enters a long-blocking syscall such as splice() reading from a FUSE passthrough file into a full pipe. Concurrently, a privileged administrator runs aa-disable on the profile, marking the associated label FLAG_STALE. When the syscall resumes and AppArmor's begin_current_label_crit_section() fires inside an override_creds() context where the overriding and objective credentials are the same object, aa_replace_current_label() drops two references to the original struct cred, freeing it, while task_struct->real_cred continues to point at the freed slab. The next syscall (e.g., getuid()) dereferences the freed cred, producing a KASAN UAF read or write that can be leveraged for kernel memory corruption. No public POC or exploit code has been identified; the developer provided a concrete reproduction scenario in the commit message. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
AppArmor's begin_current_label_crit_section() in the Linux kernel contains a use-after-free of struct cred that can be triggered on systems with active AppArmor profiles when those profiles are updated or disabled mid-syscall. The flaw arises from synchronous credential replacement inside LSM hooks: the override_creds() guard in aa_replace_current_label() fails to detect when overridden and objective credentials are the same object, causing two reference drops that free the struct cred while task_struct still holds a pointer to it. No public exploit or CISA KEV listing exists; EPSS is 0.16% at the 5th percentile, consistent with low immediate exploitation probability despite a theoretically high UAF impact.
RemediationAI
Update the Linux kernel to a patched stable release: 6.12.109, 6.18.50, 7.2.4, or apply the 7.3-rc1 mainline fix. Fix commits are available at git.kernel.org/stable/c/361488984d668235438faac28635f3632351407f (6.12.x), git.kernel.org/stable/c/587a6a92b93ec314c583bbf747413af170d42540 (6.18.x), git.kernel.org/stable/c/580f777d6d9fd07fc034bd1aeba5c30fd48871a2 (7.2.x), and git.kernel.org/stable/c/3f4ae5fab613dca01d6a2a8210dd832e009fcf47 (mainline). If immediate patching is not possible, two compensating controls apply: (1) Switch confined processes to AppArmor complain mode via aa-complain before performing profile updates, removing the stale-label trigger while retaining audit visibility at the cost of losing MAC enforcement; (2) Avoid live profile updates (aa-disable, apparmor_parser -r) on systems with long-running confined processes until patching is completed - this eliminates the trigger condition without touching AppArmor policy state. Note that the fix does not change security semantics, only the timing of credential replacement (deferred to task_work at syscall boundary).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the AppArmor Linux Security Module (LSM), specifically in begin_current_label_crit_section(), invoked from dozens of VFS and socket-related LSM hooks. When this function detects FLAG_STALE on the label attached to the current credentials, it calls aa_replace_current_label() to atomically swap both task_struct->cred and task_struct->real_cred to a new credential set. Two distinct bugs exist: first, kernel code that captures current_cred() before a security hook invocation and dereferences that pointer after hook completion may access already-freed memory (CWE-416); second, the guard current_cred() != current_real_cred() - borrowed from proc_pid_attr_write() - fails to detect override_creds() scenarios where the overriding credentials happen to be the same object as the objective credentials, leading to a double reference drop that drives the original cred refcount to zero and frees it while task_struct->real_cred still points to it. Affected CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* from the introduction of AppArmor label-staleness logic at commit c75afcd153f6 in Linux 2.6.36. The fix defers credential replacement via task_work to the end-of-syscall boundary, eliminating the mid-hook replacement window. CWE is listed as N/A in the input data but is unambiguously CWE-416 (Use After Free).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AC:H reflects the required conjunction of AppArmor enforcing, active profile, and concurrent profile-management timing; PR:L for unprivileged local process; C/I/A:H for UAF with privilege escalation potential.
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
apparmor: fix cred UAF caused by begin_current_label_crit_section()
AppArmor's begin_current_label_crit_section() is a scary function called from lots of LSM hooks (in particular VFS/socket-related ones) that checks if the label referenced by the current creds is marked FLAG_STALE, and if so, attempts to use aa_replace_current_label() to replace the creds with an updated version that uses a new label.
The first problem with this is that it would directly lead to UAF of struct cred if anything in the kernel takes a pointer to the current creds and accesses these past a security hook invocation that replaces creds, like so:
const struct cred *cred = current_cred();
alloc_file_pseudo(...);
uid_t uid = cred->euid;I don't know if anything in the kernel actually does this, but I think it is very surprising that this pattern could lead to UAF.
The second problem is that things go wrong when aa_replace_current_label() runs with overridden credentials. aa_replace_current_label() bails out if current_cred() != current_real_cred() (mirroring the check in proc_pid_attr_write()), but this check can't actually reliably detect overridden credentials because the overridden creds can be the same as the objective creds.
So in approximately the following scenario, things go wrong:
- task begins with <creds A> (as both objective and subjective creds),
with refcount=2
- task grabs an extra reference on <creds A> for overriding
- task calls override_creds(<creds A>), which returns a pointer to the old
subjective creds (<creds A>)
- task enters AppArmor LSM hook
- AppArmor checks that objective/subjective creds are equal
- AppArmor replaces both cred pointers with <creds B> and drops 2 refs on
<creds A>
- task leaves AppArmor LSM hook
- task calls revert_creds(<creds A>)
- now task->cred is <creds A> while task->real_cred is <creds B>, but the
task_struct logically holds two references to <creds B>
- another task drops the extra reference on <creds A> that was used for
overriding, refcount drops to 0
- now task->real_cred points to freed creds
At this point, any access to current_cred() will be UAF.
I have a test case where I run aa-disable on a profile while a process using that profile is blocked on splice() from a FUSE passthrough file into a full pipe; after the profile update, the pipe becomes empty, splice() resumes, the credentials go out of sync, and a subsequent getuid() syscall results in a KASAN UAF splat.
To fix this, instead of directly replacing creds, do it via task_work that will run at the end of the current syscall. (The point in time at which the cred replacement happens should have no correctness impact; it is just a performance optimization to avoid unnecessarily touching the refcount of the new label.)
Note that AppArmor still performs direct cred replacements in the sb_pivotroot LSM hook after this change, and that direct cred replacements can still happen in VFS ->write() callbacks via proc_pid_attr_write().
There are two options for what to do with aa_dup_task_ctx(): Either explicitly reset new->label_replacement_pending after the entire aa_task_ctx has been copied, or switch to manually copying members over. I am switching to manually copying members over because that should make bugs more obvious.
Executive ViewAI
The Linux kernel's AppArmor module contains a privilege escalation flaw affecting systems with active security profiles, creating a gap in application isolation and system confinement controls. While no active exploitation has been publicly reported, the vulnerability poses significant risk to organizations relying on AppArmor to enforce security policies across Linux infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Vendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.1 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.1 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Real Time 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.1 | Affected |
| SUSE Linux Micro Extras 6.1 | Affected |
| SUSE Real Time Module 15 SP7 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 11 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise Micro 5.0 | Affected |
| SUSE Linux Enterprise Micro 5.1 | Affected |
| SUSE Linux Enterprise Micro 5.2 | Affected |
| SUSE Linux Enterprise Micro 5.2 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Real Time 15 SP5 | Affected |
| SUSE Linux Enterprise Server 11 SP4 | Affected |
| SUSE Linux Enterprise Server 11 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE Real Time Module 15 SP4 | Affected |
| SUSE Real Time Module 15 SP5 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-76674
GHSA-p69h-p269-mrvc
NVD
CVE.org
EPSS
VulDB
Exploit-DB