Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query directory replay double-free A response-bearing attempt… (CVE-2026-64387)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:33 UTC)
Source: GCVE Database

Description

A double-free vulnerability in the Linux kernel SMB client was resolved. The issue occurs when a response-bearing attempt returns a replayable error and frees its response buffer. If SMB2_query_directory_init() fails before the next send, cleanup incorrectly frees the previous response buffer again due to stale bookkeeping. The fix resets response bookkeeping before each attempt to prevent this double-free condition.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:28:20 UTC

Technical Analysis

The vulnerability in the Linux kernel SMB client involves improper handling of response buffers during query directory operations. Specifically, a replayable error response can cause the response buffer to be freed twice if SMB2_query_directory_init() fails before sending the next request. This double-free occurs because the cleanup process retains the previous buffer type and frees it again. The patch addresses this by resetting the response bookkeeping before each attempt, preventing stale frees.

Potential Impact

Double-free vulnerabilities can lead to memory corruption, which may result in system instability or potential escalation of privileges. However, no known exploits are reported in the wild for this vulnerability, and the exact impact depends on exploitation conditions within the Linux kernel SMB client context.

Mitigation Recommendations

A fix has been applied to the Linux kernel to reset response bookkeeping before each attempt, preventing the double-free. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mg93-xg28-xr4m
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64387"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420b9c2644c7f8084735

Added to database: 07/25/2026, 23:08:59 UTC

Last enriched: 07/25/2026, 23:28:20 UTC

Last updated: 07/26/2026, 03:43:02 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses