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.
Published: 2026-05-27
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A bug in the Linux kernel SMB client occurs during the smb2_open_file() operation where the system can experience a use‑after‑free or a double‑free if certain error buffer conditions are not satisfied. This flaw corrupts kernel memory. Based on the description, it is inferred that an attacker might influence the buffers, which could lead to arbitrary code execution or a system crash, thereby compromising integrity and availability.

Affected Systems

All Linux kernel releases that include the SMB client prior to the commit applying the fix; any kernel version before the referenced commits is vulnerable per the advisory links.

Risk and Exploitability

The CVSS score is 9.8, and the EPSS score is below 1%, indicating a low probability of exploitation. The nature of the flaw—kernel‑level memory corruption—implies high damage if the issue is leveraged. The likely attack vector is remote via SMB traffic, but this is inferred because the description does not explicitly state the required conditions. No public exploitation evidence or CISA KEV listing exists, yet the vulnerability can be reached from a network space that can communicate over SMB. The overall risk remains significant, with high impact and low likelihood.

Generated by OpenCVE AI on June 17, 2026 at 00:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit fixing the smb2_open_file() UAF and double‑free issue.
  • If a kernel update cannot be applied immediately, restrict SMB traffic to trusted hosts or block the SMB port (445) from untrusted networks to reduce the attack surface.
  • As a precaution, consider enabling SELinux or AppArmor with strict profiles to limit the impact of any kernel memory corruption that may still occur.

Generated by OpenCVE AI on June 17, 2026 at 00:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*

Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 28 May 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Wed, 27 May 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values 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.
Title smb: client: fix potential UAF and double free in smb2_open_file()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-30T10:46:21.265Z

Reserved: 2026-05-13T15:03:33.090Z

Link: CVE-2026-45972

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:14.173

Modified: 2026-06-16T02:42:11.017

Link: CVE-2026-45972

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45972 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-17T00:30:15Z

Weaknesses