What’s Vulnerable › Vulnerabilities
CVE-2026-45972: smb: client: fix potential UAF and double free in smb2_open_file()
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-10-19
- Weakness: CWE-416
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 products
- 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 — fixed in 6.1.165, 6.12.75, 6.18.14, 6.19.4, 6.6.128
How to fix
Upgrade to a fixed version: Linux kernel 6.1.165, 6.12.75, 6.18.14, 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0
- https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81
- https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151
- https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74
- https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73
- https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda
- https://access.redhat.com/security/cve/CVE-2026-45972
- https://bugzilla.redhat.com/show_bug.cgi?id=2481973
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json
Get alerted when CVE-2026-45972 or the next vulnerability affects your stack