# CVE-2026-89595: fsnotify: Fix stale object mask after concurrent mark updates

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:44:58.057Z
- **Modified:** 2026-10-19T09:17:55.840Z

## Who should check

- Anyone running Linux \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 27d172b60eeca5c8fd51b246f9fb959067cf102b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 2f09f08d602647fc4e328fc27ecb4c3008d10338; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< de75382d6e354b2b055df4896d12a91969f12090; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 343ae18e960f6c5f1d34d58a69750c62cd463228; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 92289e66639f62abc754c6f3bce5ead7e98e4ee2; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 947400af98b9e63841929d079a2c3ea0a8ba227b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< ac8d8b599d466a129122bded77db3d0f8b96b461; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< e422777fdd4746de1109575c51e65038d4c5c1be
- Anyone running Linux 2.6.31

## 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.

## Affected and fixed versions

- Linux: \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 27d172b60eeca5c8fd51b246f9fb959067cf102b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 2f09f08d602647fc4e328fc27ecb4c3008d10338; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< de75382d6e354b2b055df4896d12a91969f12090; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 343ae18e960f6c5f1d34d58a69750c62cd463228; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 92289e66639f62abc754c6f3bce5ead7e98e4ee2; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 947400af98b9e63841929d079a2c3ea0a8ba227b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< ac8d8b599d466a129122bded77db3d0f8b96b461; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< e422777fdd4746de1109575c51e65038d4c5c1be (cvelist)
- Linux: 2.6.31 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89595.md
Affected: Linux >= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, < 27d172b60eeca5c8fd51b246f9fb959067cf102b; >= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, < 2f09f08d602647fc4e328fc27ecb4c3008d10338; >= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, < de75382d6e354b2b055df4896d12a91969f12090; >= 63c882a05416e18de6fb59f…
Fixed in: Linux 27d172b60eeca5c8fd51b246f9fb959067cf102b, Linux 2f09f08d602647fc4e328fc27ecb4c3008d10338, Linux 343ae18e960f6c5f1d34d58a69750c62cd463228, Linux 92289e66639f62abc754c6f3bce5ead7e98e4ee2, Linux 947400af98b9e63841929d079a2c3ea0a8ba227b

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-89595 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 27d172b60eeca5c8fd51b246f9fb959067cf102b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 2f09f08d602647fc4e328fc27ecb4c3008d10338; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< de75382d6e354b2b055df4896d12a91969f12090; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 343ae18e960f6c5f1d34d58a69750c62cd463228; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 92289e66639f62abc754c6f3bce5ead7e98e4ee2; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< 947400af98b9e63841929d079a2c3ea0a8ba227b; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< ac8d8b599d466a129122bded77db3d0f8b96b461; \>= 63c882a05416e18de6fb59f7dd6da48f3bbe8273, \< e422777fdd4746de1109575c51e65038d4c5c1be; Linux 2.6.31.

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

Yes. Fixed in Linux 27d172b60eeca5c8fd51b246f9fb959067cf102b, Linux 2f09f08d602647fc4e328fc27ecb4c3008d10338, Linux 343ae18e960f6c5f1d34d58a69750c62cd463228, Linux 92289e66639f62abc754c6f3bce5ead7e98e4ee2, Linux 947400af98b9e63841929d079a2c3ea0a8ba227b. No fix listed yet: follow the vendor advisory.

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

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/27d172b60eeca5c8fd51b246f9fb959067cf102b>
- other: <https://git.kernel.org/stable/c/2f09f08d602647fc4e328fc27ecb4c3008d10338>
- other: <https://git.kernel.org/stable/c/de75382d6e354b2b055df4896d12a91969f12090>
- other: <https://git.kernel.org/stable/c/343ae18e960f6c5f1d34d58a69750c62cd463228>
- other: <https://git.kernel.org/stable/c/92289e66639f62abc754c6f3bce5ead7e98e4ee2>
- other: <https://git.kernel.org/stable/c/947400af98b9e63841929d079a2c3ea0a8ba227b>
- other: <https://git.kernel.org/stable/c/ac8d8b599d466a129122bded77db3d0f8b96b461>
- other: <https://git.kernel.org/stable/c/e422777fdd4746de1109575c51e65038d4c5c1be>

## 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-89595>

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