Skip to content

staging: rtl8723bs: fix multiple OOB reads in IE and frame parsing

Muhammad Bilal linux-staging lkml 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 5 repliesIn review
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- Dropped patch 1/5 ("fix OOB read in rtw_get_wps_ie()") - did not apply.
- Dropped patch 5/5 ("fix skb->len underflow in monitor TX path").

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: rtl8723bs: fix OOB read / stack overflow in rtw_get_wps_attr()drivers/staging/rtl8723bs/core/rtw_ieee80211.c+4 -00 replies
2/3staging: rtl8723bs: fix OOB read in rtw_action_frame_parse()drivers/staging/rtl8723bs/core/rtw_ieee80211.c+3 -00 replies
3/3staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()drivers/staging/rtl8723bs/core/rtw_mlme.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] staging: rtl8723bs: fix multiple OOB reads in IE and frame parsing

v2 of the series fixing out-of-bounds read and buffer overflow bugs in the rtl8723bs staging driver where length or offset fields from untrusted wireless frames are used without validating that enough bytes remain in the buffer.

Changes since v1:

- Dropped patch 1/5 ("fix OOB read in rtw_get_wps_ie()") - did not apply.
- Dropped patch 5/5 ("fix skb->len underflow in monitor TX path").

Muhammad Bilal (3):
staging: rtl8723bs: fix OOB read / stack overflow in

    rtw_get_wps_attr()

staging: rtl8723bs: fix OOB read in rtw_action_frame_parse()
staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()

 drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 7 +++++++
 drivers/staging/rtl8723bs/core/rtw_mlme.c      | 3 +++
 2 files changed, 10 insertions(+)
Signature · 1 line
2.55.0