CVE-2026-64387Doble liberación de memoria en el cliente SMB del kernel de Linux
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query directory replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_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.
Ver en NVDAnálisis
A critical double-free vulnerability has been identified in the Linux kernel SMB client. An attacker-controlled SMB server could exploit this during directory query replays to cause memory corruption or potentially execute arbitrary code on the client system.
Roles relevantes
Severidad
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HEPSS
Descripción técnica
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query directory replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_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.
Referencias
- https://git.kernel.org/stable/c/00b0fa425941438b664950a8ee65dfba2def4336
- https://git.kernel.org/stable/c/1665f25b1dea30bf2d02e16245d203a944c9d994
- https://git.kernel.org/stable/c/3317a5d015fca976475aa71df224056777316fde
- https://git.kernel.org/stable/c/3409aedf3c81a810243da94164f6621c9d205c98
- https://git.kernel.org/stable/c/9647492b5e41954be59d5157eddbcd4cdc1656f7