Linux hwe edge: 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)
A high-severity double-free vulnerability in the Linux kernel's SMB client was resolved. The flaw involved improper handling of response buffers during query directory replay attempts, which could lead to memory corruption. This issue affects multiple Linux kernel versions prior to 7.0.0-31.31 and related builds. The vulnerability has a CVSS score of 9.8, indicating critical impact on confidentiality, integrity, and availability. A patch is available and included in updated Linux kernel packages. Users are advised to update and reboot to apply the fix, noting that recompilation of third-party kernel modules is required due to an ABI change.
AI Analysis
Technical Summary
CVE-2026-64387 addresses a double-free vulnerability in the Linux kernel SMB client implementation. Specifically, a response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_init() fails before the next send, the cleanup process retains the previous buffer type and frees that response again, causing a double-free. The fix resets response bookkeeping before each attempt to prevent freeing stale buffers. This vulnerability affects multiple linux-hwe-edge kernel versions prior to 7.0.0-31.31 and related builds. The vulnerability has been patched in updated Linux kernel packages as per Ubuntu security advisories USN-8726-1 and USN-8727-1. The CVSS 3.1 score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating a critical remote code execution or system compromise risk if exploited.
Potential Impact
Successful exploitation of this vulnerability could lead to memory corruption due to double-free conditions, potentially allowing an attacker to execute arbitrary code, escalate privileges, or cause denial of service. The CVSS score of 9.8 reflects high impact on confidentiality, integrity, and availability. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available and has been released by Ubuntu in the linux-hwe-edge kernel packages. Users should update their systems to the fixed versions and reboot to apply the changes. Due to an ABI change in the kernel update, recompilation and reinstallation of any third-party kernel modules is required. Follow the vendor advisory instructions for updating to the specified package versions to fully remediate the vulnerability.
Linux hwe edge: 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)
Description
A high-severity double-free vulnerability in the Linux kernel's SMB client was resolved. The flaw involved improper handling of response buffers during query directory replay attempts, which could lead to memory corruption. This issue affects multiple Linux kernel versions prior to 7.0.0-31.31 and related builds. The vulnerability has a CVSS score of 9.8, indicating critical impact on confidentiality, integrity, and availability. A patch is available and included in updated Linux kernel packages. Users are advised to update and reboot to apply the fix, noting that recompilation of third-party kernel modules is required due to an ABI change.
CVSS v3.1
Score 9.8critical
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64387 addresses a double-free vulnerability in the Linux kernel SMB client implementation. Specifically, a response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_init() fails before the next send, the cleanup process retains the previous buffer type and frees that response again, causing a double-free. The fix resets response bookkeeping before each attempt to prevent freeing stale buffers. This vulnerability affects multiple linux-hwe-edge kernel versions prior to 7.0.0-31.31 and related builds. The vulnerability has been patched in updated Linux kernel packages as per Ubuntu security advisories USN-8726-1 and USN-8727-1. The CVSS 3.1 score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating a critical remote code execution or system compromise risk if exploited.
Potential Impact
Successful exploitation of this vulnerability could lead to memory corruption due to double-free conditions, potentially allowing an attacker to execute arbitrary code, escalate privileges, or cause denial of service. The CVSS score of 9.8 reflects high impact on confidentiality, integrity, and availability. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available and has been released by Ubuntu in the linux-hwe-edge kernel packages. Users should update their systems to the fixed versions and reboot to apply the changes. Due to an ABI change in the kernel update, recompilation and reinstallation of any third-party kernel modules is required. Follow the vendor advisory instructions for updating to the specified package versions to fully remediate the vulnerability.
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: 09/07/2026, 18:02:48 UTC
Last updated: 09/08/2026, 10:52:11 UTC
Views: 51
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.