# ksmbd: fix recursive locking in RPC handle list access

CVE record · `CVE-2025-40090`

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

Published by the CVE Program (CNA: Linux) at 30 Oct 2025, 09:47 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: `69674b029002b1d90b655f014bdf64f404efa54d to before 5493571f4351f74e11db9943e98a07c56467cf7e` (git)
  - affected: `6b615a8fb3af0baf8126cde3d4fee97d57222ffc to before 1891abe832cbf5a11039e088766131d0f1642d02` (git)
  - affected: `5cc679ba0f4505936124cd4179ba66bb0a4bd9f3 to before 4602b8cee1481dbb896182e5cb1e8cf12910e9e7` (git)
  - affected: `6bd7e0e55dcea2cf0d391bbc21c2eb069b4be3e1 to before 3412fbd81b46b9cfae013817b61d4bbd27e09e36` (git)
  - affected: `305853cce379407090a73b38c5de5ba748893aee to before 88f170814fea74911ceab798a43cbd7c5599bed4` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.12.53 to before 6.12.55` (semver)
  - affected: `6.17.3 to before 6.17.5` (semver)
  - Other versions: unaffected

## 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.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux)

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

## Timeline

This record came from the full history of the CVE Program, published 30 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5493571f4351f74e11db9943e98a07c56467cf7e>
- <https://git.kernel.org/stable/c/1891abe832cbf5a11039e088766131d0f1642d02>
- <https://git.kernel.org/stable/c/4602b8cee1481dbb896182e5cb1e8cf12910e9e7>
- <https://git.kernel.org/stable/c/3412fbd81b46b9cfae013817b61d4bbd27e09e36>
- <https://git.kernel.org/stable/c/88f170814fea74911ceab798a43cbd7c5599bed4>

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

---

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