diff options
| author | Zhang Shurong <[email protected]> | 2023-07-09 05:50:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-07-27 07:54:33 +0000 |
| commit | 5f1c7031e044cb2fba82836d55cc235e2ad619dc (patch) | |
| tree | bdd7bd8aa7c5e54ee11c2b548b8ee5f34986e316 /tools/perf/builtin-script.c | |
| parent | staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER (diff) | |
| download | kernel-5f1c7031e044cb2fba82836d55cc235e2ad619dc.tar.gz kernel-5f1c7031e044cb2fba82836d55cc235e2ad619dc.zip | |
staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
The "exc->key_len" is a u16 that comes from the user. If it's over
IW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption.
Fixes: b121d84882b9 ("staging: ks7010: simplify calls to memcpy()")
Cc: stable <[email protected]>
Signed-off-by: Zhang Shurong <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
