In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query_info() replay double-free A response-bearing attempt can… (CVE-2026-64386)
A double-free vulnerability in the Linux kernel's SMB client implementation was resolved. The issue occurs in the query_info() function where a replayable error response can cause the response buffer to be freed twice. This happens if SMB2_query_info_init() fails before the next send, leading to cleanup freeing a stale response buffer again. The fix resets response bookkeeping before each attempt to prevent this double-free condition.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel SMB client involves improper handling of response buffers in the query_info() function. Specifically, a response-bearing attempt that returns a replayable error frees its response buffer. If SMB2_query_info_init() subsequently fails before sending the next request, the cleanup process mistakenly frees the previous response buffer again due to retained stale bookkeeping. This double-free flaw was addressed by resetting the response bookkeeping before each attempt to avoid freeing the same buffer twice.
Potential Impact
The vulnerability could lead to memory corruption in the Linux kernel SMB client due to a double-free condition. This may cause system instability or crashes. No known exploits in the wild have been reported. The exact impact depends on how the kernel handles the double-free scenario, but it generally poses a risk of denial of service or potential escalation of privileges if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reset response bookkeeping before each query_info() attempt, preventing the double-free. Users should apply the official kernel updates that include this fix once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for the current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query_info() replay double-free A response-bearing attempt can… (CVE-2026-64386)
Description
A double-free vulnerability in the Linux kernel's SMB client implementation was resolved. The issue occurs in the query_info() function where a replayable error response can cause the response buffer to be freed twice. This happens if SMB2_query_info_init() fails before the next send, leading to cleanup freeing a stale response buffer again. The fix resets response bookkeeping before each attempt to prevent this double-free condition.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel SMB client involves improper handling of response buffers in the query_info() function. Specifically, a response-bearing attempt that returns a replayable error frees its response buffer. If SMB2_query_info_init() subsequently fails before sending the next request, the cleanup process mistakenly frees the previous response buffer again due to retained stale bookkeeping. This double-free flaw was addressed by resetting the response bookkeeping before each attempt to avoid freeing the same buffer twice.
Potential Impact
The vulnerability could lead to memory corruption in the Linux kernel SMB client due to a double-free condition. This may cause system instability or crashes. No known exploits in the wild have been reported. The exact impact depends on how the kernel handles the double-free scenario, but it generally poses a risk of denial of service or potential escalation of privileges if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reset response bookkeeping before each query_info() attempt, preventing the double-free. Users should apply the official kernel updates that include this fix once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for the current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5v7v-hhr9-43wj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64386"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084a70
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:30:14 UTC
Last updated: 07/26/2026, 03:44:00 UTC
Views: 5
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.