diff options
| author | Li Qiang <liqiang01@kylinos.cn> | 2026-07-19 00:22:27 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-07-26 17:40:20 -0500 |
| commit | 455488cd5054bcc59db40fa1cc2c004031a5b2a5 (patch) | |
| tree | 985747f56872501a3f863253f4f80ff47d0519f2 /tools/perf/scripts/python/task-analyzer.py | |
| parent | aed0714255c80d143e9f6d4ae00ee14423204ad5 (diff) | |
cifs: validate idmap key payload length
The cifs.idmap key type stores its payload length in key->datalen, which
is limited to U16_MAX. Accepting a larger key payload truncates the
recorded length and can make later users interpret the payload using
inconsistent bounds.
Reject oversized preparsed payloads before allocating or copying them.
This keeps key->datalen consistent with the stored data for both inline
and separately allocated idmap payloads.
Signed-off-by: Li Qiang <liqiang01@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
