CVE-2026-63827: apparmor: fix use-after-free in rawdata dedup loop
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 15fd83a1e42ede15070968806bb6c8b1a5170688, 5.10.261, 5.15.212; azl3 kernel 6.6.143.1-1 on Azure Linux 3.0 6.6.150.1-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 15fd83a1e42ede15070968806bb6c8b1a5170688, 5.10.261, 5.15.212; azl3 kernel 6.6.143.1-1 on Azure Linux 3.0 6.6.150.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In 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.
- Published
- Jul 19, 2026
- Updated
- Nov 12, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-416
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 763e838adc3c7ec5a7df2990ce84cad951e42721, 7.0affected
- 3b8e77c7abab40e6de9ad9de730d77984a498840 and later · before 643221da57dbb1a8fd800610331cf1ec27969f71affected · git
- d9d8560b9b7932f8cffc4c068c14289220900f79 and later · before b17f0c59cc1525765625cf07d0391b7f9c1ed7e5affected · git
- 6b6ba87579c7e7c669e0bec91823e7fb693bc5df and later · before a7a2890028f16e5b0af0bb005d80fcb32559cca3affected · git
- 6ef1f2926c41ab96952d9696d55a052f1b3a9418 and later · before 15fd83a1e42ede15070968806bb6c8b1a5170688affected · git
- f9761add6d100962a23996cb68f3d6abdd4d1815 and later · before ce261a20b41db522e320a41bbf1292bf85af66dfaffected · git
- af782cc8871e3683ddd5a3cd2f7df526599863a9 and later · before c3ca2631073b2cef06824fd2bfc452ff7a1023deaffected · git
- a0b7091c4de45a7325c8780e6934a894f92ac86b and later · before 5e34fa9f6f7cd688ae153fff13139a5cf2d42339affected · git
- a0b7091c4de45a7325c8780e6934a894f92ac86b and later · before 6f060496d03e4dc560a40f73770bd08335cb7a27affected · git
- 5.10.253 and later · before 5.10.261affected · semver
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.10.253 and later · before 5.10.261
- linux linux kernel5.15.203 and later · before 5.15.212
- linux linux kernel6.1.169 and later · before 6.1.177
- linux linux kernel6.6.130 and later · before 6.6.144
- linux linux kernel6.12.77 and later · before 6.12.95
- linux linux kernel6.18.18 and later · before 6.18.38
- linux linux kernel6.19.8 and later · before 7.0
- linux linux kernel7.0.1 and later · before 7.1.3
- linux linux kernel7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.177-1 | 6.1.177-1 |
| Debian:13 | linux | before 6.12.95-1 | 6.12.95-1 |
| Debian:14 | linux | before 7.1.3-1 | 7.1.3-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | before 5.14.21-150400.24.240.2 | 5.14.21-150400.24.240.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | before 5.14.21-150400.24.240.1 | 5.14.21-150400.24.240.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | before 5.14.21-150400.24.240.1 | 5.14.21-150400.24.240.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | before 5.14.21-150400.24.240.1 | 5.14.21-150400.24.240.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_59 | before 1-150400.9.5.1 | 1-150400.9.5.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_45 | before 1-150500.11.5.3 | 1-150500.11.5.3 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default | before 5.14.21-150400.24.240.2 | 5.14.21-150400.24.240.2 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default-base | before 5.14.21-150400.24.240.2.150400.24.120.2 | 5.14.21-150400.24.240.2.150400.24.120.2 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-rt | before 5.14.21-150400.15.186.1 | 5.14.21-150400.15.186.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-source | before 5.14.21-150400.24.240.1 | 5.14.21-150400.24.240.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-source-rt | before 5.14.21-150400.15.186.1 | 5.14.21-150400.15.186.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default-base | before 5.14.21-150500.55.189.1.150500.6.87.4 | 5.14.21-150500.55.189.1.150500.6.87.4 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-rt | before 5.14.21-150500.13.161.1 | 5.14.21-150500.13.161.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source | before 5.14.21-150500.55.189.1 | 5.14.21-150500.55.189.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source-rt | before 5.14.21-150500.13.161.1 | 5.14.21-150500.13.161.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | kernel-zfcpdump | before 5.14.21-150400.24.240.2 | 5.14.21-150400.24.240.2 |
+1
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-63825Jul 19, 2026 · gcov: use atomic counter updates to fix concurrent access crashes39Monitor
- ← EarlierCVE-2026-63826Jul 19, 2026 · fbdev: fix use-after-free in store_modes()31Monitor
- Later →CVE-2026-63829Jul 19, 2026 · net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 15fd83a1e42ede15070968806bb6c8b1a5170688 | Vendor (CNA) |
| Linux Linux | 5.10.261 | Vendor (CNA) |
| Linux Linux | 5.15.212 | Vendor (CNA) |
| Linux Linux | 5e34fa9f6f7cd688ae153fff13139a5cf2d42339 | Vendor (CNA) |
| Linux Linux | 6.1.177 | Vendor (CNA) |
| Linux Linux | 6.12.95 | Vendor (CNA) |
| Linux Linux | 6.18.38 | Vendor (CNA) |
| Linux Linux | 6.20 | Vendor (CNA) |
| Linux Linux | 6.6.144 | Vendor (CNA) |
| Linux Linux | 643221da57dbb1a8fd800610331cf1ec27969f71 | Vendor (CNA) |
| Linux Linux | 6f060496d03e4dc560a40f73770bd08335cb7a27 | Vendor (CNA) |
| Linux Linux | a7a2890028f16e5b0af0bb005d80fcb32559cca3 | Vendor (CNA) |
| Linux Linux | b17f0c59cc1525765625cf07d0391b7f9c1ed7e5 | Vendor (CNA) |
| Linux Linux | c3ca2631073b2cef06824fd2bfc452ff7a1023de | Vendor (CNA) |
| Linux Linux | ce261a20b41db522e320a41bbf1292bf85af66df | Vendor (CNA) |
| azl3 kernel 6.6.143.1-1 on Azure Linux 3.0 | 6.6.150.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.177-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.14.21-150400.24.240.2 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-default | 5.14.21-150400.24.240.2 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-default-base | 5.14.21-150400.24.240.2.150400.24.120.2 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-docs | 5.14.21-150400.24.240.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP4_Update_59 | 1-150400.9.5.1 · SUSE:Linux Enterprise Live Patching 15 SP4 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_45 | 1-150500.11.5.3 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-obs-build | 5.14.21-150400.24.240.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-rt | 5.14.21-150400.15.186.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-source | 5.14.21-150400.24.240.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-source-rt | 5.14.21-150400.15.186.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-syms | 5.14.21-150400.24.240.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150400.24.240.2 · SUSE:Linux Enterprise Server 15 SP4-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0576 · Jul 20, 2026(Linux Kernel Güvenlik Bildirimi)
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/5e34fa9f6f7cd688ae153fff13139a5cf2d42339
- git.kernel.org/stable/c/643221da57dbb1a8fd800610331cf1ec27969f71
- git.kernel.org/stable/c/6f060496d03e4dc560a40f73770bd08335cb7a27
- git.kernel.org/stable/c/a7a2890028f16e5b0af0bb005d80fcb32559cca3
- git.kernel.org/stable/c/b17f0c59cc1525765625cf07d0391b7f9c1ed7e5
- git.kernel.org/stable/c/c3ca2631073b2cef06824fd2bfc452ff7a1023de
- git.kernel.org/stable/c/ce261a20b41db522e320a41bbf1292bf85af66df
Vendor advisories and official records. Exploit/PoC links are deliberately left out.