CVE-2026-46040

MEDIUMNVD 5.55.5
EchelonGraph scoreMEDIUM confidence

Score 5.5 from GitHub Security Advisory published 2026-05-27. NVD baseline CVSS 5.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
5.5EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.5Exploit: None knownExposed: 0

A fix is available — apply it.

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.

CVSS v3
5.5
EG Score
5.5(medium)
EG Risk
29(Track)
EG Risk 29/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity55% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
2%
KEV
Not listed

Published

May 27, 2026

Last Modified

June 16, 2026

Advisory Details (8)

Auto-updated Jun 16, 2026
No patch confirmed yet.
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/fdaa42ca370d056428e5e171247c8fdce8dff36a
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/9e48844f708eb48bae4e79cb21edc097c966306d
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8bcc1cd237ab5ccfdd102869fa031c541943cf40
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/73ddc8518a32baff6bc17afda4ee1ebae5b4ed12
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/6a320935fa4293e9e599ec9f85dc9eb3be7029f8
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/3ad9ccea1b25435f6179b57aa891960beb7ce8f9
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/3ab58cf42c46bf2366d2f55ae5c59299d5e178b7
generic

inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/10edf7e0ffdc7faa18e2244b17722c1b882b8273

Vendor Advisories for CVE-2026-46040(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(30)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulinux-tools-azure-fde-7.0 (7.0.0-1009.9) @ resolute2026-08-25ubuntu
ubuntulinux-tools-aws-lts-24.04 (6.8.0-1061.64+1) @ noble2026-08-25ubuntu
ubuntulinux-tools-raspi-realtime-6.8 (6.8.0-2050.52) @ noble2026-08-25ubuntu
ubuntulinux-tools-nvidia-hwe-24.04-edge (7.0.0-1013.13) @ resolute2026-08-25ubuntu
ubuntulinux-virtual-6.8 (6.8.0-136.136) @ noble2026-08-25ubuntu
ubuntulinux-virtual-hwe-26.04-edge (7.0.0-27.27) @ resolute2026-08-25ubuntu
ubuntulinux-virtual-hwe-24.04-edge (7.0.0-28.28~24.04.1) @ noble2026-08-25ubuntu
ubuntulinux-tools-raspi-realtime-7.0 (7.0.0-1014.14) @ resolute2026-08-25ubuntu
ubuntulinux-tools-oracle-edge (5.15.0.1109.115~20.04.1) @ focal2026-08-25ubuntu
ubuntulinux-tools-intel-iotg-5.15 (5.15.0.1107.106) @ jammy2026-08-25ubuntu
ubuntulinux-virtual-hwe-22.04-edge (6.8.0-136.136~22.04.1) @ jammy2026-08-25ubuntu
ubuntulinux-xilinx-zynqmp-tools-5.15.0-1075 (5.15.0-1075.79) @ jammy2026-08-25ubuntu
ubuntulinux-tools-nvidia-tegra-rt-5.15 (5.15.0.1064.66~20.04.1) @ focal2026-08-25ubuntu
ubuntulinux-tools-nvidia-lowlatency-5.15 (5.15.0.1107.107) @ jammy2026-08-25ubuntu
ubuntulinux-tools-nvidia-lowlatency-64k-6.8 (6.8.0-1059.62.1) @ noble2026-08-25ubuntu
ubuntulinux-tools-oracle-lts-24.04 (6.8.0-1058.61) @ noble2026-08-25ubuntu
ubuntulinux-tools-oracle-edge (6.8.0-1058.61~22.04.1) @ jammy2026-08-25ubuntu
ubuntulinux-tools-azure-lts-24.04 (6.8.0-1063.71) @ noble2026-08-25ubuntu
ubuntulinux-tools-oracle-lts-22.04 (5.15.0.1109.105) @ jammy2026-08-25ubuntu
ubuntulinux-tools-azure-fde-lts-22.04 (5.15.0.1117.126) @ jammy2026-08-25ubuntu
ubuntulinux-tools-nvidia-tegra-rt-5.15 (5.15.0.1064.64) @ jammy2026-08-25ubuntu
ubuntulinux-tools-azure-fde-lts-24.04 (6.8.0-1062.69) @ noble2026-08-25ubuntu
ubuntulinux-tools-azure-fips-6.8 (6.8.0-1063.71+fips2) @ noble2026-08-25ubuntu
ubuntulinux-tools-azure-fde-6.8 (6.8.0-1062.69~22.04.1) @ jammy2026-08-25ubuntu
ubuntulinux-tools-aws-edge (6.8.0-1061.64~22.04.1) @ jammy2026-08-25ubuntu
ubuntulinux-tools-intel-iot-realtime-5.15 (5.15.0.1104.108) @ jammy2026-08-25ubuntu
ubuntulinux-tools-gcp-edge (5.15.0.1112.122~20.04.1) @ focal2026-08-25ubuntu
ubuntulinux-xilinx-zynqmp (6.8.0.1033.34) @ noble2026-08-25ubuntu
ubuntulinux-tools-azure-fips-5.15 (5.15.0.1117.102) @ jammy2026-08-25ubuntu
ubuntulinux-tools-ibm-edge (5.15.0.1106.110~20.04.1) @ focal2026-08-25ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(5 across 4 ecosystems)
Debian:11(2)
PackageVulnerable rangeFixed inDependents
linux5.10.103-1 ... 5.10.92-2 (54 versions)5.10.259-1
linux-6.16.1.106-3~deb11u1 ... 6.1.174-1~deb11u1 (20 versions)6.1.176-1~deb11u1
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 6.1.99-1 (53 versions)6.1.176-1
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.38-1 ... 6.12.86-1~bpo12+1 (19 versions)6.12.86-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 7.0.4-1~bpo13+1 (131 versions)7.0.4-1

Additional Vendor Advisories

(24)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 4× in last 7d / 65× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 205 total refreshes for this CVE.

  1. 2026-09-04 05:06 UTCEPSS rescore
  2. 2026-09-01 13:54 UTCEPSS rescore
  3. 2026-08-30 19:17 UTCEPSS rescore
  4. 2026-08-30 01:22 UTCEPSS rescore
  5. 2026-08-28 21:41 UTCEPSS rescore
  6. 2026-08-27 14:25 UTCEPSS rescore
  7. 2026-08-26 14:46 UTCEPSS rescore
  8. 2026-08-25 13:49 UTCEPSS rescore
  9. 2026-08-25 05:26 UTCEG score recompute
  10. 2026-08-25 05:26 UTCVendor advisory
  11. 2026-08-25 05:26 UTCGHSA enrichment
  12. 2026-08-23 15:10 UTCEG score recompute
  13. 2026-08-23 15:10 UTCVendor advisory
  14. 2026-08-23 15:10 UTCGHSA enrichment
  15. 2026-08-23 00:19 UTCEPSS rescore
  16. 2026-08-21 23:49 UTCEPSS rescore
  17. 2026-08-21 20:40 UTCEG score recompute
  18. 2026-08-21 20:40 UTCVendor advisory
  19. 2026-08-21 20:40 UTCGHSA enrichment
  20. 2026-08-20 22:55 UTCEPSS rescore
  21. 2026-08-20 11:27 UTCEG score recompute
  22. 2026-08-20 11:27 UTCVendor advisory
  23. 2026-08-20 11:27 UTCGHSA enrichment
  24. 2026-08-19 17:04 UTCEPSS rescore
  25. 2026-08-18 13:48 UTCEPSS rescore
Show 75 more
  1. 2026-08-17 13:47 UTCEPSS rescore
  2. 2026-08-17 09:18 UTCEG score recompute
  3. 2026-08-17 09:18 UTCVendor advisory
  4. 2026-08-17 09:18 UTCGHSA enrichment
  5. 2026-08-16 14:56 UTCEPSS rescore
  6. 2026-08-16 02:51 UTCEG score recompute
  7. 2026-08-16 02:51 UTCVendor advisory
  8. 2026-08-16 02:51 UTCGHSA enrichment
  9. 2026-08-16 02:14 UTCEPSS rescore
  10. 2026-08-15 01:30 UTCEPSS rescore
  11. 2026-08-14 07:03 UTCEG score recompute
  12. 2026-08-14 07:03 UTCVendor advisory
  13. 2026-08-14 07:03 UTCGHSA enrichment
  14. 2026-08-13 22:00 UTCEPSS rescore
  15. 2026-08-13 05:53 UTCEG score recompute
  16. 2026-08-13 05:53 UTCVendor advisory
  17. 2026-08-13 05:53 UTCGHSA enrichment
  18. 2026-08-12 13:51 UTCEPSS rescore
  19. 2026-08-12 04:18 UTCEG score recompute
  20. 2026-08-12 04:18 UTCVendor advisory
  21. 2026-08-12 04:18 UTCGHSA enrichment
  22. 2026-08-11 02:49 UTCEG score recompute
  23. 2026-08-11 02:49 UTCVendor advisory
  24. 2026-08-11 02:49 UTCGHSA enrichment
  25. 2026-08-11 00:00 UTCEPSS rescore
  26. 2026-08-10 01:38 UTCEG score recompute
  27. 2026-08-10 01:38 UTCVendor advisory
  28. 2026-08-10 01:38 UTCGHSA enrichment
  29. 2026-08-09 13:46 UTCEPSS rescore
  30. 2026-08-09 00:28 UTCEG score recompute
  31. 2026-08-09 00:28 UTCVendor advisory
  32. 2026-08-09 00:28 UTCGHSA enrichment
  33. 2026-08-08 16:37 UTCEPSS rescore
  34. 2026-08-07 23:15 UTCEG score recompute
  35. 2026-08-07 23:15 UTCVendor advisory
  36. 2026-08-07 23:15 UTCGHSA enrichment
  37. 2026-08-06 22:05 UTCEG score recompute
  38. 2026-08-06 22:05 UTCVendor advisory
  39. 2026-08-06 22:05 UTCGHSA enrichment
  40. 2026-08-06 13:47 UTCEPSS rescore
  41. 2026-08-05 20:54 UTCEG score recompute
  42. 2026-08-05 20:54 UTCVendor advisory
  43. 2026-08-05 20:54 UTCGHSA enrichment
  44. 2026-08-05 19:17 UTCEPSS rescore
  45. 2026-08-04 15:10 UTCEPSS rescore
  46. 2026-08-04 10:39 UTCEPSS rescore
  47. 2026-08-03 18:44 UTCEG score recompute
  48. 2026-08-03 18:44 UTCVendor advisory
  49. 2026-08-03 18:44 UTCGHSA enrichment
  50. 2026-08-03 10:36 UTCEPSS rescore
  51. 2026-08-02 16:33 UTCEG score recompute
  52. 2026-08-02 16:33 UTCVendor advisory
  53. 2026-08-02 16:33 UTCGHSA enrichment
  54. 2026-08-02 02:27 UTCEPSS rescore
  55. 2026-08-01 15:22 UTCEG score recompute
  56. 2026-08-01 15:22 UTCVendor advisory
  57. 2026-08-01 15:22 UTCGHSA enrichment
  58. 2026-08-01 04:16 UTCEPSS rescore
  59. 2026-07-31 07:31 UTCEG score recompute
  60. 2026-07-31 07:31 UTCVendor advisory
  61. 2026-07-31 07:31 UTCGHSA enrichment
  62. 2026-07-30 16:28 UTCEPSS rescore
  63. 2026-07-30 01:30 UTCEPSS rescore
  64. 2026-07-29 15:19 UTCEG score recompute
  65. 2026-07-29 15:19 UTCVendor advisory
  66. 2026-07-29 15:19 UTCGHSA enrichment
  67. 2026-07-28 15:36 UTCEPSS rescore
  68. 2026-07-27 14:13 UTCEPSS rescore
  69. 2026-07-27 10:29 UTCEG score recompute
  70. 2026-07-27 10:29 UTCVendor advisory
  71. 2026-07-27 10:28 UTCGHSA enrichment
  72. 2026-07-26 14:54 UTCEPSS rescore
  73. 2026-07-26 14:54 UTCEPSS rescore
  74. 2026-07-25 14:18 UTCEPSS rescore
  75. 2026-07-24 14:17 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-46040?
CVE-2026-46040 is a medium vulnerability published on May 27, 2026. In the Linux kernel, the following vulnerability has been resolved: inotify: fix watch count leak when fsnotifyaddinodemarklocked() fails When fsnotifyaddinodemarklocked() fails in inotifynewwatch(), the error path calls inotifyremovefrom_idr() but does not call decinotifywatches() to undo the…
When was CVE-2026-46040 disclosed?
CVE-2026-46040 was first published in the National Vulnerability Database on May 27, 2026, with the most recent update on June 16, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-46040 actively exploited?
CVE-2026-46040 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 97.7% of all scored CVEs.
What is the CVSS score of CVE-2026-46040?
CVE-2026-46040 has a CVSS v3 base score of 5.5 (NVD).
How do I remediate CVE-2026-46040?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-46040, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-46040

Explore →

Is Your Infrastructure Affected by CVE-2026-46040?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.