Description
In the Linux kernel, the following vulnerability has been resolved:

fsnotify: Fix stale object mask after concurrent mark updates

When a mark gets a new event bit, fanotify and inotify may avoid
recalculating the object mask if the cached aggregate already contains that
bit. This is racy with a recalculation triggered by a concurrent update to
another mark on the same connector.

The concurrent scan can read the mark before the new bit is added, while
the updater reads the old aggregate before that scan publishes its result.
The updater then skips recalculation and the scan publishes a mask without
the bit, leaving the object mask stale after both updates complete.

This can be reproduced with two fanotify groups watching the same inode:
one thread removes FAN_MODIFY from one existing mark while another thread
adds FAN_MODIFY to the other mark. After both fanotify_mark() calls return,
writes can fail to produce FAN_MODIFY for the group whose mark now contains
the bit. This was reproduced on an unmodified v6.12.95 kernel. The
equivalent inotify interleaving loses IN_MODIFY events.

For normal fanotify additions, recalculate whenever the raw mark mask
changes. The normal mask is not cleared asynchronously, so an unchanged
addition cannot introduce missing interest. Always recalculate ignore-mask
updates because FS_MODIFY handling may clear the ignore mask without taking
mark->lock, making snapshot comparisons unreliable.

Always recalculate after updating an existing inotify watch. Its replace
path temporarily sets mark->mask to zero, so a concurrent scan can observe
zero even when the old and final masks are equal. Assigning the replacement
mask directly would avoid the transient zero, but existing-watch updates
are infrequent, so unconditional recalculation is simpler.
Published: 2026-09-11
Score: 2.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: Stale event mask (missed modification notifications)
Action: Update kernel
AI Analysis

Impact

The vulnerability is a race condition in the Linux kernel’s fsnotify subsystem that occurs when two fanotify or inotify marks on the same connector are modified concurrently. The kernel may skip recomputing the aggregate object mask if the cached aggregate already contains the newly added event bit, leading to a stale mask that omits the bit. As a result, applications receive a missed FAN_MODIFY or IN_MODIFY event when a file changes, which can cause incorrect application behavior or data loss. This is a non‑privilege‑escalation issue that only affects notification semantics.

Affected Systems

All Linux kernel distributions that include the pre‑fixed fsnotify code, specifically kernels up through the unmodified v6.12.95 release and any kernel that has not applied the upstream patch, are impacted. The affected CPE is Linux kernel and the flaw exists regardless of distribution or build options.

Risk and Exploitability

The CVSS base score is 2.5, indicating low severity, and the EPSS score is less than 1%, suggesting a very low likelihood of exploitation in the wild. The flaw is not listed in the CISA KEV catalog. An attacker would need to control two threads that modify fanotify or inotify marks on the same connector, which requires local or privileged execution on the system. The issue does not provide privilege escalation or remote code execution; it merely causes missed notifications. Given the low EPSS and the need for local execution, the overall risk is low to moderate, but missing notifications could impact services that rely on real‑time change tracking.

Generated by OpenCVE AI on September 15, 2026 at 22:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the upstream fsnotify patch, such as 6.13 or later, using the distribution’s security updates.
  • If the distribution has not yet back‑ported the fix, rebuild or install an upstream kernel that contains the patch.
  • Until a patch is available, avoid mission‑critical workloads that depend on FAN_MODIFY or IN_MODIFY notifications, or configure applications to tolerably handle occasional missed events.

Generated by OpenCVE AI on September 15, 2026 at 22:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Mon, 14 Sep 2026 12:30:00 +0000


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

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

None

cvssV3_1

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

threat_severity

Low


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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fsnotify: Fix stale object mask after concurrent mark updates When a mark gets a new event bit, fanotify and inotify may avoid recalculating the object mask if the cached aggregate already contains that bit. This is racy with a recalculation triggered by a concurrent update to another mark on the same connector. The concurrent scan can read the mark before the new bit is added, while the updater reads the old aggregate before that scan publishes its result. The updater then skips recalculation and the scan publishes a mask without the bit, leaving the object mask stale after both updates complete. This can be reproduced with two fanotify groups watching the same inode: one thread removes FAN_MODIFY from one existing mark while another thread adds FAN_MODIFY to the other mark. After both fanotify_mark() calls return, writes can fail to produce FAN_MODIFY for the group whose mark now contains the bit. This was reproduced on an unmodified v6.12.95 kernel. The equivalent inotify interleaving loses IN_MODIFY events. For normal fanotify additions, recalculate whenever the raw mark mask changes. The normal mask is not cleared asynchronously, so an unchanged addition cannot introduce missing interest. Always recalculate ignore-mask updates because FS_MODIFY handling may clear the ignore mask without taking mark->lock, making snapshot comparisons unreliable. Always recalculate after updating an existing inotify watch. Its replace path temporarily sets mark->mask to zero, so a concurrent scan can observe zero even when the old and final masks are equal. Assigning the replacement mask directly would avoid the transient zero, but existing-watch updates are infrequent, so unconditional recalculation is simpler.
Title fsnotify: Fix stale object mask after concurrent mark updates
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 Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-14T12:01:18.174Z

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

Link: CVE-2026-89595

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-14T13:19:13.490

Link: CVE-2026-89595

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-11T19:44:58Z

Links: CVE-2026-89595 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T22:15:17Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition