HarborGuard / CVE
Back to search
HIGHCVE-2026-47331Published Modified CNA canonical

CVE-2026-47331: Use-after-free in Ubuntu Linux AppArmor notification handling

Ubuntu Linux 6.8 contains AppArmor SAUCE patches which fail to acquire a lock when modifying a linked list. An unprivileged local user could trigger the race condition that can lead to a use-after-free (UAF) and, theoretically, arbitrary code execution.

HarborGuard Analysis

HarborGuard analysis

Synopsis

A use-after-free vulnerability exists in the AppArmor notification handling code in Ubuntu Linux 6.8, introduced via Canonical SAUCE patches that fail to acquire a lock before modifying a linked list. The flaw is reachable locally by any unprivileged user without network access or elevated privileges, exploiting the resulting race condition. Successful exploitation gives an attacker full read, write, and execution control over the affected system, up to and including arbitrary code execution. A patched-image rebuild at version 6.8.0-124.124 is available on HarborGuard for environments running an affected version.

HarborGuard Coverage

Detection

Detection of CVE-2026-47331 is available across every HarborGuard environment: the CVE is ingested from upstream feeds, including Canonical's advisory, within minutes of publication and matched against all customer images, including custom-built images that incorporate affected Ubuntu 6.8 base layers. Any image carrying a kernel package older than 6.8.0-124.124 is flagged automatically.

Available
Triage

HarborGuard scores this CVE at CVSS 7.8 HIGH and weights it against each environment's compliance policy to determine urgency and routing. Findings are delivered to the appropriate team inbox within each customer organization based on image ownership and policy configuration.

Available
Patch

A patched-image rebuild at Ubuntu kernel version 6.8.0-124.124 becomes available on HarborGuard as soon as the upstream fix is confirmed in the advisory feed. For customers who opt into auto-remediation, HarborGuard performs the rebuild, runs a regression test suite, and opens a pull request against affected workloads automatically.

Available

Exploit Conditions

  • Network reachabilityNot required

    The attacker needs an existing shell or process on the host; no network access to the target is required.

  • AuthenticationRequired

    Any low-privilege local user account is sufficient to trigger the race condition; no elevated or administrative credentials are needed.

  • Victim interactionNot required

    No user interaction is needed; the attacker can trigger the vulnerable code path entirely on their own.

  • Attack complexityDetail

    Although the underlying bug is a race condition, the CVSS vector rates attack complexity as low, meaning the exploit is considered reliable and does not depend on specific memory layouts or uncommon environmental conditions.

Blast Radius

  • A successful attacker reads arbitrary kernel memory, including stored credentials, session tokens, and secrets held in other processes.
  • The attacker writes to arbitrary kernel memory, allowing modification of security policies, process credentials, or persisted data.
  • The attacker achieves arbitrary code execution at the kernel level, giving full control over the host and any workloads running on it.
  • All confidentiality, integrity, and availability guarantees for the affected host are lost once the vulnerability is exploited.

How HarborGuard Handles This

Available on HarborGuard: images containing Ubuntu Linux kernel packages in the range 6.8.0 up to (but not including) 6.8.0-124.124 are flagged as soon as the CVE enters HarborGuard's feed. For customers who opt into auto-remediation, HarborGuard queues a patched-image rebuild at 6.8.0-124.124, executes a regression run against the rebuilt image, and opens a pull request against affected workloads; median time from CVE publication to merged patch PR for high-severity issues is around 90 minutes for environments with auto-remediation enabled. Where compliance policy does not permit auto-remediation, the finding is routed to the designated team inbox with full CVSS context and a direct reference to the Canonical advisory so engineers can act manually. Given the kernel-level impact of this vulnerability, prioritizing this fix in any environment running affected Ubuntu 6.8 images is strongly warranted.

See how HarborGuard automates this

Metrics

CVSS v3.1
7.8
Severity
HIGH
Fixed in
6.8.0-124.124
Affected Products
1

Fix available

6.8.0-124.124
Patch commits
Affected packages
  • Canonical / Ubuntu Linux
    < 6.8.0-124.124 (from 6.8.0)
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H