ksmbd: zero pipe read compound padding
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d · < 73f860489e3be2245598d1819226304fc5b87291| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: zero pipe read compound padding
Compound response handling extends the last response iov to an eight-byte boundary.
smb2_read_pipe() allocates only the payload size, so the alignment padding can expose up to seven bytes of uninitialized kernel heap memory.
Allocate the aligned size and clear the unused tail before pinning the response buffer.
From the CVE record · Linux
In the Linux kernel's ksmbd component, compound pipe-read responses can include alignment padding that exposes up to seven bytes of uninitialized kernel heap memory. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with ksmbd should check their versions against the vendor advisory; affected versions are not specified.