NetSight
high7.8

CVE-2026-64381

In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standar…

Impact

In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.19 before 5.10.261
from 5.11 before 5.15.212
from 5.16 before 6.1.178
from 6.2 before 6.6.145
from 6.7 before 6.12.96
from 6.13 before 6.18.39

Weakness classification

References