Skip to main content

Linux Kernel CVE-2026-89761

| EUVDEUVD-2026-76673 HIGH
2026-09-11 Linux GHSA-886p-2cc6-vc45
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Read loaded profile names from 0444 profiles file
  2. Delivery
    Craft label with >LOCAL_VEC_ENTRIES valid profile names joined by //&
  3. Exploit
    Write crafted label to 0666 securityfs .access
  4. Install
    vec_setup() allocates n slots without terminator room
  5. C2
    aa_vec_unique() writes NULL one slot past end
  6. Execute
    Corrupt adjacent kernel heap object
  7. Impact
    Escalate privileges to root

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to the system - no network vector exists. For the /proc/self/attr/apparmor/current and lsm_set_self_attr(2) paths, any unprivileged process (PR:L equivalent) can trigger the write as it operates on its own attributes, and the OOB write occurs before the change_profile permission check runs, so standard AppArmor confinement cannot block the trigger. For the /sys/kernel/security/apparmor/.access path (securityfs, mode 0666), the description explicitly states no permission check is performed, making this path accessible to any local user with no credentials whatsoever (PR:N). Both paths additionally require: (1) the kernel was compiled with AppArmor support (CONFIG_SECURITY_APPARMOR=y, default on Ubuntu/Debian); (2) at least one AppArmor profile is loaded and active; (3) every '//&'-separated component in the crafted label must resolve to the name of a currently loaded profile, requiring the attacker to enumerate loaded profile names (readable from /sys/kernel/security/apparmor/profiles at mode 0444). Reliable exploitation beyond the OOB write trigger (i.e., achieving stable privilege escalation) requires knowledge of kernel heap layout to predictably corrupt a useful target in adjacent memory.

Impact

The NVD-assigned CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is slightly conservative on the privilege axis: the securityfs .access file (mode 0666) performs no permission check at all, making PR:N the more accurate metric for that attack path, which pushes the effective floor toward 8.4. EPSS at 0.16% (5th percentile) and the absence of a CISA KEV entry both indicate no observed in-the-wild exploitation. However, exploitation preconditions are permissive: AppArmor is enabled with policy loaded by default on Ubuntu and Debian - two of the most widely deployed Linux distributions - and the write is deterministic (no race, no heap spray required to trigger the OOB write itself). The parse executes before the change_profile permission check, so AppArmor policy cannot block the trigger. Reliable privilege escalation from an off-by-one past a stack or heap buffer depends on what occupies adjacent memory, which introduces implementation-specific AC complexity not captured in AC:L. Overall: a genuine local privilege escalation candidate on Ubuntu/Debian servers and workstations that warrants prompt patching despite low EPSS.

Exploit ScenarioDerived

A local unprivileged user identifies loaded AppArmor profile names (readable via /sys/kernel/security/apparmor/profiles, which is mode 0444) and constructs a label string with more than LOCAL_VEC_ENTRIES distinct valid profile names joined by '//&' separators, then writes it to /sys/kernel/security/apparmor/.access (mode 0666, no permission check). The kernel allocates a kzalloc'd vector of exactly len pointers and writes a NULL terminator one slot past the end, corrupting the subsequent slab object; with knowledge of the kernel's heap layout an attacker could overwrite a function pointer or security structure to escalate to root. No public exploit code exists at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 13, 2026

Out-of-bounds write in the Linux kernel AppArmor LSM label parser allows any local user on an AppArmor-loaded system to corrupt kernel heap or stack memory by writing a crafted multi-component label string to /proc/self/attr/apparmor/current or to the world-writable (mode 0666) securityfs .access file, the latter path applying no privilege check whatsoever. The bug is a deterministic off-by-one: aa_vec_unique() writes a NULL terminator at vec[n] when no duplicates are found, but vec_setup() and DEFINE_VEC() allocate only n slots, so the write lands one entry past the end of either the local stack array or the kzalloc'd buffer. No public exploit has been identified at time of analysis; vendor-released patches are available in stable branches 6.12.109, 6.18.50, 7.2.4, and 7.3-rc1.

RemediationAI

The primary fix is to upgrade to a patched kernel: 6.12.109, 6.18.50, 7.2.4, or 7.3-rc1 (and any subsequent stable releases). Distribution-specific packages are the fastest path for Ubuntu (linux-image updates via apt) and Debian. The upstream fix commits are available at https://git.kernel.org/stable/c/9124e078ea2250d8d01d2162a550acb01ef5bf48 (mainline), https://git.kernel.org/stable/c/28069434aef66b9d084f0609b7a29c171846815e (6.18.x), https://git.kernel.org/stable/c/36bdd0b45ec3f4822832a56e9db8674c8450dfce (7.2.x), and https://git.kernel.org/stable/c/9f1e40193eef7f047e6b77cfb4b4cafdecd7a123 (6.12.x). On unpatched systems, restricting the securityfs .access file from mode 0666 to mode 0600 (chmod 0600 /sys/kernel/security/apparmor/.access) eliminates the no-privilege-check attack path, but the /proc/self/attr/apparmor/current and lsm_set_self_attr(2) paths remain accessible to all unprivileged processes writing to their own attributes and cannot be restricted without breaking legitimate AppArmor tooling. Disabling AppArmor entirely removes the attack surface but also removes all mandatory access control enforcement - accept this only as a last resort.

