PT-2026-90359 · Linux · Linux

CVE-2026-89643

·

Published

2026-09-11

·

Updated

2026-09-11

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
audit: avoid dropping live tree ref on fsnotify rule autoremove
audit del rule() is used for both netlink deletion templates and internal fsnotify autoremove. The former passes a parsed template which owns a temporary tree reference; the latter passes the installed entry itself.
The unconditional audit put tree() at the end of audit del rule() assumes the template case. For mixed AUDIT DIR plus AUDIT EXE rules, an fsnotify autoremove event therefore drops the installed rule's live tree reference. Repeating this across rules sharing the same tree can free the tree while another rule still references it, and a later autoremove dereferences the freed pathname while comparing rules.
Move the temporary-tree put to audit rule change(), the caller that owns deletion templates. Keep it in the AUDIT DEL RULE cleanup so both successful deletion and -ENOENT still release the parser-owned tree.
[PM: dropped unnecessary comment for line length reasons]
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-89643

Affected Products

Linux