Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHold CAP_MAC_ADMIN on 32-bit kernel
-
ExploitLoad crafted AppArmor policy blob
-
ExecutionOverflow table_size() size_t computation
-
ImpactOverrun 16-byte allocation, crash machine
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires ALL of: (1) a 32-bit Linux kernel build - 64-bit kernels cannot overflow because these structs are 32-bit and are explicitly unaffected; (2) the attacker holding CAP_MAC_ADMIN; and (3) loading a crafted AppArmor policy blob with a malicious td_lolen (u32) value that makes len * el_size plus the header overflow size_t. Limiting factors are strong: the CAP_MAC_ADMIN requirement means only a MAC-administration-privileged context can trigger it, the 32-bit-only constraint excludes most modern deployments, and the author states the result is an uncontrolled crash with no controllable primitive rather than a usable corruption path. |
| Impact | Severity signals conflict sharply with real-world risk here. NVD assigns CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H), but the kernel author's own commit message explicitly states this is NOT a security issue: it requires CAP_MAC_ADMIN, only affects 32-bit kernels, and the overflowing copy 'runs until the machine is destroyed' with 'no controllable primitive' - i.e. an uncontrolled crash, not a usable C:H/I:H exploitation path. The CVSS vector also understates the privilege barrier: it lists PR:L, yet the description requires CAP_MAC_ADMIN, an administrative capability that argues for PR:H. EPSS is low (0.33%, 28th percentile), there is no CISA KEV listing, and no public exploit is identified at time of analysis, consistent with the author's assessment. The vuln.today decision label is 'this_week', not act_now or emergency. Net: this is a high-CVSS-but-low-real-risk issue - a robustness/correctness fix for a 32-bit-only, admin-gated, non-controllable overflow, not an urgent priority for most environments. Verify the PR:L versus required CAP_MAC_ADMIN discrepancy against the vector before trusting the 7.8 score. |
| Exploit ScenarioDerived | A local actor who already holds CAP_MAC_ADMIN on a 32-bit Linux kernel loads a crafted AppArmor policy blob whose td_lolen field forces the table_size() computation (ALIGN(sizeof(struct table_header) + len * el_size, 8)) to overflow size_t, overflowing a 16-byte allocation with up to 4GiB of policy data and/or placing the header at ZERO_SIZE_PTR. The copy then runs until the machine crashes. No public exploit code is identified, and per the author the bug yields no controllable primitive, so the outcome is a crash rather than code execution. Attack vector is local (AV:L) with low complexity (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Integer overflow in the AppArmor policy-table parser (table_size()) in 32-bit Linux kernel builds can be driven by a caller holding CAP_MAC_ADMIN to overflow a small kernel allocation with up to 4 GiB of attacker-supplied policy data, or to place a table header at ZERO_SIZE_PTR via kvzalloc(0). The result is kernel memory corruption and exhaustion that runs until the machine is destroyed - an uncontrolled crash rather than a controllable exploitation primitive, which is why the upstream author classifies it as not a security issue. Only 32-bit kernels are affected (the underlying structures are 32-bit and 64-bit size_t cannot overflow); NVD scores it 7.8, while the independent assessment rates it availability-only (AV:L/AC:L/PR:H/UI:N/C:N/I:N/A:H) because of the CAP_MAC_ADMIN prerequisite and the absence of a usable corruption path. EPSS is low at 0.33% (28th percentile); no public exploit has been identified and it is not in CISA KEV. Fixed versions are listed in the vendor stable commits (6.12.119, 6.18.65, 7.3.6, 7.4-rc1).
RemediationAI
Apply the vendor fix by updating to a kernel release carrying the corrected checked-arithmetic version of table_size(): Linux 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, or cherry-pick the corresponding stable commits listed in the references. Because the overflow only exists on 32-bit kernels, migrating affected 32-bit systems to a 64-bit kernel build removes the exposure entirely, at the cost of validating userland, out-of-tree modules and driver support for the 64-bit configuration. Where updating is delayed, restrict CAP_MAC_ADMIN to the smallest possible set of privileged contexts (AppArmor policy loaders and MAC administration tooling) so that unprivileged local users cannot reach the policy-loading path; note that this does not remove the flaw, only removes reachability from unprivileged accounts, and it depends on the existing capability bounding sets being correctly maintained. Loading of AppArmor policy blobs must remain available to the legitimate policy loader, so disabling policy loading altogether breaks AppArmor profile deployment and is only viable on hosts that do not use AppArmor confinement. Per the upstream author, exploitation yields an uncontrolled crash rather than a controllable primitive, so the practical exposure to weigh is denial of service on 32-bit kernels by an already highly privileged local caller.
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
AppArmor policy is loaded from a user-supplied binary blob whose table directory carries td_lolen, a u32 length field. table_size() computes ALIGN(sizeof(struct table_header) + len * el_size, 8) using size_t arithmetic; on 32-bit kernels both the len * el_size multiplication and the ALIGN addition can wrap, so the computed size no longer represents the data the caller will copy. Two consequences follow: a nominal 16-byte allocation can be overflowed with up to 4 GiB of policy data, and a size that wraps to zero makes kvzalloc(0) return ZERO_SIZE_PTR, so the table header is stored at that sentinel address. The fix computes the size with checked arithmetic helpers and returns 0 when the result is not representable, letting callers reject the table; a valid table is never zero bytes because the header alone is 12 bytes. The trigger requires a crafted td_lolen value in the policy blob, which is why the CAP_MAC_ADMIN capability is a hard prerequisite. 64-bit kernels are explicitly unaffected because the involved structs are 32-bit and size_t is wide enough to hold the result. No CWE identifier was supplied in the input data; the root-cause class is an unchecked integer overflow in size computation. The upstream commit message states the copy proceeds until the machine is destroyed and yields no controllable primitive.
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
Triggered locally by loading a policy, so AV:L/AC:L; CAP_MAC_ADMIN is administrative so PR:H; impact per author is an uncontrolled crash, so C:N/I:N/A:H.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
apparmor: fix table_size() integer overflow on 32 bit
table_size() checks ALIGN(sizeof(struct table_header) + len * el_size, 8) in size_t, where @len is td_lolen, a u32 user-provided value from the policy blob. On 32 bit kernels both operations can overflow.
Triggering this bug allows to:
- overflow a 16 byte allocation with up to 4GiB of policy data
- store the table header at address ZERO_SIZE_PTR (kvzalloc(0))
However, this bug requires CAP_MAC_ADMIN, only affects 32 bit kernels, and the copy runs until the machine is destroyed, so it gives no controllable primitive and is therefore not a security issue.
Compute the size with the checked helpers and return 0 when the result is not representable, so the callers can reject the table. A valid table is never 0 bytes, the header alone is 12.
64 bit kernels cannot overflow (these structs are 32 bit), and are hence not affected.
Executive ViewAI
A high-severity flaw in 32-bit Linux kernel AppArmor policy parsing can be triggered by a local administrator with CAP_MAC_ADMIN privileges, causing kernel memory exhaustion and an uncontrolled crash that can take the machine down. Only 32-bit kernel deployments are exposed; 64-bit systems are not affected. Because triggering requires high local privileges and yields only a denial-of-service condition (no data confidentiality or integrity impact), leadership should treat this as an availability risk confined to a narrow slice of the fleet, though the fix is straightforward to deploy.
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
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-138661
GHSA-q56v-56hx-4v77
NVD
CVE.org
EPSS
Exploit-DB