diff options
author | Phil Turnbull <philipturnbull@github.com> | 2022-11-23 10:35:41 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-11-24 18:11:23 +0200 |
commit | 051ae669e4505abbe05165bebf6be7922de11f41 (patch) | |
tree | 06cd5f66ab268ddd054abb6e0e74f5bef5981072 /drivers/phy | |
parent | cd21d99e595ec1d8721e1058dcdd4f1f7de1d793 (diff) | |
download | linux-051ae669e4505abbe05165bebf6be7922de11f41.tar.gz |
wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
Validate that the IEEE80211_P2P_ATTR_OPER_CHANNEL attribute contains
enough space for a 'struct struct wilc_attr_oper_ch'. If the attribute is
too small then it triggers an out-of-bounds write later in the function.
Signed-off-by: Phil Turnbull <philipturnbull@github.com>
Tested-by: Ajay Kathat <ajay.kathat@microchip.com>
Acked-by: Ajay Kathat <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221123153543.8568-3-philipturnbull@github.com
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions