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

smb: client: clean up failed cached directory opens

open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If
the CREATE succeeds but a later command returns an error, the function
must retain the CREATE FID so common cleanup can issue SMB2_close(). It
also must not treat a response error as a valid CREATE.

Validate the CREATE response before using its fields, record the FIDs, and
mark the handle open before handling errors from later compound commands.
Move the -EREMCHG reconnect handling before response validation so a
missing response does not hide the reconnect request. Count the handle
when it is marked open; confirmed close responses decrement the counter,
while existing close retry behavior remains best effort on transport
failures.
Published: 2026-10-18
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Resource exhaustion leading to denial of service
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel SMB client, compound SMB2 requests that begin with a CREATE operation are handled incorrectly when the following command fails. The code continues to use the CREATE response without validating it, records the file identifier as open, and increments the open‑handle counter. This improper initialization and type handling can cause the kernel to believe a handle is open when it is not, leading to an inflated handle count and potential resource exhaustion or corruption. The flaw is an example of CWE‑771 weakness.

Affected Systems

The vulnerability exists in all Linux kernel builds that include the SMB client interface, regardless of version, until the patch commits are applied. The affected vendor is Linux and the product is the Linux kernel itself, with no specific kernel version ranges indicated, meaning any kernel prior to the official patch is susceptible.

Risk and Exploitability

The CVSS score of 6.5 classifies the vulnerability as moderate severity. EPSS is below 1%, indicating a very low probability of exploitation, and it is not listed in the CISA KEV catalog. The likely attack vector is a malicious or malformed SMB2 request sent by an attacker to the kernel SMB client; this inference is based on the description which describes errors in handling compound requests. Because the flaw requires network‑level SMB access and does not expose a direct user‑level trigger, the threat to most environments is moderate, especially when SMB client usage is frequent and no patch is applied.

Generated by OpenCVE AI on October 20, 2026 at 20:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install a kernel release that includes the fix for the SMB client cached directory cleanup.
  • Reboot the system to activate the updated kernel.
  • If a kernel upgrade cannot be performed immediately, disable or restrict SMB client functionality until the patch is available.

Generated by OpenCVE AI on October 20, 2026 at 20:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-704
CWE-772

Tue, 20 Oct 2026 00:30:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-665
CWE-704
CWE-772

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: clean up failed cached directory opens open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If the CREATE succeeds but a later command returns an error, the function must retain the CREATE FID so common cleanup can issue SMB2_close(). It also must not treat a response error as a valid CREATE. Validate the CREATE response before using its fields, record the FIDs, and mark the handle open before handling errors from later compound commands. Move the -EREMCHG reconnect handling before response validation so a missing response does not hide the reconnect request. Count the handle when it is marked open; confirmed close responses decrement the counter, while existing close retry behavior remains best effort on transport failures.
Title smb: client: clean up failed cached directory opens
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-19T09:19:47.547Z

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

Link: CVE-2026-98452

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-19T10:18:54.437

Link: CVE-2026-98452

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98452 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T21:00:18Z

Weaknesses
  • CWE-771

    Missing Reference to Active Allocated Resource