CVE-2026-45972
smb: client: fix potential UAF and double free in smb2_open_file()
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.
INFO
Published Date :
May 27, 2026, 2:17 p.m.
Last Modified :
Oct. 19, 2026, 8:18 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-45972
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | ||||
| CVSS 3.1 | HIGH | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Update the Linux kernel to the latest version.
- Apply the relevant security patches.
- Reboot the system after updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45972.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45972 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45972
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45972 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45972 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-825 -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/security/cve/CVE-2026-45972 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2481973 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json Removed Reference https://access.redhat.com/security/cve/CVE-2026-45972 Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=2481973 Removed Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-45972', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:18:43.156960Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 Added Reference https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 Added Reference https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 Added Reference https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 Added Reference https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 Added Reference https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda Removed Reference https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 Removed Reference https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 Removed Reference https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 Removed Reference https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 Removed Reference https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 Removed Reference https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda Removed Reference Type https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda Types: Patch -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 15, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:/o:redhat:enterprise_linux:10'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 10', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/o:redhat:enterprise_linux:10'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 10', 'packageName': 'kernel', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'kernel', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'kernel', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'kernel-rt', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'packageName': 'kernel', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'packageName': 'kernel-rt', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'packageName': 'kernel', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'packageName': 'kernel-rt', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}] -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jun. 30, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/o:redhat:enterprise_linux:10'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 10', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}] Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-825 Added Reference https://access.redhat.com/security/cve/CVE-2026-45972 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2481973 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '743f70406264348c0830f38409eb6c40a42fb2db', 'lessThan': '96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74', 'versionType': 'git'}, {'status': 'affected', 'version': '3a6d6b332f92990958602c1e35ce0173e2dd62e9', 'lessThan': '7425453ea16dbc3bbb0f6cac4d60b537e5e4d151', 'versionType': 'git'}, {'status': 'affected', 'version': 'b64e3b5d8d759dd4333992e4ba4dadf9359952c8', 'lessThan': '4d339b219004869e96c4ce56b8891f83a38da4c0', 'versionType': 'git'}, {'status': 'affected', 'version': '9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5', 'lessThan': 'e66dcf7bb9c4df5582c82bc3582725abcbfbea73', 'versionType': 'git'}, {'status': 'affected', 'version': 'e3a43633023e3cacaca60d4b8972d084a2b06236', 'lessThan': '639deb962986ef2f5e2a6d5a600c66f922471e81', 'versionType': 'git'}, {'status': 'affected', 'version': 'e3a43633023e3cacaca60d4b8972d084a2b06236', 'lessThan': 'ebbbc4bfad4cb355d17c671223d0814ee3ef4eda', 'versionType': 'git'}, {'status': 'affected', 'version': '6.1.163', 'lessThan': '6.1.165', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.6.124', 'lessThan': '6.6.128', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.12.70', 'lessThan': '6.12.75', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.18.10', 'lessThan': '6.18.14', 'versionType': 'semver'}], 'programFiles': ['fs/smb/client/smb2file.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.165', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.128', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.14', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.4', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/smb2file.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Jun. 16, 2026
Action Type Old Value New Value Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12.70 up to (excluding) 6.12.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.163 up to (excluding) 6.1.165 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.18.10 up to (excluding) 6.18.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19.1 up to (excluding) 6.19.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.124 up to (excluding) 6.6.128 Added Reference Type kernel.org: https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 27, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 Added Reference https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 Added Reference https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 Added Reference https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 Added Reference https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 Added Reference https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda