{"id":"CVE-2026-89643","published":"2026-09-11T19:45:35Z","modified":"2026-10-19T08:50:15Z","title":"audit: avoid dropping live tree ref on fsnotify rule autoremove","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\naudit: avoid dropping live tree ref on fsnotify rule autoremove\n\naudit_del_rule() is used for both netlink deletion templates and internal\nfsnotify autoremove.  The former passes a parsed template which owns a\ntemporary tree reference; the latter passes the installed entry itself.\n\nThe unconditional audit_put_tree() at the end of audit_del_rule() assumes\nthe template case.  For mixed AUDIT_DIR plus AUDIT_EXE rules, an fsnotify\nautoremove event therefore drops the installed rule's live tree reference.\nRepeating this across rules sharing the same tree can free the tree while\nanother rule still references it, and a later autoremove dereferences the\nfreed pathname while comparing rules.\n\nMove the temporary-tree put to audit_rule_change(), the caller that owns\ndeletion templates.  Keep it in the AUDIT_DEL_RULE cleanup so both\nsuccessful deletion and -ENOENT still release the parser-owned tree.\n\n[PM: dropped unnecessary comment for line length reasons]","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00714,"percentile":0.54579,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58","tags":[]},{"url":"https://git.kernel.org/stable/c/b322cc7adcd2e6ec1594d187533a126506ab545c","tags":[]},{"url":"https://git.kernel.org/stable/c/695c85dc345a4e0292739f004c261bedef3f27e6","tags":[]},{"url":"https://git.kernel.org/stable/c/01b0ec8c397be65ff710777c97017ca1de56ef8e","tags":[]},{"url":"https://git.kernel.org/stable/c/cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28","tags":[]},{"url":"https://git.kernel.org/stable/c/636a99bab36ba27515363d325866c0273ac83b3e","tags":[]},{"url":"https://git.kernel.org/stable/c/583cf579b32d99e3fe4e9c8ecc4d852e3708fbec","tags":[]},{"url":"https://git.kernel.org/stable/c/783f0f0974c156aca630f4ffff248671082a098d","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":10.92},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < b322cc7adcd2e6ec1594d187533a126506ab545c",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 695c85dc345a4e0292739f004c261bedef3f27e6",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 01b0ec8c397be65ff710777c97017ca1de56ef8e",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 636a99bab36ba27515363d325866c0273ac83b3e",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec",">= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 783f0f0974c156aca630f4ffff248671082a098d"]},{"vendor":"Linux","product":"Linux","versions":["4.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-16T19:24:59.658694Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76555","exploited":false,"provenance":"source"}}