Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH wireless 0/2] wifi: brcmfmac: fwsignal: bound indices from firmware signals
@ 2026-11-15 18:58 Maoyi Xie
  2026-11-15 18:58 ` [PATCH wireless 1/2] wifi: brcmfmac: fwsignal: bound the AMPDU reorder indices Maoyi Xie
  2026-11-15 18:58 ` [PATCH wireless 2/2] wifi: brcmfmac: fwsignal: bound the MACDESC_ADD interface index Maoyi Xie
  0 siblings, 2 replies; 3+ messages in thread
From: Maoyi Xie @ 2026-11-15 18:58 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: linux-wireless, brcm80211, brcm80211-dev-list.pdl, linux-kernel,
	stable

These patches add bounds checks for indices that the device sends in the
BCDC firmware signals. Patch 1 covers the AMPDU reorder indices. Patch 2
covers the interface index of MACDESC_ADD. On USB, brcmfmac parses these
signals with the default module parameters.

Both bugs were found with a static analysis tool that we develop. A
userspace harness that compiles the fwsignal.c functions unchanged
reproduces them under sanitizers. No hardware was available for testing.

Maoyi Xie (2):
  wifi: brcmfmac: fwsignal: bound the AMPDU reorder indices
  wifi: brcmfmac: fwsignal: bound the MACDESC_ADD interface index

 .../broadcom/brcm80211/brcmfmac/core.h        |  2 ++
 .../broadcom/brcm80211/brcmfmac/fwsignal.c    | 26 ++++++++++++++++---
 2 files changed, 24 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-11-15 18:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 18:58 [PATCH wireless 0/2] wifi: brcmfmac: fwsignal: bound indices from firmware signals Maoyi Xie
2026-11-15 18:58 ` [PATCH wireless 1/2] wifi: brcmfmac: fwsignal: bound the AMPDU reorder indices Maoyi Xie
2026-11-15 18:58 ` [PATCH wireless 2/2] wifi: brcmfmac: fwsignal: bound the MACDESC_ADD interface index Maoyi Xie

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