smb: client: fix potential UAF and double free in smb2_open_file()
Summary
| CVE | CVE-2026-45972 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:17:14 UTC |
| Updated | 2026-06-30 03:20:07 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7 HIGH from ADP
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.000720000 probability, percentile 0.219700000 (date 2026-06-03)
Problem Types: CWE-416 | CWE-825 | CWE-825 Expired Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | CVSS | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | Secondary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 743f70406264348c0830f38409eb6c40a42fb2db 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 git | Not specified |
| CNA | Linux | Linux | affected 3a6d6b332f92990958602c1e35ce0173e2dd62e9 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 git | Not specified |
| CNA | Linux | Linux | affected b64e3b5d8d759dd4333992e4ba4dadf9359952c8 4d339b219004869e96c4ce56b8891f83a38da4c0 git | Not specified |
| CNA | Linux | Linux | affected 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5 e66dcf7bb9c4df5582c82bc3582725abcbfbea73 git | Not specified |
| CNA | Linux | Linux | affected e3a43633023e3cacaca60d4b8972d084a2b06236 639deb962986ef2f5e2a6d5a600c66f922471e81 git | Not specified |
| CNA | Linux | Linux | affected e3a43633023e3cacaca60d4b8972d084a2b06236 ebbbc4bfad4cb355d17c671223d0814ee3ef4eda git | Not specified |
| CNA | Linux | Linux | affected 6.1.163 6.1.165 semver | Not specified |
| CNA | Linux | Linux | affected 6.6.124 6.6.128 semver | Not specified |
| CNA | Linux | Linux | affected 6.12.70 6.12.75 semver | Not specified |
| CNA | Linux | Linux | affected 6.18.10 6.18.14 semver | Not specified |
| CNA | Linux | Linux | affected 6.19 | Not specified |
| CNA | Linux | Linux | unaffected 6.19 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.165 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.14 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.4 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/security/cve/CVE-2026-45972 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | security.access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | bugzilla.redhat.com | |
| git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| ADP | 2026-05-27T00:00:00.000Z | Reported to Red Hat. |
| ADP | 2026-05-27T00:00:00.000Z | Made public. |
There are currently no legacy QID mappings associated with this CVE.