In the Linux kernel, the following vulnerability has been resolved: smb: client: clean up failed cached directory opens open_cached_dir() sends… (CVE-2026-98452)
Description
A vulnerability in the Linux kernel SMB client related to handling cached directory opens has been resolved. The issue involved improper handling of compound SMB2 requests where a successful CREATE operation followed by an error in a subsequent command could lead to incorrect resource cleanup. The fix ensures proper validation of CREATE responses, correct tracking of file identifiers (FIDs), and appropriate handling of reconnect requests and close operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel SMB client concerned the open_cached_dir() function, which sends CREATE and QUERY_INFO commands as a compound request. If the CREATE command succeeded but a later command failed, the function previously did not correctly retain the CREATE FID, potentially causing improper cleanup. The patch validates the CREATE response before using its fields, records the FIDs, marks the handle as open before processing errors from later commands, and adjusts reconnect handling to avoid missing reconnect requests. It also improves handle counting and close response processing to ensure proper resource management.
Potential Impact
Improper handling of SMB2 compound requests could lead to resource mismanagement such as failure to close file handles properly. This may cause resource leaks or inconsistent SMB client state. No direct exploit or active attacks are reported. The impact is primarily on SMB client stability and resource cleanup correctness.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability. Users should update to the fixed kernel version once it is available. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h9j7-fw85-wm4j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98452"]
Threat ID: 6ad520b12cdf04f6569944ed
Added to database: 10/18/2026, 19:40:33 UTC
Last enriched: 10/18/2026, 19:48:48 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.