summaryrefslogtreecommitdiff
path: root/mm/shuffle.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-11-25 12:36:57 +0100
committerJohannes Berg <johannes.berg@intel.com>2022-11-25 12:43:05 +0100
commit9f16b5c82a025cd4c864737409234ddc44fb166a (patch)
tree25b5697b0e4155a75f8b9933b8bfb47862b4e94b /mm/shuffle.h
parent0cdfa9e6f0915e3d243e2393bfa8a22e12d553b0 (diff)
downloadlinux-next-9f16b5c82a025cd4c864737409234ddc44fb166a.tar.gz
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 <shuster@seemoo.tu-darmstadt.de> Fixes: 0b8fb8235be8 ("cfg80211: Parsing of Multiple BSSID information in scanning") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'mm/shuffle.h')
0 files changed, 0 insertions, 0 deletions