netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] wireless: fix division by zero in USB drivers
@ 2021-10-27  8:08 Johan Hovold
  2021-10-27  8:08 ` [PATCH v2 1/3] ath10k: fix division by zero in send path Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Johan Hovold @ 2021-10-27  8:08 UTC (permalink / raw)
  To: Kalle Valo
  Cc: Amitkumar Karwar, Ganapathi Bhat, Sharvari Harisangam, Xinming Hu,
	Brian Norris, linux-wireless, netdev, linux-usb, linux-kernel,
	Johan Hovold

This series adds the missing endpoint sanity checks to the wireless USB
drivers that were doing packet-size calculations without first making
sure that the USB descriptors were sane.

Johan

Changes in v2:
 - tighten the sanity checks for the mwifiex firmware-download mode to
   handle also a missing bulk-out endpoint (noticed by Brian Norris)


Johan Hovold (3):
  ath10k: fix division by zero in send path
  ath6kl: fix division by zero in send path
  mwifiex: fix division by zero in fw download path

 drivers/net/wireless/ath/ath10k/usb.c      |  5 +++++
 drivers/net/wireless/ath/ath6kl/usb.c      |  5 +++++
 drivers/net/wireless/marvell/mwifiex/usb.c | 16 ++++++++++++++++
 3 files changed, 26 insertions(+)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-28 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-27  8:08 [PATCH v2 0/3] wireless: fix division by zero in USB drivers Johan Hovold
2021-10-27  8:08 ` [PATCH v2 1/3] ath10k: fix division by zero in send path Johan Hovold
2021-10-28  7:34   ` Kalle Valo
2021-10-27  8:08 ` [PATCH v2 2/3] ath6kl: " Johan Hovold
2021-10-27  8:08 ` [PATCH v2 3/3] mwifiex: fix division by zero in fw download path Johan Hovold
2021-10-27 18:22   ` Brian Norris
2021-10-28  7:20     ` Johan Hovold
2021-10-28 13:28   ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).