Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-64381

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 94e4f672db029414b9888b5137a7559f1febf2d8affected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 68fc0b6cc03ca58060c0f36454e169f5fe258974affected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 07e0ab81df1790afa35732a4e8e07ff831b29008affected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 9136a08dc29328edd9867f2545e73906ac9df93baffected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 67097772df7791c53d608f04bd31c676ccf79b83affected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 297243e365fc9fe2f8e9b7dd535a65d922cd108baffected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 927d4805aea0a287d36dd4f826ee24d69a2afee3affected
  • b24df3e30cbf48255db866720fb71f14bf9d2f39 to < 1c6267a1d5cf4c73b656f8181b310cbbb3e4767baffected

Linux Linux

Default version status: affected

  • 4.19affected
  • 0 to < 4.19unaffected
  • 5.10.261 to ≤ 5.10.*unaffected
  • 5.15.212 to ≤ 5.15.*unaffected
  • 6.1.178 to ≤ 6.1.*unaffected
  • 6.6.145 to ≤ 6.6.*unaffected
  • 6.12.96 to ≤ 6.12.*unaffected
  • 6.18.39 to ≤ 6.18.*unaffected
  • 7.1.4 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References