CVE-2026-45972Published May 27, 2026 · May 27Updated 2d ago
smb: client: fix potential UAF and double free in smb2_open_file()
Linux
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e3a43633023e3cacaca60d4b8972d084a2b06236 · < ebbbc4bfad4cb355d17c671223d0814ee3ef4eda| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SMB client has a potential use-after-free or double free when smb2_open_file() retries SMB2_open(). The use-after-free can occur when data is non-NULL; otherwise, a double free can occur. The input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel SMB client should check their systems; affected versions are not specified.