All vulnerabilities
CVE-2026-98452

Linux: smb: client: clean up failed cached directory opens

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.18%Chance of exploitation activity in the next 30 days, higher than 6% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in48958ddda3d7eee3600261e2d90671f63e055dc4Also 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295CVE List
Published18 Oct 2026Updated 19 Oct 2026CVE List

What fixes it

  • 48958ddda3d7eee3600261e2d90671f63e055dc4LinuxCVE List
  • 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 10

  • Linuxaffected: b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before 48958ddda3d7eee3600261e2d90671f63e055dc4CVE List
  • Linuxaffected: b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before abab661eed00fa102d3c35ddf1cce4f687e718c1CVE List
  • Linuxaffected: b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295CVE List
  • Linuxaffected: b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before d2ff5fb93ea83034025850266b5eed391f96b825CVE List
  • Linuxaffected: 5.1CVE List
  • Linuxunaffected: all versions before 5.1CVE List
  • Linuxunaffected: 6.12.112 through 6.12.*CVE List
  • Linuxunaffected: 6.18.55 through 6.18.*CVE List
  • Linuxunaffected: 7.2.9 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 4