summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-08-25 09:31:35 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-31 19:26:34 +0900
commit73f860489e3be2245598d1819226304fc5b87291 (patch)
tree66dd406e781f029df704f436086657b7c1e1592e /tools/perf/scripts/python/stackcollapse.py
parentd12168084c8c1b6d883c8eca5853929ac5136a9e (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