High · published May 1, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.15, < 5.15.159 | 5.15.159 |
| linux/linux_kernel | ≥ 5.16, < 6.1.88 | 6.1.88 |
| linux/linux_kernel | ≥ 6.2, < 6.6.29 | 6.6.29 |
| linux/linux_kernel | ≥ 6.7, < 6.8.8 | 6.8.8 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |