# CVE-2026-80619: apparmor: fix potential UAF in aa_replace_profiles

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:38.702Z
- Modified: 2026-08-29T07:16:46.597Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before 9d8e47cbce7536f19c96e37d0685a042010187ee; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before 9d37dc6376e336dc4b4f39a7ad0d069aa70e9495; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before c0f3a3fda617beeec58708720304dd026a1a4dd7; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before 5cba148eae6e8550c2889f5c0f94d72bed864321; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before c44de0880b7ccc15c70a6352b5e107677d32b061; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before 57b1bd4486d56254bb8af1a8f3d4445bbe505290; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before dd5f1202f45a2dbe2c7dd10093f5c6bb2d8ac5bb; from 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 before 7b42f95813dc9ceb6bda35afcf914630909a19f9; 4.11 (not affected: before 4.11; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/9d8e47cbce7536f19c96e37d0685a042010187ee>
- <https://git.kernel.org/stable/c/9d37dc6376e336dc4b4f39a7ad0d069aa70e9495>
- <https://git.kernel.org/stable/c/c0f3a3fda617beeec58708720304dd026a1a4dd7>
- <https://git.kernel.org/stable/c/5cba148eae6e8550c2889f5c0f94d72bed864321>
- <https://git.kernel.org/stable/c/c44de0880b7ccc15c70a6352b5e107677d32b061>
- <https://git.kernel.org/stable/c/57b1bd4486d56254bb8af1a8f3d4445bbe505290>
- <https://git.kernel.org/stable/c/dd5f1202f45a2dbe2c7dd10093f5c6bb2d8ac5bb>
- <https://git.kernel.org/stable/c/7b42f95813dc9ceb6bda35afcf914630909a19f9>

## Sources

- CVE List: [CVE-2026-80619](https://www.cve.org/CVERecord?id=CVE-2026-80619), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-80619](https://nvd.nist.gov/vuln/detail/CVE-2026-80619), Public domain, modified 2026-08-29

---

Page: https://cve.day/CVE-2026-80619 · Whole record: https://cve.day/CVE-2026-80619.json · Rebuilt by cve.day 2026-11-25T22:59:35.590Z
