CVE-2026-64386

Description

A flaw was found in the Linux kernel's Server Message Block (SMB) client. This vulnerability, a double-free error, occurs when the query_info() replay mechanism attempts to free a response buffer that has already been released. This can happen if an error occurs during the initialization of an SMB2 query before the next data send, leading to the same memory being freed twice. Such an issue can result in memory corruption, potentially causing a denial of service (DoS) condition for the system.

Mitigation

To mitigate this vulnerability, prevent the `cifs` kernel module from being loaded if SMB/CIFS network file systems are not required.

1. Add the module to the modprobe blacklist configuration:
# echo "install cifs /bin/true" >> /etc/modprobe.d/disable-cifs.conf
# echo "blacklist cifs" >> /etc/modprobe.d/disable-cifs.conf

2. If the module is currently loaded, unmount all active CIFS shares and unload the module:
# modprobe -r cifs

Caveats:
Disabling the module prevents the system from mounting or accessing remote SMB/CIFS file shares. If the module cannot be unloaded immediately due to active usage, a system restart will be required for the configuration to take effect.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score8.8N/A9.8
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Availability,Integrity

Technical Impact: DoS: Crash, Exit, or Restart

Integrity

Technical Impact: Modify Memory; Modify Application Data

Depending on the type of resource and the expected API behavior, this could lead to memory corruption, data corruption, or execution path corruption.

Frequently Asked Questions

Want to get errata notifications? Sign up here.