Katalog CVE

CVE-2026-89595

Niskie ryzyko· EPSS 10%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.20%

Percentyl 10 - wyżej niż 10% wszystkich znanych CVE

Streszczenie

W jądrze Linux naprawiono błąd wyścigu w podsystemie fsnotify dotyczący aktualizacji masek zdarzeń dla znaczników (mark). Równoległe aktualizacje różnych znaczników na tym samym obiekcie mogły prowadzić do pozostawienia nieaktualnej maski obiektu, przez co zdarzenia takie jak FAN_MODIFY lub IN_MODIFY mogły nie być zgłaszane mimo poprawnej konfiguracji. Problem występował m.in. w fanotify i inotify.

Ocena ryzyka

Organizacje korzystające z fanotify lub inotify do monitorowania zmian w plikach mogą nie otrzymywać niektórych zdarzeń modyfikacji, co może prowadzić do pominięcia istotnych zmian przez systemy bezpieczeństwa, audytu lub synchronizacji plików.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla CVE-2026-89595. Jeśli aktualizacja nie jest możliwa, przeanalizuj, czy aplikacje oparte na fanotify/inotify nie polegają wyłącznie na zdarzeniach modyfikacji i rozważ dodatkowe mechanizmy wykrywania zmian.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS