CVE-2026-99837: apparmor: avoid potential double free when remapping DFA tables
apparmor: avoid potential double free when remapping DFA tables
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1
Event History
Frequently Asked Questions
What condition is required to trigger the double-free path?
A DFA must be unpacked with a 16-bit table that requires remapping to a 32-bit table, and allocation of the replacement table must fail. The subsequent unpacking failure can then cause DFA cleanup to free the original table a second time.
How can I determine whether my kernel includes the fix?
Check whether your kernel source or vendor patch set includes one of the referenced stable commits: 7710dc49ae10d3493a18e5d53d7ef05913025e2d, 76688f427045ed2332bcd9fea6dac6e5b6117efa, or 4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe. The fix delays storing the table in dfa->tables until any required remapping completes successfully.