# vfs: Don't leak disconnected dentries on umount

CVE record · `CVE-2025-40105`

- **Identifiers:** `CVE-2025-40105`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Oct 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Oct 2025, 09:48 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: `f1ee616214cb22410e939d963bbb2349c2570f02 to before b5abafd0aa8d7bcb935c8f91e4cfc2f2820759e4` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before 20863bb7fbb016379f8227122edfabc5c799bc79` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before 8004d4b8cbf1bd68a23c160d57287e177c82cc69` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before 7e0c8aaf4e28918abded547a5147c7d52c4af7d2` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before cebfbf40056a4d858b2a3ca59a69936d599bd209` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before 620f3b0ede9c5cb4976cd0457d0b04ad551e5d6b` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before eadc49999fa994d6fbd70c332bd5d5051cc42261` (git)
  - affected: `f1ee616214cb22410e939d963bbb2349c2570f02 to before 56094ad3eaa21e6621396cc33811d8f72847a834` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.16`
  - unaffected: `before 4.16` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.196 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.158 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.114 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.55 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.5 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel from 4.16 up to the fixed commits is affected. Calling open_by_handle_at() on uncached inodes, combined with a race or filesystem corruption, leaks disconnected dentries on umount, which can keep memory in use and cause "Busy inodes after unmount" errors. Upgrade to 5.4.301, 5.10.246, 5.15.196, 6.1.158 or a later release in the matching branch.

Written 19 Nov 2026.

## 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 30 Oct 2025, 09:48 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-40105)
- 30 Oct 2025, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40105)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b5abafd0aa8d7bcb935c8f91e4cfc2f2820759e4>
- <https://git.kernel.org/stable/c/20863bb7fbb016379f8227122edfabc5c799bc79>
- <https://git.kernel.org/stable/c/8004d4b8cbf1bd68a23c160d57287e177c82cc69>
- <https://git.kernel.org/stable/c/7e0c8aaf4e28918abded547a5147c7d52c4af7d2>
- <https://git.kernel.org/stable/c/cebfbf40056a4d858b2a3ca59a69936d599bd209>
- <https://git.kernel.org/stable/c/620f3b0ede9c5cb4976cd0457d0b04ad551e5d6b>
- <https://git.kernel.org/stable/c/eadc49999fa994d6fbd70c332bd5d5051cc42261>
- <https://git.kernel.org/stable/c/56094ad3eaa21e6621396cc33811d8f72847a834>

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-2025-40105>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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