CVE-2026-98862: audit: fix exe mark UAF in kill_rules()
audit: fix exe mark UAF in killrules()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.113-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.2.10-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.273 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.224 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.191 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.160 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.113 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.56 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2.10 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
azurelinux/kernelto a version that resolves this vulnerability.Fixed in 6.6.161.1-1
Event History
Frequently Asked Questions
Who can create the rule configuration needed to trigger this issue?
Installing the affected audit rule with AUDIT_ADD_RULE requires CAP_AUDIT_CONTROL. The vulnerable scenario involves mixed AUDIT_DIR and AUDIT_EXE audit rules.
What race is required for the use-after-free to occur?
A watched directory must be removed, causing its audit tree to be pruned, while another task is still evaluating the installed rule. The executable mark can then be freed before the reader reaches audit_mark_compare().
How does the resolved code prevent the race?
It first unlinks published rules from the RCU-visible filter lists and retains them for cleanup. When a rule has an executable mark, it waits for an RCU grace period before removing marks and freeing entries.