---
id: CVE-2026-80619
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
published: '2026-08-28'
updated: '2026-08-29'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80619'
references:
  - url: 'https://git.kernel.org/stable/c/57b1bd4486d56254bb8af1a8f3d4445bbe505290'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5cba148eae6e8550c2889f5c0f94d72bed864321'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7b42f95813dc9ceb6bda35afcf914630909a19f9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9d37dc6376e336dc4b4f39a7ad0d069aa70e9495'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9d8e47cbce7536f19c96e37d0685a042010187ee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c0f3a3fda617beeec58708720304dd026a1a4dd7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c44de0880b7ccc15c70a6352b5e107677d32b061'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dd5f1202f45a2dbe2c7dd10093f5c6bb2d8ac5bb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00176
epssPercentile: 0.06305
ingestedAt: '2026-08-29T23:43:56.323Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
