# CVE-2026-45972: smb: client: fix potential UAF and double free in smb2\_open\_file()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-416, CWE-825
- **Published:** 2026-05-27T12:18:31.500Z
- **Modified:** 2026-10-19T20:18:22.800Z

## Who should check

- Anyone running Linux \>= 743f70406264348c0830f38409eb6c40a42fb2db, \< 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; \>= 3a6d6b332f92990958602c1e35ce0173e2dd62e9, \< 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; \>= b64e3b5d8d759dd4333992e4ba4dadf9359952c8, \< 4d339b219004869e96c4ce56b8891f83a38da4c0; \>= 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5, \< e66dcf7bb9c4df5582c82bc3582725abcbfbea73; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< 639deb962986ef2f5e2a6d5a600c66f922471e81; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< ebbbc4bfad4cb355d17c671223d0814ee3ef4eda; \>= 6.1.163, \< 6.1.165; \>= 6.6.124, \< 6.6.128; \>= 6.12.70, \< 6.12.75; \>= 6.18.10, \< 6.18.14
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix potential UAF and double free in smb2\_open\_file()

Zero out @err\_iov and @err\_buftype before retrying SMB2\_open() to
prevent an UAF bug if @data != NULL, otherwise a double free.

## Affected and fixed versions

- Linux: \>= 743f70406264348c0830f38409eb6c40a42fb2db, \< 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; \>= 3a6d6b332f92990958602c1e35ce0173e2dd62e9, \< 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; \>= b64e3b5d8d759dd4333992e4ba4dadf9359952c8, \< 4d339b219004869e96c4ce56b8891f83a38da4c0; \>= 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5, \< e66dcf7bb9c4df5582c82bc3582725abcbfbea73; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< 639deb962986ef2f5e2a6d5a600c66f922471e81; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< ebbbc4bfad4cb355d17c671223d0814ee3ef4eda; \>= 6.1.163, \< 6.1.165; \>= 6.6.124, \< 6.6.128; \>= 6.12.70, \< 6.12.75; \>= 6.18.10, \< 6.18.14 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 6.18.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45972. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45972.md
Affected: Linux >= 743f70406264348c0830f38409eb6c40a42fb2db, < 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; >= 3a6d6b332f92990958602c1e35ce0173e2dd62e9, < 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; >= b64e3b5d8d759dd4333992e4ba4dadf9359952c8, < 4d339b219004869e96c4ce56b8891f83a38da4c0; >= 9ee608a64e37cea5b4b13e4…
Fixed in: Linux 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74, Linux 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151, Linux 4d339b219004869e96c4ce56b8891f83a38da4c0, Linux 639deb962986ef2f5e2a6d5a600c66f922471e81, Linux 6.1.165, Linux 6.6.128, Linux 6.12.75, Linux 6.18.14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45972 being exploited?

There is no confirmed exploitation: CVE-2026-45972 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45972?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-45972?

Linux \>= 743f70406264348c0830f38409eb6c40a42fb2db, \< 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; \>= 3a6d6b332f92990958602c1e35ce0173e2dd62e9, \< 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; \>= b64e3b5d8d759dd4333992e4ba4dadf9359952c8, \< 4d339b219004869e96c4ce56b8891f83a38da4c0; \>= 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5, \< e66dcf7bb9c4df5582c82bc3582725abcbfbea73; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< 639deb962986ef2f5e2a6d5a600c66f922471e81; \>= e3a43633023e3cacaca60d4b8972d084a2b06236, \< ebbbc4bfad4cb355d17c671223d0814ee3ef4eda; \>= 6.1.163, \< 6.1.165; \>= 6.6.124, \< 6.6.128; \>= 6.12.70, \< 6.12.75; \>= 6.18.10, \< 6.18.14; Linux 6.19.

### Is there a fix for CVE-2026-45972?

Yes. Fixed in Linux 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74, Linux 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151, Linux 4d339b219004869e96c4ce56b8891f83a38da4c0, Linux 639deb962986ef2f5e2a6d5a600c66f922471e81, Linux 6.1.165, Linux 6.6.128, Linux 6.12.75, Linux 6.18.14. Upgrade Linux to 6.18.14 or later.

### How do I check if I'm affected by CVE-2026-45972?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74>
- patch: <https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151>
- patch: <https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0>
- patch: <https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73>
- patch: <https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81>
- patch: <https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda>
- other: <https://access.redhat.com/security/cve/CVE-2026-45972>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2481973>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45972>

HTML: <https://flawdb.com/CVE-2026-45972> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45972>
