CVE-2026-98452

smb: client: clean up failed cached directory opens

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 to before 48958ddda3d7eee3600261e2d90671f63e055dc4Affected
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 to before abab661eed00fa102d3c35ddf1cce4f687e718c1Affected
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 to before 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295Affected
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 to before d2ff5fb93ea83034025850266b5eed391f96b825Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.