CVE-2026-64381: smb: client: Fix next buffer leak in receive_encrypted_standard()

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

receiveencryptedstandard() allocates nextbuffer before checking whether the number of compound PDUs already reached MAXCOMPOUND. If the limit check fails, the function returns immediately and the newly allocated nextbuffer is not assigned to server->smallbuf/server->bigbuf, making it leaked.

Move the MAXCOMPOUND check before allocating nextbuffer.

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=4.19<5.10.261
Linux Linux kernel>=5.11<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the Linux kernel so that the MAX_COMPOUND limit check is performed before allocating next_buffer in receive_encrypted_standard() (fixes the next_buffer leak when the MAX_COMPOUND check fails and the function returns immediately).

    Linux kernel MAX_COMPOUND check placement = Move MAX_COMPOUND check before allocating next_buffer

Event History

Jul 25, 2026
CVE Published
via MITRE·08:50 AM
Data Sourced
via MITRE·08:50 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203