Linux kernel inotify watch count leak on mark insertion failure
CVE-2026-46040Medium
When the Linux kernel's inotify subsystem fails to add an inode mark, it does not properly decrement the watch count that was previously incremented. An attacker with local access can trigger repeated failures to exhaust the maximum watch limit, causing legitimate watch operations to fail with -ENOSPC errors even when no watches are actually active. The attacker needs only the ability to create inotify watches and trigger conditions that cause mark insertion to fail.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 4.11, before 5.10.258
- linux linux kernel: from 5.11, before 5.15.209
- linux linux kernel: from 5.16, before 6.1.175
- linux linux kernel: from 6.2, before 6.6.140
- linux linux kernel: from 6.7, before 6.12.86
- linux linux kernel: from 6.13, before 6.18.27
- linux linux kernel: from 6.19, before 7.0.4
Reports naming this CVE2 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)