CVE-2026-98452

Source
https://cve.org/CVERecord?id=CVE-2026-98452
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98452.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98452
Downstream
Published
2026-10-18T15:15:02Z
Modified
2026-10-19T02:46:15Z
Summary
smb: client: clean up failed cached directory opens
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98452.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b0f6df737a1c5d9d5ff90cc946205d8af46cc067
Fixed
48958ddda3d7eee3600261e2d90671f63e055dc4
Fixed
abab661eed00fa102d3c35ddf1cce4f687e718c1
Fixed
7c1509598a4fdfb54cb09ce33e4405bd6dbd8295
Fixed
d2ff5fb93ea83034025850266b5eed391f96b825

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98452.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98452.json"