diff options
author | Avraham Stern <avraham.stern@intel.com> | 2023-04-13 21:40:24 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-04-14 13:14:50 +0200 |
commit | 72c20e60966cb8429875a58ddbb99110f9252b9d (patch) | |
tree | 078feefc96a86a1bf3ef988a3241f20bf97ed218 /drivers/net/mhi_net.c | |
parent | 1843676ad075e6dd24a7a201171382c810e84b84 (diff) |
wifi: iwlwifi: mvm: fix shift-out-of-bounds
The aux queue is initialized to IWL_MVM_INVALID_QUEUE. This is
later used for a bitmask of the queue, which results in a
shift-out-of-bounds. Fix it.
Fixes: b85f7ebb2497 ("wifi: iwlwifi: mvm: avoid UB shift of snif_queue")
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230413213309.c41a33c32898.Idc15f9eed005345a4137c28ef62efd80a405fad0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/mhi_net.c')
0 files changed, 0 insertions, 0 deletions