All reports
High

kernel: smb: client: fix double-free in SMB2_close() replay

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-64597

Probability of exploitation in the next 30 days: 0.36%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_close() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_close_init() fails before the next send, cleanup retains the previous buffer type and frees that response again. Reset response bookkeeping before each attempt to prevent the stale free.

A flaw was found in the Linux kernel's Server Message Block (SMB) client. A vulnerability exists in the SMB2_close() replay mechanism where a response buffer can be freed twice. This double-free condition can lead to memory corruption, potentially resulting in a denial of service or the execution of arbitrary code. Exploitation requires the victim system to connect to a malicious or compromised SMB server.