# smb: client: fix potential UAF and double free in smb2_open_file()

CVE record · `CVE-2026-45972`

- **Identifiers:** `CVE-2026-45972`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-825](https://cwe.mitre.org/data/definitions/825.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:18 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `743f70406264348c0830f38409eb6c40a42fb2db to before 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74` (git)
  - affected: `3a6d6b332f92990958602c1e35ce0173e2dd62e9 to before 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151` (git)
  - affected: `b64e3b5d8d759dd4333992e4ba4dadf9359952c8 to before 4d339b219004869e96c4ce56b8891f83a38da4c0` (git)
  - affected: `9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5 to before e66dcf7bb9c4df5582c82bc3582725abcbfbea73` (git)
  - affected: `e3a43633023e3cacaca60d4b8972d084a2b06236 to before 639deb962986ef2f5e2a6d5a600c66f922471e81` (git)
  - affected: `e3a43633023e3cacaca60d4b8972d084a2b06236 to before ebbbc4bfad4cb355d17c671223d0814ee3ef4eda` (git)
  - affected: `6.1.163 to before 6.1.165` (semver)
  - affected: `6.6.124 to before 6.6.128` (semver)
  - affected: `6.12.70 to before 6.12.75` (semver)
  - affected: `6.18.10 to before 6.18.14` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.19`
  - unaffected: `before 6.19` (semver)
  - unaffected: `6.1.165 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.128 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.75 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.14 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.4 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.0 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (redhat-SADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0033, the 26th percentile, on 17 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 27 May 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74>
- <https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151>
- <https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0>
- <https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73>
- <https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81>
- <https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda>

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

---

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