CVE-2024-26980

MEDIUM

Linux Kernel 5.15-5.15.158, 5.16-6.1.87, 6.2-6.6.28, 6.7-6.8.7 - Out-of-bounds Read in SMB2 Transform Request Handling

Title source: llm
STIX 2.1

Description

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().

Scores

CVSS v3 5.5
EPSS 0.0023
EPSS Percentile 13.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (18)
linux/Kernel 5.15.0 - 5.15.159linux
linux/Kernel 5.16.0 - 6.1.88linux
linux/Kernel 6.2.0 - 6.6.29linux
linux/Kernel 6.7.0 - 6.8.8linux
Linux/Linux < 5.15
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 0977f89722eceba165700ea384f075143f012085
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 3160d9734453a40db248487f8204830879c207f1
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - b80ba648714e6d790d69610cf14656be222d0248
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - c119f4ede3fa90a9463f50831761c28f989bfb20
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - da21401372607c49972ea87a6edaafb36a17c325
... and 8 more
Published May 01, 2024
Tracked Since Feb 18, 2026