PT-2026-61143 · Linux · Linux Kernel

CVE-2026-63827

·

Published

2026-07-19

·

Updated

2026-07-19

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel version 7.1-rc5
Description A use-after-free issue exists in the AppArmor module of the Linux kernel. The aa replace profiles() function iterates through the ns->rawdata list to deduplicate incoming policy blobs against existing profiles. A race condition occurs because list membership does not hold a reference; when the last reference count (pcount) drops to zero, the entry is queued for removal via do ploaddata rmfs(). If the deduplication loop accesses an entry after the reference count has dropped to zero but before the removal workqueue has executed, the aa get profile loaddata() function performs an unconditional kref get(), leading to a use-after-free condition.
Recommendations Update the Linux kernel to a version where the aa get profile loaddata not0() function is implemented and used within aa replace profiles() to ensure entries with a zero reference count are skipped during the deduplication lookup.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-63827

Affected Products

Linux Kernel