Double free in Linux kernel AppArmor DFA table remapping
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel from 6.13 is affected by a double free in AppArmor when remapping DFA tables. A failed allocation during table remapping leaves a pointer to freed memory in the table list, which is freed again if the unpacking later fails. A local user with low privileges can trigger this with high attack complexity, which may affect confidentiality, integrity and availability.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: apparmor: avoid potential double free when remapping DFA tables When unpacking a DFA, aa_dfa_unpack() stores a table in dfa->tables before attempting to remap a 16-bit table to 32-bit. However, remap_data16_to_data32() frees the original table when allocation of the new table fails. This leaves the corresponding dfa->tables entry pointing to freed memory. If the unpacking then fails, dfa_free() attempts to free the same table again. Only publish the table to dfa->tables after any required remapping has completed successfully, so that dfa->tables never contains a pointer to a table that has already been freed.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 6.18.63, 7.3.4 or 7.4-rc1, which contain the fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-99837
- 2026-11-30 Alias added: GHSA-9w9h-2mq2-rmfc
- 2026-12-01 CVSS score added · CNA
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 5
- https://git.kernel.org/stable/c/7710dc49ae10d3493a18e5d53d7ef05913025e2d
- https://git.kernel.org/stable/c/76688f427045ed2332bcd9fea6dac6e5b6117efa
- https://git.kernel.org/stable/c/4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe
- https://git.kernel.org/stable/c/8d41718618ed58bab0cce12811c6a62491988f45
- https://git.kernel.org/stable/c/7ccd884a5e5386f4c7d98625113f4924f70286b4
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99837 · CVE Program
- CVE-2026-99837 · NVD
- GHSA-9w9h-2mq2-rmfc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99837 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences