smb: client: clean up failed cached directory opens (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
European references
- ENISA EUVD · EUVD-2026-103692
- GCVE · GCVE-0-2026-98452
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected b0f6df737a1c5d9d5ff90cc946205d8af46cc067 < 48958ddda3d7eee3600261e2d90671f63e055dc4 ; affected b0f6df737a1c5d9d5ff90cc946205d8af46cc067 < abab661eed00fa102d3c35ddf1cce4f687e718c1 ; affected b0f6df737a1c5d9d5ff90cc946205d8af46cc067 < 7c1509598a4fdfb54cb09ce33e4405bd6dbd8295 ; affected b0f6df737a1c5d9d5ff90cc946205d8af46cc067 < d2ff5fb93ea83034025850266b5eed391f96b825 |
| Linux · Linux | affected 5.1 ; unaffected 0 < 5.1 ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.55 ≤ 6.18.* ; unaffected 7.2.9 ≤ 7.2.* ; unaffected 7.3 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |