CVE-2026-98452

smb: client: clean up failed cached directory opens

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.

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.175% likely to be exploited in the next 30 days, higher than 7.122% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 up to but excluding 48958ddda3d7eee3600261e2d90671f63e055dc4 (affected)
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 up to but excluding abab661eed00fa102d3c35ddf1cce4f687e718c1 (affected)
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 up to but excluding 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295 (affected)
  • b0f6df737a1c5d9d5ff90cc946205d8af46cc067 up to but excluding d2ff5fb93ea83034025850266b5eed391f96b825 (affected)
LinuxLinux
  • Default status: affected
  • 5.1 (affected)
  • 0 up to but excluding 5.1 (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.55 up to and including 6.18.* (unaffected)
  • 7.2.9 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References