Skip to content

wireless: fix division by zero in USB drivers

Johan Hovold linux-usb linux-wireless lkml netdev stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v11 patch 0 repliesApplied 1/1

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ath10k: fix division by zero in send pathdrivers/net/wireless/ath/ath10k/usb.c+5 -01 reply
2/3ath6kl: fix division by zero in send pathdrivers/net/wireless/ath/ath6kl/usb.c+5 -00 replies
3/3mwifiex: fix division by zero in fw download pathdrivers/net/wireless/marvell/mwifiex/usb.c+16 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBrian Norris
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] wireless: fix division by zero in USB drivers

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(+)
Signature · 1 line
2.32.0