CVE-2024-26980
Beschrijving NL
In de Linux-kernel is het volgende beveiligingslek verholpen:
ksmbd: probleem met slab-out-of-bounds in smb2_allocate_rsp_buf oplossen
Als ->ProtocolId SMB2_TRANSFORM_PROTO_NUM is, kan de validatie van de grootte van het smb2-verzoek
kan de validatie worden overgeslagen. Als de grootte van de aanvraag kleiner is dan
sizeof(struct smb2_query_info_req), kan er een slab-out-of-bounds-lezing optreden in
smb2_allocate_rsp_buf(). Deze patch wijst een responsbuffer toe na
het ontsleutelen van het transformatieverzoek. smb3_decrypt_req() zal de grootte van het transformatieverzoek valideren
grootte van het verzoek valideren en slab-out-of-bound in smb2_allocate_rsp_buf() voorkomen.
Origineel (Engels) tonen
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().