{"id":"CVE-2026-89643","aliases":["CVE-2026-89643"],"related":[],"kind":"vulnerability","state":"published","title":"audit: avoid dropping live tree ref on fsnotify rule autoremove","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","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]","source":"cvelist"}],"published":"2026-09-11T19:45:35.523Z","modified":"2026-10-19T09:18:01.483Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"b322cc7adcd2e6ec1594d187533a126506ab545c","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"695c85dc345a4e0292739f004c261bedef3f27e6","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"01b0ec8c397be65ff710777c97017ca1de56ef8e","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"636a99bab36ba27515363d325866c0273ac83b3e","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"583cf579b32d99e3fe4e9c8ecc4d852e3708fbec","status":"affected"},{"type":"git","introduced":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","fixed":"783f0f0974c156aca630f4ffff248671082a098d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b322cc7adcd2e6ec1594d187533a126506ab545c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/695c85dc345a4e0292739f004c261bedef3f27e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01b0ec8c397be65ff710777c97017ca1de56ef8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/636a99bab36ba27515363d325866c0273ac83b3e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/583cf579b32d99e3fe4e9c8ecc4d852e3708fbec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/783f0f0974c156aca630f4ffff248671082a098d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:24:59.658Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89643","url":"https://www.cve.org/CVERecord?id=CVE-2026-89643","licence":"CVE Terms of Use","modified":"2026-10-19T08:50:15.077Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89643","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89643","licence":"Public domain","modified":"2026-10-19T09:18:01.483Z"}],"updatedAt":"2026-11-25T22:59:38.096Z","epss":{"score":0.00714,"percentile":0.54888,"date":"2026-12-01T12:00:22.000Z"}}