# CVE-2026-98452: smb: client: clean up failed cached directory opens

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-10-18T15:15:02.436Z
- Modified: 2026-11-23T08:17:26.383Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before e747942c2441ea06d83ce134f5d56a34985ef80c; from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before cc7e622340b8fa678ac4edbc4b4459b946d07d2c; from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before 48958ddda3d7eee3600261e2d90671f63e055dc4; from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before abab661eed00fa102d3c35ddf1cce4f687e718c1; from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295; from b0f6df737a1c5d9d5ff90cc946205d8af46cc067 before d2ff5fb93ea83034025850266b5eed391f96b825; 5.1 (not affected: before 5.1; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e747942c2441ea06d83ce134f5d56a34985ef80c>
- <https://git.kernel.org/stable/c/cc7e622340b8fa678ac4edbc4b4459b946d07d2c>
- <https://git.kernel.org/stable/c/48958ddda3d7eee3600261e2d90671f63e055dc4>
- <https://git.kernel.org/stable/c/abab661eed00fa102d3c35ddf1cce4f687e718c1>
- <https://git.kernel.org/stable/c/7c1509598a4fdfb54cb09ce33e4405bd6dbd8295>
- <https://git.kernel.org/stable/c/d2ff5fb93ea83034025850266b5eed391f96b825>

## Sources

- CVE List: [CVE-2026-98452](https://www.cve.org/CVERecord?id=CVE-2026-98452), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-98452](https://nvd.nist.gov/vuln/detail/CVE-2026-98452), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-98452 · Whole record: https://cve.day/CVE-2026-98452.json · Rebuilt by cve.day 2026-11-25T22:59:45.186Z