Affected VersionsENISA

Linux patch: 7.3-rc1
Linux f1bd904175e8190ce14aedee37e207ab51fe3b30 <9f1e40193eef7f047e6b77cfb4b4cafdecd7a123
Linux patch: 6.18.50
Linux patch: 0
Linux patch: 6.12.109
Linux f1bd904175e8190ce14aedee37e207ab51fe3b30 <28069434aef66b9d084f0609b7a29c171846815e
Linux f1bd904175e8190ce14aedee37e207ab51fe3b30 <36bdd0b45ec3f4822832a56e9db8674c8450dfce
Linux 4.13
Linux patch: 7.2.4
Linux f1bd904175e8190ce14aedee37e207ab51fe3b30 <9124e078ea2250d8d01d2162a550acb01ef5bf48

Affected Packages

euvd linux no fix

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 is in the AppArmor LSM label-parsing subsystem (security/apparmor/label.c). aa_label_strn_parse() calls vec_setup() to allocate a vector of exactly len pointers - using the local stack array (DEFINE_VEC, LOCAL_VEC_ENTRIES slots) for small counts and kzalloc for larger ones - and then passes that vector to aa_vec_unique() with VEC_FLAG_TERMINATE. When VEC_FLAG_TERMINATE is set, aa_vec_unique() writes a NULL terminator at vec[n - dups] after deduplication; when all components are distinct dups equals zero and the write targets vec[n], one slot past the end of the allocated region (CWE-787, Out-of-bounds Write). The len value is derived from label_count_strn_entries(), which counts '//&'-separated components in the label name without an upper bound. Introduced circa Linux 4.13 (commit f1bd904175e8190ce14aedee37e207ab51fe3b30), the fix reserves an additional slot in both vec_setup() and DEFINE_VEC() to match the allocation assumptions of the two other VEC_FLAG_TERMINATE callers that already account for a '+1 null terminator entry'. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.4 HIGH

The 0666 securityfs path with no permission check justifies PR:N; AV:L stands because local filesystem access is still required.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 6.5 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 13, 2026 - 07:22 NVD
7.8 (HIGH)
Patch available
Sep 11, 2026 - 21:18 EUVD
CVE Published
Sep 11, 2026 - 19:47 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 11, 2026 - 19:47 cve.org
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix out-of-bounds write when null terminating a label vec

aa_vec_unique() null terminates at vec[n - dups] when VEC_FLAG_TERMINATE is passed. If the components are all distinct no duplicates are dropped, dups is 0 and the terminator goes to vec[n], so the caller has to provide room for n + 1 entries.

aa_label_strn_parse() sets up its vector with vec_setup(profile, vec, len, gfp) and then calls aa_vec_unique(vec, len, VEC_FLAG_TERMINATE), but vec_setup() does not reserve the terminator entry. Up to LOCAL_VEC_ENTRIES it uses the local array of LOCAL_VEC_ENTRIES pointers, above that it allocates exactly len pointers. The terminator therefore lands one entry past the end of the local array when len is LOCAL_VEC_ENTRIES, and one entry past the end of the allocation when len is larger.

len comes from the number of "//&" separated components in the label name and label_count_strn_entries() does not bound it. An unprivileged task reaches the parse by writing to /proc/self/attr/apparmor/current or through lsm_set_self_attr(2), both of which go through do_setattr(), and the name is parsed before the change_profile permission is checked. The query_label() path behind the securityfs .access file, which is mode 0666, performs no permission check at all. Every component has to resolve to a loaded profile, so a system with policy loaded is required.

The other two VEC_FLAG_TERMINATE users work on a label vec that aa_label_alloc() has already sized with "+ 1 for null terminator entry on vec". Reserve the same entry in vec_setup() and DEFINE_VEC(). Passing len + 1 from the caller instead would move len == LOCAL_VEC_ENTRIES out of the local array and into kzalloc().

Executive ViewAI

Why It Matters

Linux kernel AppArmor implementations are vulnerable to a local privilege escalation through an out-of-bounds memory write that allows any unprivileged user to corrupt kernel heap or stack memory. Affected systems must patch immediately to prevent potential unauthorized code execution; organizations running AppArmor-enabled kernels should prioritize this update across all Linux infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
default LSM on Ubuntu and Debian, major enterprise Linux deployments
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy