CVE-2024-26980: Linux Kernel

High severity, CVSS 8.2. EPSS: 0.6% chance of exploitation in the next 30 days.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf If ->ProtocolId is SMB2_TRANSFORM_PROTO_NUM, smb2 request size validation could be skipped. if request size is smaller than sizeof(struct smb2_query_info_req), slab-out-of-bounds read can happen in smb2_allocate_rsp_buf(). This patch allocate response buffer after decrypting transform request. smb3_decrypt_req() will validate transform request size and avoid slab-out-of-bound in smb2_allocate_rsp_buf().

Affected products

  • Linux Linux Kernel: from 5.15, before 5.15.159 (fixed in 5.15.159); from 5.16, before 6.1.88 (fixed in 6.1.88); from 6.2, before 6.6.29 (fixed in 6.6.29); from 6.7, before 6.8.8 (fixed in 6.8.8); version 6.9 only

Published 2024-05-01. Last modified 2026-08-04.