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]
Published: 2026-09-11
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Corruption (Use-After-Free in Audit Subsystem)
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel audit subsystem contains a flaw where the function audit_del_rule() incorrectly manages a temporary tree reference during filesystem notification autoremove. When audit rules that mix AUDIT_DIR and AUDIT_EXE types are automatically removed, the live tree reference of an installed rule is dropped prematurely. Repeated autoremove operations can free memory that remains in use by remaining rules, leading to a use‑after‑free condition that may corrupt memory or cause a crash. The weakness is classified as CWE‑825, indicating improper handling of dynamic references and resulting in an inconsistent system state.

Affected Systems

All Linux kernel builds that incorporate the audit framework code before the patch referenced in the advisory are affected. The that ship the upstream kernel without applying the indicated commit. No specific version ranges are listed, so the safest assumption is that any Linux kernel built from source that contains the unpatched audit module is vulnerable.

Risk and Exploitability

The CVSS score of 5.7 places this issue in the medium severity range. The EPSS score of < 1% and the fact that the vulnerability is not listed in CISA KEV suggest that it is not a widely exploited or actively targeted flaw at this time. The likely attack vector is a local user or privileged process that can manipulate audit rules or trigger filesystem notifications. An attacker who can create and then delete audit rules with mixed AUDIT_DIR and AUDIT_EXE types could induce the double‑ could allow privilege escalation or denial of service. Because the condition requires control over audit rule configuration, the risk is higher only for systems where audit configuration is delegated or exposed to untrusted users.

Generated by OpenCVE AI on September 12, 2026 at 21:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the audit_del_rule patch from the upstream Linux repository.
  • Reconfigure audit rules to avoid mixing AUDIT_DIR and AUDIT_EXE types in the same rule set, thereby preventing the autoremove path that triggers the double‑free; consider disabling or removing affected rule sets if possible.
  • Restrict the ability to modify audit rules to privileged administrators only and consider disabling the audit subsystem if it is not required for compliance.

Generated by OpenCVE AI on September 12, 2026 at 21:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H'}

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
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]
Title audit: avoid dropping live tree ref on fsnotify rule autoremove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-11T19:45:35.523Z

Reserved: 2026-09-11T19:38:34.741Z

Link: CVE-2026-89643

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:50.090

Modified: 2026-09-11T20:19:50.090

Link: CVE-2026-89643

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:45:35Z

Links: CVE-2026-89643 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-12T21:45:06Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference