CVE-2026-63827
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.1 %
- Percentile
- 2
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: apparmor: fix use-after-free in rawdata dedup loop aa_replace_profiles() walks ns->rawdata_list to dedup the incoming policy blob against entries already attached to existing profiles. Per the kernel-doc on struct aa_loaddata, list membership does not hold a reference: profiles hold pcount, and when the last pcount drops, do_ploaddata_rmfs() is queued on a workqueue that takes ns->lock and removes the entry. Between dropping the last pcount and the workqueue running, an entry remains on the list with pcount == 0. aa_get_profile_loaddata() is an unconditional kref_get() on pcount, so when the dedup loop hits such an entry, refcount hardening reports refcount_t: addition on 0; use-after-free. inside aa_replace_profiles(), and the poisoned counter then trips "saturated" and "underflow" warnings on the subsequent uses of the same loaddata. Before commit a0b7091c4de4 ("apparmor: fix race on rawdata dereference") the dedup path used a get_unless_zero-style helper on a single counter, so the existing "if (tmp)" guard was meaningful. The split-refcount refactor introduced aa_get_profile_loaddata(), which has plain kref_get() semantics, and the guard quietly became a no-op. Introduce aa_get_profile_loaddata_not0(), matching the existing _not0 convention used by aa_get_profile_not0(), and use it for the rawdata_list dedup lookup so dying entries are skipped. Reproduced on x86_64 with v7.1-rc5 in QEMU+KVM running Ubuntu 24.04 + stress-ng 0.17.06: stress-ng --apparmor 1 --klog-check --timeout 60s Without this patch the three refcount_t warnings fire within a few seconds. With it the same 60 s run is clean. Coverage is a smoke-test only; a longer soak with CONFIG_KASAN, CONFIG_KCSAN and CONFIG_PROVE_LOCKING would be welcome from anyone with the cycles.
- Vendor / product
- linux linux kernel
- Published
- 19.07.2026
- Modified
- 12.11.2026
- CWE
- CWE-416
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
48- Ubuntu: USN-9192-1 – Linux kernel (NVIDIA) vulnerabilities 24.11.2026 · Critical · Patch day
- Ubuntu: USN-9066-1 – Linux kernel (HWE) vulnerabilities 12.11.2026 · Critical · Patch day
- Ubuntu: USN-9040-1 – Linux kernel (Low Latency NVIDIA) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9024-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9025-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9026-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9029-1 – Linux kernel (Raspberry Pi) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-8963-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 03.11.2026 · Critical · Patch day
- Ubuntu: USN-8918-1 – Linux kernel (Azure) vulnerabilities 13.10.2026 · Critical · Patch day
- Ubuntu: USN-8917-1 – Linux kernel vulnerabilities 13.10.2026 · Critical · Patch day
- Ubuntu: USN-8875-2 – Linux kernel (NVIDIA) vulnerabilities 09.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4595-1 – Security update for the Linux Kernel 08.10.2026 · Critical · Patch day
- Ubuntu: USN-8886-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8875-1 – Linux kernel vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8879-1 – Linux kernel (Oracle) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8878-1 – Linux kernel (GCP) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8877-1 – Linux kernel (GCP) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8876-1 – Linux kernel (Azure CVM) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8728-3 – Linux kernel (Oracle) vulnerabilities 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4369-1 – Security update for the Linux Kernel 28.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4347-1 – Security update for the Linux Kernel 24.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4284-1 – Security update for the Linux Kernel 22.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4279-1 – Security update for the Linux Kernel 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-2 – Linux kernel (Azure) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-4 – Linux kernel vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8760-2 – Linux kernel (NVIDIA) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8800-1 – Linux kernel (NVIDIA BaseOS) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-3 – Linux kernel (IBM) vulnerabilities 21.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-2 – Linux kernel (Raspberry Pi) vulnerabilities 18.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4254-1 – Security update for the Linux Kernel 17.09.2026 · Critical · Patch day
- Ubuntu: USN-8760-1 – Linux kernel (NVIDIA) vulnerabilities 15.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23510-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23528-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23529-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4120-1 – Security update for the Linux Kernel 10.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23477-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23481-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23490-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23491-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-1 – Linux kernel (GCP) vulnerabilities 07.09.2026 · Critical · Patch day
- Ubuntu: USN-8727-1 – Linux kernel (OEM) vulnerabilities 07.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-1 – Linux kernel vulnerabilities 07.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23237-1 – Security update for the Linux Kernel 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23221-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23231-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23066-1 – Security update for the Linux Kernel 14.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23068-1 – Security update for the Linux Kernel 14.08.2026 · Critical · Patch day
- Microsoft: Mariner 20.07.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.