Technical impact
The flaw lies in AppArmor’s DFA transition handling, where duplicated transitions from older matchers bypass the newer match_char() logic. On diff‑encoded states this causes a character to be dropped and the walk to continue from an incorrect parent state, so the transition does not resolve to any profile. As a result, an exec operation that should normally be allowed ends with an apparmor=DENIED and the profile transition not found. The vulnerability is a logic error that leads to unintended denial of execution, rather than allowing elevated privileges.
Affected Systems
Linux kernel versions prior to the inclusion of the fix that converts duplicated DFA transitions to match_char(). The exact affected releases are not listed, but the issue only manifests when the kernel advertises policy/diff‑encoding support. All standard distributions compiling a recent AppArmor module are potentially vulnerable until the patch is applied.
Risk and Exploitability
The CVSS score and EPSS score are not provided, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector appears local, requiring the execution of a binary governed by a reputable, diff‑encoded AppArmor profile. While the flaw does not grant privilege escalation, it can disrupt service by denying legitimate executions. The likelihood of exploitation is uncertain but non‑negligible because it depends on apps requiring the problematic profile transition. Keeping the system up‑to‑date or disabling diff‑encoding mitigates the risk.