diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-25 09:31:35 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-31 19:26:34 +0900 |
| commit | 73f860489e3be2245598d1819226304fc5b87291 (patch) | |
| tree | 66dd406e781f029df704f436086657b7c1e1592e /tools/perf/scripts/python/stackcollapse.py | |
| parent | d12168084c8c1b6d883c8eca5853929ac5136a9e (diff) | |
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.
Fixes: e2b76ab8b5c9 ("ksmbd: add support for read compound")
Reported-by: Cheryl Babcock <cheryl@renat.io>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
