Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: close completed creates on compound wait errors

compound_send_recv() waits for responses in order. If a later wait is
interrupted, or if a later MID fails during response synchronization, an
earlier CREATE may already have opened a remote handle. The earlier mid
is then released without invoking handle_cancelled_mid(), leaving the
remote handle open because no FID was copied to the caller.

Mark completed earlier mids as cancelled when a compound wait or MID
synchronization aborts. Keep their response buffers attached while the
MIDs are synchronized, and transfer them only after synchronization of
the processed responses, so the release path can inspect successful
CREATE responses and queue SMB2_close() after a later failure. Account for
a remote open only after the close work is allocated and before it is
queued, since the caller has not yet updated num_remote_opens. Mark the
create+close compound used by smb2_unlink() so it is not closed again.
Non-CREATE responses and compounds that already include a close keep their
existing behavior.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Resource Leak / Remote Handle Leakage
Action: Patch
AI Analysis

Impact

In the Linux kernel SMB client, the compound_send_recv routine incorrectly handles error synchronization for compound requests. If a later operation in the compound sequence fails or is interrupted, an earlier CREATE may already have opened a remote SMB handle that is then released without invoking handle_cancelled_mid(). The omission leaves the remote handle open because the corresponding FID is not copied to the caller, resulting in a lingering handle. This flaw is a resource‑handling weakness that can lead to resource exhaustion and potential unauthorized access to the SMB share held by the open handle.

Affected Systems

Linux kernel versions prior to the applied patch. All Linux distributions that ship with the vulnerable kernel code are affected, regardless of kernel flavour.

Risk and Exploitability

While no CVSS or EPSS score is publicly available, the lack of KEV listing suggests the vulnerability is not yet widely exploited but remains a serious concern for kernel maintainers. The vulnerability can be triggered by sending a crafted compound SMB packet from a remote client, which would cause the kernel to leave an opened handle after a subsequent failure. Attackers with network access to the SMB client can sustain this state repeatedly, potentially exhausting remote server handles or maintaining unauthorized access. The risk is exacerbated in environments where the SMB client processes many short‑lived connections. With the EPSS marked as not available, the exploitation probability can be considered uncertain but non-zero pending further analysis.

Generated by OpenCVE AI on October 18, 2026 at 23:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the fix for the SMB client compound wait handling bug
  • Configure the SMB client to avoid using compound CREATE requests if the application permits, or restrict the SMB protocol to a version that does not support compound operations
  • Monitor the system and SMB server for unusually high numbers of open or orphaned SMB handles, and coordinate with SMB server administrators to close stale sessions

Generated by OpenCVE AI on October 18, 2026 at 23:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-674

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: close completed creates on compound wait errors compound_send_recv() waits for responses in order. If a later wait is interrupted, or if a later MID fails during response synchronization, an earlier CREATE may already have opened a remote handle. The earlier mid is then released without invoking handle_cancelled_mid(), leaving the remote handle open because no FID was copied to the caller. Mark completed earlier mids as cancelled when a compound wait or MID synchronization aborts. Keep their response buffers attached while the MIDs are synchronized, and transfer them only after synchronization of the processed responses, so the release path can inspect successful CREATE responses and queue SMB2_close() after a later failure. Account for a remote open only after the close work is allocated and before it is queued, since the caller has not yet updated num_remote_opens. Mark the create+close compound used by smb2_unlink() so it is not closed again. Non-CREATE responses and compounds that already include a close keep their existing behavior.
Title smb: client: close completed creates on compound wait errors
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-10-18T15:15:00.649Z

Reserved: 2026-09-25T10:25:14.350Z

Link: CVE-2026-98450

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:55.333

Modified: 2026-10-18T16:16:55.333

Link: CVE-2026-98450

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T00:00:10Z

Weaknesses