diff options
| author | Johannes Berg <[email protected]> | 2022-11-25 11:36:57 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2022-11-25 11:43:05 +0000 |
| commit | 9f16b5c82a025cd4c864737409234ddc44fb166a (patch) | |
| tree | 25b5697b0e4155a75f8b9933b8bfb47862b4e94b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | wifi: wilc1000: validate number of channels (diff) | |
| download | kernel-9f16b5c82a025cd4c864737409234ddc44fb166a.tar.gz kernel-9f16b5c82a025cd4c864737409234ddc44fb166a.zip | |
wifi: cfg80211: fix buffer overflow in elem comparison
For vendor elements, the code here assumes that 5 octets
are present without checking. Since the element itself is
already checked to fit, we only need to check the length.
Reported-and-tested-by: Sönke Huster <[email protected]>
Fixes: 0b8fb8235be8 ("cfg80211: Parsing of Multiple BSSID information in scanning")
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
