# CVE-2026-45972: smb: client: fix potential UAF and double free in smb2_open_file()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-02)
- Published: 2026-05-27T12:18:31.500Z
- Modified: 2026-10-19T20:18:22.800Z
- Weaknesses: CWE-416, CWE-825
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 743f70406264348c0830f38409eb6c40a42fb2db before 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; from 3a6d6b332f92990958602c1e35ce0173e2dd62e9 before 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; from b64e3b5d8d759dd4333992e4ba4dadf9359952c8 before 4d339b219004869e96c4ce56b8891f83a38da4c0; from 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5 before e66dcf7bb9c4df5582c82bc3582725abcbfbea73; from e3a43633023e3cacaca60d4b8972d084a2b06236 before 639deb962986ef2f5e2a6d5a600c66f922471e81; from e3a43633023e3cacaca60d4b8972d084a2b06236 before ebbbc4bfad4cb355d17c671223d0814ee3ef4eda; from 6.1.163 before 6.1.165; from 6.6.124 before 6.6.128; from 6.12.70 before 6.12.75; from 6.18.10 before 6.18.14; 6.19 (not affected: before 6.19; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- kernel: no versions given
- kernel-rt: no versions given
- linux linux_kernel: from 6.1.163 before 6.1.165; from 6.6.124 before 6.6.128; from 6.12.70 before 6.12.75; from 6.18.10 before 6.18.14; from 6.19.1 before 6.19.4; 6.19

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-45972> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2481973> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json>

## Sources

- CVE List: [CVE-2026-45972](https://www.cve.org/CVERecord?id=CVE-2026-45972), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-45972](https://nvd.nist.gov/vuln/detail/CVE-2026-45972), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-45972 · Whole record: https://cve.day/CVE-2026-45972.json · Rebuilt by cve.day 2026-11-25T22:59:22.527Z
