Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d before 134d980491b435e5cdb3171225e2506ff17867d1; affected e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d before f188a400dd5285fec5a84548fe8dca49eee01155; affected e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d before d83a9de7cecd401c3d3e00ed6371194dcd7313e4; affected e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d before be15b8da4a82cf1e1f9880b2661b90770606eec1; affected e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d before 73f860489e3be2245598d1819226304fc5b87291; affected f2283680a80571ca82d710bc6ecd8f8beac67d63; affected 9f297df20d93411c0b4ddad7f88ba04a7cd36e77; affected 5.15.145 before 5.16; affected 6.1.71 before 6.2 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.160 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/134d980491b435e5cdb3171225e2506ff17867d1
- https://git.kernel.org/stable/c/f188a400dd5285fec5a84548fe8dca49eee01155
- https://git.kernel.org/stable/c/d83a9de7cecd401c3d3e00ed6371194dcd7313e4
- https://git.kernel.org/stable/c/be15b8da4a82cf1e1f9880b2661b90770606eec1
- https://git.kernel.org/stable/c/73f860489e3be2245598d1819226304fc5b87291