Skip to main content

In the Linux kernel, the following vulnerability has been resolved: audit: fix exe mark UAF in kill_rules() kill_rules() removes mixed AUDIT_DIR and… (CVE-2026-98862)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:06 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's audit subsystem was resolved. The flaw occurs in the kill_rules() function when removing mixed AUDIT_DIR and AUDIT_EXE rules, leading to a race condition that can cause a use-after-free of executable marks. This happens when a watched directory is removed concurrently with another task evaluating the rule, potentially freeing memory prematurely. The fix involves unlinking rules from RCU-visible lists and waiting for an RCU grace period before freeing executable marks, preventing the use-after-free condition.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:16:19 UTC

Technical Analysis

The Linux kernel audit subsystem had a use-after-free vulnerability (CVE-2026-98862) in the kill_rules() function. kill_rules() removes mixed AUDIT_DIR and AUDIT_EXE rules when pruning an audit tree and drops entry->rule.exe before removing the rule from RCU-visible filter lists. When a rule installed with AUDIT_ADD_RULE is removed concurrently with another task evaluating it, fsnotify can free the executable mark before audit_mark_compare() reads it, causing a use-after-free. The fix unlinks rules from RCU-visible lists and retains them on tree->rules for cleanup, waiting for an RCU grace period before removing executable marks and scheduling entries for freeing, ensuring safe deferred freeing.

Potential Impact

This vulnerability could lead to a use-after-free condition in the kernel audit subsystem, which may cause kernel crashes or undefined behavior. There is no indication of active exploitation in the wild. The impact is limited to kernel stability and potential denial of service rather than direct privilege escalation or data corruption based on the provided data.

Mitigation Recommendations

A fix has been implemented to address this vulnerability by modifying the cleanup process in kill_rules() to wait for an RCU grace period before freeing executable marks. Users should apply the official Linux kernel patches that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. No additional mitigations are specified or required beyond applying the fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-73jm-mgrc-fg99
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98862"]

Threat ID: 6ad520a92cdf04f656993892

Added to database: 10/18/2026, 19:40:25 UTC

Last enriched: 10/18/2026, 22:16:19 UTC

Last updated: 10/18/2026, 22:16:19 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses