Lucene search

K
osvGoogleOSV:CVE-2024-26936
HistoryMay 01, 2024 - 6:15 a.m.

CVE-2024-26936

2024-05-0106:15:00
Google
osv.dev
1
linux kernel
cve-2024-26936
ksmbd vulnerability
buffer size validation
smb2_allocate_rsp_buf

AI Score

6.7

Confidence

Low

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.