diff options
author | Andrea Parri (Microsoft) <[email protected]> | 2020-11-18 16:33:10 +0100 |
---|---|---|
committer | Wei Liu <[email protected]> | 2020-11-24 16:22:10 +0000 |
commit | 206ad34d52a2f1205c84d08c12fc116aad0eb407 (patch) | |
tree | 8f5c34c75298a5132f8ca86d1133391d2d0ba2b3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 14c685d9eb361768bb5ca452b999e43498f15746 (diff) |
hv_netvsc: Validate number of allocated sub-channels
Lack of validation could lead to out-of-bound reads and information
leaks (cf. usage of nvdev->chan_table[]). Check that the number of
allocated sub-channels fits into the expected range.
Suggested-by: Saruhan Karademir <[email protected]>
Signed-off-by: Andrea Parri (Microsoft) <[email protected]>
Reviewed-by: Haiyang Zhang <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions