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

apparmor: fix potential UAF in aa_replace_profiles

The function aa_replace_profiles was accessing udata->size after calling
aa_put_loaddata(udata), causing a potential UAF.

Fixed this by saving the size to a local variable before dropping the
reference.
Published: 2026-08-28
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free in Kernel
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel AppArmor subsystem contains a flaw where the function aa_replace_profiles accesses the field udata->size after releasing the reference via aa_put_loaddata, creating a use‑after‑free condition. This bug could lead to unpredictable kernel memory corruption or other unstable behavior if it is triggered. The vulnerability was resolved by storing the size value locally before dropping the reference.

Affected Systems

Linux kernel versions that include the buggy implementation of aa_replace_profiles are affected. All distributions running a kernel build prior to the patch that saves the size before discarding the reference are vulnerable. No vendor‑specific version list is provided, but the flaw applies to the AppArmor component across supporting releases that have not yet incorporated the fix.

Risk and Exploitability

The CVSS score is 7.8, and the EPSS score is < 1%. The CISA KEV catalog lists no entry for this vulnerability. The presence of a use‑after‑free in kernel space indicates high potential severity for anyone able to trigger the affected code path. No public exploits or detailed attack methods are reported in the available references, and the exact attack vector is not specified beyond the bug description.

Generated by OpenCVE AI on August 31, 2026 at 15:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that incorporates the UAF fix for aa_replace_profiles.
  • If a newer kernel is unavailable, backport the commit that saves the size before dropping the reference from the Linux kernel source and rebuild the kernel.
  • Reboot the system to load the updated kernel.

Generated by OpenCVE AI on August 31, 2026 at 15:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 29 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 29 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 29 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 28 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: apparmor: fix potential UAF in aa_replace_profiles The function aa_replace_profiles was accessing udata->size after calling aa_put_loaddata(udata), causing a potential UAF. Fixed this by saving the size to a local variable before dropping the reference.
Title apparmor: fix potential UAF in aa_replace_profiles
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-29T06:21:26.537Z

Reserved: 2026-08-26T14:34:25.774Z

Link: CVE-2026-80619

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:45.950

Modified: 2026-08-29T07:16:46.597

Link: CVE-2026-80619

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-80619 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T16:00:06Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference