diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-07 00:19:39 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:31 +0900 |
| commit | 2103add92a02505bdd536ba6fce7f64a427222a2 (patch) | |
| tree | 7d951d7b2990be39d2e3d5d8a46f1cbc7e055a95 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6b8b79226bc3e0ac3fdd4e91836241af712e8cd1 (diff) | |
ksmbd: return buffer too small for short security queries
SMB2 QUERY_INFO security requests with an output buffer too small for
the self-relative security descriptor header can fall through descriptor
construction and be reported as STATUS_INVALID_INFO_CLASS.
After validating the file handle, reject buffers shorter than struct
smb_ntsd with STATUS_BUFFER_TOO_SMALL before building the descriptor.
This fixes smb2.getinfo.qsec_buffercheck.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
