Unscored severity · published Oct 28, 2026
CVE-2026-99175
fsnotify: prevent mark additions during connector teardown
New
–
CVSS
–
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
fsnotify: prevent mark additions during connector teardown
fsnotify_destroy_marks() keeps a reference to its current mark while it
drops conn->lock to destroy the mark. This stabilizes the forward-walk
cursor, but does not prevent a new mark from being inserted before it.
For example, an inotify watch re-added after IN_IGNORED sorts before the
old, detached mark for the same group. The walk can miss the replacement
and then detach the entire connector from the object.
The replacement is still on its group's marks_list and, for inotify, in
the watch IDR. The group mutex no longer protects the connector's object
from disappearing. An unprivileged fdinfo read racing the final detach
can consequently call igrab(NULL):
BUG: KASAN: null-ptr-deref in igrab+0x24/0x100
Write of size 4 at addr 0000000000000148
Call Trace:
igrab+0x24/0x100
inotify_show_fdinfo+0x1dc/0x5e0
seq_show+0x397/0x690
Set a DESTROYING flag under conn->lock before starting the walk, and
reject new marks on that connector with -ENOENT. The existing add-mark
error paths undo the temporary group-list entry and the backend's watch
allocation. Do not wait for teardown while holding the group mutex,
which the destroyer needs. Once the old connector is detached, an add
can install a fresh connector as before.
This closes the insertion race for all object types using the common
connector teardown, without changing the mark reference or SRCU lifetime
rules.
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Linux · Linux
6b3f05d24d355f50f3d9814304650fcab0efb482 before 952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1; 6b3f05d24d355f50f3d9814304650fcab0efb482 before 472589eacdf10b5f9bd10b333957ed5291b2544b; 6b3f05d24d355f50f3d9814304650fcab0efb482 before 36ebddca56b9d8993d6dc984fdecc748ee1f5e06; 4.12 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-99175
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-99175
git.kernel.org
https://git.kernel.org/stable/c/952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1
git.kernel.org
https://git.kernel.org/stable/c/472589eacdf10b5f9bd10b333957ed5291b2544b
git.kernel.org
https://git.kernel.org/stable/c/36ebddca56b9d8993d6dc984fdecc748ee1f5e06
More from Linux
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
7.8
CVE-2026-53362
ipv6: account for fraggap on the paged allocation path
7.8
CVE-2026-46300
net: skbuff: preserve shared-frag marker during coalescing
7.8
CVE-2026-31431
crypto: algif_aead - Revert to operating out-of-place
