]> git.ipfire.org Git - people/ms/linux.git/commit
iwlwifi: mvm: validate tid and sta_id in ba_notif
authorEyal Shapira <eyal@wizery.com>
Fri, 16 Jan 2015 09:09:30 +0000 (11:09 +0200)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:14 +0000 (23:34 +0100)
commit9bb35f06515d463d4f1b384b9fc41c4e17cf69aa
tree019a89395804d7d2d6b901502f4e53fe71f49534
parentecbc35f50f8a32abac5b16546c31cf85db3e1eb6
iwlwifi: mvm: validate tid and sta_id in ba_notif

commit 2cee4762c528a9bd2cdff793197bf591a2196c11 upstream.

These are coming from the FW and are used to access arrays.
Bad values can cause an out of bounds access so discard
such ba_notifs and warn.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/mvm/tx.c