CVE-2024-26936
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
ksmbd: valideer de grootte van de aanvraagbuffer in smb2_allocate_rsp_buf()
De responsbuffer moet worden toegewezen in smb2_allocate_rsp_buf
voordat u het verzoek valideert. Maar de velden in de payload en de smb2-header
wordt gebruikt in smb2_allocate_rsp_buf(). Deze patch voegt een eenvoudige buffergrootte toe
validatie om potenciale out-of-bounds in aanvraagbuffer te voorkomen.
Origineel (Engels) tonen
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.