public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] wifi: rsi: firmware trust boundary hardening
@ 2026-04-21 13:49 Tristan Madani
  2026-04-21 13:49 ` [PATCH v3 1/5] wifi: rsi: fix integer underflow from firmware extended_desc in rsi_prepare_skb() Tristan Madani
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tristan Madani @ 2026-04-21 13:49 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, linux-kernel, Tristan Madani

From: Tristan Madani <tristan@talencesecurity.com>

This series adds missing bounds checks for firmware-controlled fields
in the RSI 91x driver (rsi_91x_main.c, rsi_91x_core.c, rsi_91x_mgmt.c).

Each patch addresses a specific field that the firmware can set to an
out-of-range value, causing OOB reads or infinite loops in the host
driver.

Changes in v3:
  - Regenerated from wireless-next with proper git format-patch to
    produce valid index hashes and clean diffs (v2 had post-processed
    index lines that prevented git-am application).

Changes in v2:
  - Clarify firmware trust model in commit messages.

Tristan Madani (5):
  wifi: rsi: fix integer underflow from firmware extended_desc in
    rsi_prepare_skb()
  wifi: rsi: fix OOB read from firmware-claimed length exceeding actual
    frame size
  wifi: rsi: fix OOB read from firmware pad_bytes in management RX path
  wifi: rsi: fix infinite loop when firmware sends zero-length packet
  wifi: rsi: fix OOB read from firmware offset field in SDIO RX path

 drivers/net/wireless/rsi/rsi_91x_main.c | 20 ++++++++++++++++++++
 drivers/net/wireless/rsi/rsi_91x_mgmt.c |  6 ++++++
 2 files changed, 26 insertions(+)

-- 
2.47.3


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

end of thread, other threads:[~2026-04-21 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 13:49 [PATCH v3 0/5] wifi: rsi: firmware trust boundary hardening Tristan Madani
2026-04-21 13:49 ` [PATCH v3 1/5] wifi: rsi: fix integer underflow from firmware extended_desc in rsi_prepare_skb() Tristan Madani
2026-04-21 13:49 ` [PATCH v3 2/5] wifi: rsi: fix OOB read from firmware-claimed length exceeding actual frame size Tristan Madani
2026-04-21 13:49 ` [PATCH v3 3/5] wifi: rsi: fix OOB read from firmware pad_bytes in management RX path Tristan Madani
2026-04-21 13:49 ` [PATCH v3 5/5] wifi: rsi: fix OOB read from firmware offset field in SDIO " Tristan Madani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox