CVE-2026-64381

smb: client: Fix next buffer leak in receive_encrypted_standard()

HIGH
7.8
CVSS Score
Published: July 25, 2026 at 08:50 AM UTC
Updated: September 8, 2026 at 02:11 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 5.10.2614.19 ≤ v < 5.15.2124.19 ≤ v < 6.1.1784.19 ≤ v < 6.12.964.19 ≤ v < 6.18.394.19 ≤ v < 6.6.1454.19 ≤ v < 7.1.44.19 ≤ v < 7.25.11 ≤ v < 5.15.2125.16 ≤ v < 6.1.1786.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.2 ≤ v < 6.6.1456.7 ≤ v < 6.12.964.19b24df3e30cbf48255db866720fb71f14bf9d2f39
Vendor states this is fixed in 07e0ab81df1790afa35732a4e8e07ff831b29008 (fixed)
Vendor states this is fixed in 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b (fixed)
Vendor states this is fixed in 297243e365fc9fe2f8e9b7dd535a65d922cd108b (fixed)
Vendor states this is fixed in 67097772df7791c53d608f04bd31c676ccf79b83 (fixed)
Vendor states this is fixed in 68fc0b6cc03ca58060c0f36454e169f5fe258974 (fixed)
Vendor states this is fixed in 9136a08dc29328edd9867f2545e73906ac9df93b (fixed)
Vendor states this is fixed in 927d4805aea0a287d36dd4f826ee24d69a2afee3 (fixed)
Vendor states this is fixed in 94e4f672db029414b9888b5137a7559f1febf2d8 (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card