Skip to main content

Linux Kernel EUVDEUVD-2026-32421

| CVE-2026-46040 MEDIUM
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-38g3-xqxq-2v2p
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege shell access
  2. Delivery
    Invoke inotify_add_watch() under error-inducing conditions
  3. Exploit
    Leak watch count on each failed fsnotify_add_mark insertion
  4. Execution
    Repeat until max_user_watches namespace limit is exhausted
  5. Impact
    Deny inotify service to all processes in the namespace

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local system access with at least low-privilege credentials (PR:L per CVSS vector), sufficient to invoke the inotify_add_watch() syscall. The critical prerequisite is the ability to cause fsnotify_add_inode_mark_locked() to return an error during watch creation - the precise conditions for this failure (e.g., memory exhaustion, contention on internal kernel structures) are not enumerated in the available description, introducing uncertainty about how reliably an attacker can trigger the path. Remote exploitation is not possible (AV:L). Exploitation is scoped to the per-user-namespace watch count; users in separate user namespaces or operating as root are unaffected. Non-default configurations reducing max_user_watches slow but do not prevent exploitation. What limits exploitation: the requirement for local access, the need to hit an error path whose trigger conditions are uncommon in normal operation, and the fact that impact is confined to inotify availability within the attacker's namespace.

Impact

The CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) is internally consistent: the attack vector is local-only, low privileges are sufficient to invoke inotify syscalls, and the sole impact is availability. The EPSS score of 0.02% at the 5th percentile reinforces that automated or widespread exploitation is not anticipated. There is no CISA KEV listing and no known public POC. The primary real-world risk is a malicious or buggy local process disrupting inotify-dependent services such as container runtimes, file synchronization daemons, or IDE tooling by depleting the namespace watch limit. Note that the intelligence source tags this as 'Information Disclosure,' which directly conflicts with the CVE description and CVSS vector (C:N/I:N) - that tag should be disregarded as erroneous. The attack complexity is low in terms of privilege requirements but depends on repeatedly triggering the failure path in fsnotify_add_inode_mark_locked(), whose frequency under normal conditions is not documented in available data, introducing some uncertainty about practical exploitability.

Exploit ScenarioDerived

A malicious local user with a shell account repeatedly invokes inotify_add_watch() targeting inodes under conditions where the underlying fsnotify_add_inode_mark_locked() call returns an error - such as during memory pressure - causing each failed attempt to increment the user's watch count without a decrement. After iterating this enough times to reach the max_user_watches limit, the user's namespace becomes permanently unable to create new inotify watches, breaking applications such as Docker, VS Code, or rsync that rely on inotify for file monitoring. No public proof-of-concept code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Resource accounting exhaustion in the Linux kernel's inotify subsystem allows a local low-privileged user to permanently leak watch counts by repeatedly triggering a failure path in inotify_new_watch() that increments the per-namespace watch counter without a corresponding decrement. Over time this exhausts the max_user_watches limit, causing all subsequent inotify watch creation within the namespace to fail with -ENOSPC even when no watches are genuinely active, constituting a local denial-of-service against inotify-dependent applications. No public exploit has been identified at time of analysis, and the EPSS score of 0.02% (5th percentile) reflects very low real-world exploitation probability with no CISA KEV listing.

RemediationAI

Upgrade to a patched kernel version: 6.6.140, 6.12.86, 6.18.27, 7.0.4, or 7.1-rc1, as published to the upstream stable tree at https://git.kernel.org/stable/. Distribution maintainers (Red Hat, Debian, Ubuntu, SUSE, etc.) are expected to backport these one-line fixes; consult your distribution's security advisory channel. If immediate kernel patching is not possible, a targeted compensating control is to lower the fs.inotify.max_user_watches sysctl (e.g., sysctl -w fs.inotify.max_user_watches=256) to minimize the window of exhaustion - trade-off: legitimate inotify-heavy applications such as IDEs or container runtimes may hit the limit prematurely and require per-application tuning. Additionally, restricting interactive shell or syscall access for untrusted local users via seccomp profiles or user namespace restrictions will prevent the necessary syscall invocation entirely, which is the most durable mitigation short of patching.

Affected VersionsENISA

Linux 1cce1eea0aff51201753fcaca421df825b0813b6 <fdaa42ca370d056428e5e171247c8fdce8dff36a
Linux patch: 6.18.27
Linux 1cce1eea0aff51201753fcaca421df825b0813b6 <8bcc1cd237ab5ccfdd102869fa031c541943cf40
Linux patch: 6.6.140
Linux patch: 0
Linux 1cce1eea0aff51201753fcaca421df825b0813b6 <73ddc8518a32baff6bc17afda4ee1ebae5b4ed12
Linux 4.11
Linux patch: 7.1-rc1
Linux 1cce1eea0aff51201753fcaca421df825b0813b6 <9e48844f708eb48bae4e79cb21edc097c966306d
Linux patch: 7.0.4
Linux patch: 6.12.86
Linux 1cce1eea0aff51201753fcaca421df825b0813b6 <6a320935fa4293e9e599ec9f85dc9eb3be7029f8

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

inotify is a Linux kernel filesystem notification subsystem exposed via the inotify_init()/inotify_add_watch() syscall interface that allows userspace processes to receive events on inode changes. The vulnerability exists in inotify_new_watch() in fs/notify/inotify/inotify_user.c. The regression was introduced by commit 1cce1eea0aff ('inotify: Convert to using per-namespace limits'), which restructured the ordering of inc_inotify_watches() relative to the actual mark insertion via fsnotify_add_inode_mark_locked(). Prior to that commit, inc_inotify_watches() was only called after successful insertion; the conversion moved it before insertion without adding the symmetric rollback in the error path. Conceptually this maps to CWE-772 (Missing Release of Resource after Effective Lifetime) - a resource accounting leak, not a memory leak per se. Affected CPE is cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, spanning all stable branches that contain the regressing commit.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local syscall invocation requires low-privilege shell access; purely availability impact from watch-count exhaustion with zero confidentiality or integrity exposure.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 16, 2026 - 15:22 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails

When fsnotify_add_inode_mark_locked() fails in inotify_new_watch(), the error path calls inotify_remove_from_idr() but does not call dec_inotify_watches() to undo the preceding inc_inotify_watches(). This leaks a watch count, and repeated failures can exhaust the max_user_watches limit with -ENOSPC even when no watches are active.

Prior to commit 1cce1eea0aff ("inotify: Convert to using per-namespace limits"), the watch count was incremented after fsnotify_add_mark_locked() succeeded, so this path was not affected. The conversion moved inc_inotify_watches() before the mark insertion without adding the corresponding rollback.

Add the missing dec_inotify_watches() call in the error path.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy