# CVE-2026-89643: audit: avoid dropping live tree ref on fsnotify rule autoremove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **Published:** 2026-09-11T19:45:35.523Z
- **Modified:** 2026-10-19T09:18:01.483Z

## Who should check

- Anyone running Linux \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< b322cc7adcd2e6ec1594d187533a126506ab545c; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 695c85dc345a4e0292739f004c261bedef3f27e6; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 01b0ec8c397be65ff710777c97017ca1de56ef8e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 636a99bab36ba27515363d325866c0273ac83b3e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 783f0f0974c156aca630f4ffff248671082a098d
- Anyone running Linux 4.3

## Description

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\]

## Affected and fixed versions

- Linux: \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< b322cc7adcd2e6ec1594d187533a126506ab545c; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 695c85dc345a4e0292739f004c261bedef3f27e6; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 01b0ec8c397be65ff710777c97017ca1de56ef8e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 636a99bab36ba27515363d325866c0273ac83b3e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 783f0f0974c156aca630f4ffff248671082a098d (cvelist)
- Linux: 4.3 (cvelist)

## Mitigation

- Upgrade Linux to 783f0f0974c156aca630f4ffff248671082a098d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89643.md
Affected: Linux >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58; >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < b322cc7adcd2e6ec1594d187533a126506ab545c; >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 695c85dc345a4e0292739f004c261bedef3f27e6; >= 34d99af52ad40bd498ba669…
Fixed in: Linux 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58, Linux 695c85dc345a4e0292739f004c261bedef3f27e6, Linux 01b0ec8c397be65ff710777c97017ca1de56ef8e, Linux 636a99bab36ba27515363d325866c0273ac83b3e, Linux 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec, Linux 783f0f0974c156aca630f4ffff248671082a098d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89643 being exploited?

There is no confirmed exploitation: CVE-2026-89643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89643?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89643?

Linux \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< b322cc7adcd2e6ec1594d187533a126506ab545c; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 695c85dc345a4e0292739f004c261bedef3f27e6; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 01b0ec8c397be65ff710777c97017ca1de56ef8e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 636a99bab36ba27515363d325866c0273ac83b3e; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 783f0f0974c156aca630f4ffff248671082a098d; Linux 4.3.

### Is there a fix for CVE-2026-89643?

Yes. Fixed in Linux 9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58, Linux 695c85dc345a4e0292739f004c261bedef3f27e6, Linux 01b0ec8c397be65ff710777c97017ca1de56ef8e, Linux 636a99bab36ba27515363d325866c0273ac83b3e, Linux 583cf579b32d99e3fe4e9c8ecc4d852e3708fbec, Linux 783f0f0974c156aca630f4ffff248671082a098d. Upgrade Linux to 783f0f0974c156aca630f4ffff248671082a098d or later.

### How do I check if I'm affected by CVE-2026-89643?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9cac21f8eb82675ed19fb955b8bbb9dd14cc3d58>
- other: <https://git.kernel.org/stable/c/b322cc7adcd2e6ec1594d187533a126506ab545c>
- other: <https://git.kernel.org/stable/c/695c85dc345a4e0292739f004c261bedef3f27e6>
- other: <https://git.kernel.org/stable/c/01b0ec8c397be65ff710777c97017ca1de56ef8e>
- other: <https://git.kernel.org/stable/c/cf37b61b5420fd4600fe78cf8c24da6e4d9bfe28>
- other: <https://git.kernel.org/stable/c/636a99bab36ba27515363d325866c0273ac83b3e>
- other: <https://git.kernel.org/stable/c/583cf579b32d99e3fe4e9c8ecc4d852e3708fbec>
- other: <https://git.kernel.org/stable/c/783f0f0974c156aca630f4ffff248671082a098d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89643>

HTML: <https://flawdb.com/CVE-2026-89643> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89643>
