Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate request buffer size in smb2_allocate_rsp_buf() The response buffer should be allocated in smb2_allocate_rsp_buf before validating request. But the fields in payload as well as smb2 header is used in smb2_allocate_rsp_buf(). This patch add simple buffer size validation to avoid potencial out-of-bounds in request buffer.
References (5)
Core 5
Core References
Scores
CVSS v3
7.8
EPSS
0.0002
EPSS Percentile
6.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-120
Status
published
Products (6)
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_kernel
6.9 rc1 (5 CPE variants)
linux/linux_kernel
5.15 - 5.15.159
Published
May 01, 2024
Tracked Since
Feb 18, 2026