summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-02-24 10:52:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-03 08:49:47 +0200
commit139faad888ef7543dc9eece72bddacd62c66757a (patch)
tree5559f1630a3c103e50ef926d7fc5939f19d2963b /kernel/locking
parent78d2ca10f18dbad19b3d58fc4ac054be1034e236 (diff)
wifi: mac80211: check basic rates validity
commit ce04abc3fcc62cd5640af981ebfd7c4dc3bded28 upstream. When userspace sets basic rates, it might send us some rates list that's empty or consists of invalid values only. We're currently ignoring invalid values and then may end up with a rates bitmap that's empty, which later results in a warning. Reject the call if there were no valid rates. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reported-by: syzbot+07bee335584b04e7c2f8@syzkaller.appspotmail.com Tested-by: syzbot+07bee335584b04e7c2f8@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=07bee335584b04e7c2f8 Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions