# inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails

CVE record · `CVE-2026-46040`

- **Identifiers:** `CVE-2026-46040`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 3ab58cf42c46bf2366d2f55ae5c59299d5e178b7` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 10edf7e0ffdc7faa18e2244b17722c1b882b8273` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 3ad9ccea1b25435f6179b57aa891960beb7ce8f9` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 8bcc1cd237ab5ccfdd102869fa031c541943cf40` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 73ddc8518a32baff6bc17afda4ee1ebae5b4ed12` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before fdaa42ca370d056428e5e171247c8fdce8dff36a` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 9e48844f708eb48bae4e79cb21edc097c966306d` (git)
  - affected: `1cce1eea0aff51201753fcaca421df825b0813b6 to before 6a320935fa4293e9e599ec9f85dc9eb3be7029f8` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.11`
  - unaffected: `before 4.11` (semver)
  - unaffected: `5.10.258 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.140 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.86 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.27 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.4 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2026, 12:56 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-46040)
- 27 May 2026, 14:17 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-46040)

## Sources

- [CVE List: CVE-2026-46040](https://www.cve.org/CVERecord?id=CVE-2026-46040)
- [NVD: CVE-2026-46040](https://nvd.nist.gov/vuln/detail/CVE-2026-46040)

### References from the CNA

- <https://git.kernel.org/stable/c/3ab58cf42c46bf2366d2f55ae5c59299d5e178b7>
- <https://git.kernel.org/stable/c/10edf7e0ffdc7faa18e2244b17722c1b882b8273>
- <https://git.kernel.org/stable/c/3ad9ccea1b25435f6179b57aa891960beb7ce8f9>
- <https://git.kernel.org/stable/c/8bcc1cd237ab5ccfdd102869fa031c541943cf40>
- <https://git.kernel.org/stable/c/73ddc8518a32baff6bc17afda4ee1ebae5b4ed12>
- <https://git.kernel.org/stable/c/fdaa42ca370d056428e5e171247c8fdce8dff36a>
- <https://git.kernel.org/stable/c/9e48844f708eb48bae4e79cb21edc097c966306d>
- <https://git.kernel.org/stable/c/6a320935fa4293e9e599ec9f85dc9eb3be7029f8>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-46040>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-46040/>. Everything for agents: <https://agentprime.io/llms.txt>.
