In the Linux kernel, the following vulnerability has been resolved: fsnotify: Fix stale object mask after concurrent mark updates When a mark gets a… (CVE-2026-89595)
A race condition in the Linux kernel's fsnotify subsystem could cause stale event masks after concurrent updates to fanotify or inotify marks. This results in missed event notifications such as FAN_MODIFY or IN_MODIFY under certain concurrent operations. The issue was reproduced on kernel version 6.12.95 and involves improper recalculation of object masks during concurrent mark updates.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's fsnotify subsystem arises from a race condition when multiple fanotify or inotify marks on the same connector are updated concurrently. When a mark receives a new event bit, the system may skip recalculating the object mask if the cached aggregate already contains that bit. However, concurrent scans and updates can interleave such that the recalculation is skipped incorrectly, leaving the object mask stale and causing missed event notifications. This was demonstrated with two fanotify groups watching the same inode, where concurrent removal and addition of FAN_MODIFY bits led to lost FAN_MODIFY events. The fix involves always recalculating the mask when raw mark masks change or when updating existing watches to avoid transient stale states.
Potential Impact
The impact is that event notifications for file modifications (e.g., FAN_MODIFY or IN_MODIFY) may be lost due to stale object masks after concurrent updates. This can cause monitoring tools relying on fanotify or inotify to miss file system events, potentially affecting security monitoring or system behavior dependent on accurate event notifications. There is no indication of direct privilege escalation or code execution from this issue.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this race condition by ensuring recalculation of object masks after mark updates. Users should apply the official kernel update that includes this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. No additional mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: fsnotify: Fix stale object mask after concurrent mark updates When a mark gets a… (CVE-2026-89595)
Description
A race condition in the Linux kernel's fsnotify subsystem could cause stale event masks after concurrent updates to fanotify or inotify marks. This results in missed event notifications such as FAN_MODIFY or IN_MODIFY under certain concurrent operations. The issue was reproduced on kernel version 6.12.95 and involves improper recalculation of object masks during concurrent mark updates.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's fsnotify subsystem arises from a race condition when multiple fanotify or inotify marks on the same connector are updated concurrently. When a mark receives a new event bit, the system may skip recalculating the object mask if the cached aggregate already contains that bit. However, concurrent scans and updates can interleave such that the recalculation is skipped incorrectly, leaving the object mask stale and causing missed event notifications. This was demonstrated with two fanotify groups watching the same inode, where concurrent removal and addition of FAN_MODIFY bits led to lost FAN_MODIFY events. The fix involves always recalculating the mask when raw mark masks change or when updating existing watches to avoid transient stale states.
Potential Impact
The impact is that event notifications for file modifications (e.g., FAN_MODIFY or IN_MODIFY) may be lost due to stale object masks after concurrent updates. This can cause monitoring tools relying on fanotify or inotify to miss file system events, potentially affecting security monitoring or system behavior dependent on accurate event notifications. There is no indication of direct privilege escalation or code execution from this issue.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this race condition by ensuring recalculation of object masks after mark updates. Users should apply the official kernel update that includes this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h76q-h94r-6qmf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89595"]
Threat ID: 6aa4a00c55bf5e2cf5a8667d
Added to database: 09/12/2026, 00:42:52 UTC
Last enriched: 09/12/2026, 01:03:21 UTC
Last updated: 09/12/2026, 01:03:21 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.