Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v4 0/2] wifi: libertas: fix two OOB reads from firmware fields
@ 2026-05-04 19:14 Tristan Madani
  2026-05-04 19:14 ` [PATCH v4 1/2] wifi: libertas: fix OOB read from firmware pkt_ptr offset in RX path Tristan Madani
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tristan Madani @ 2026-05-04 19:14 UTC (permalink / raw)
  To: linux-wireless; +Cc: error27, kuba, johannes.berg, dcbw, linville, lkp

Two fixes for out-of-bounds reads in libertas caused by unchecked
firmware-supplied fields.

Changes since v3:
  - Use size_add() instead of raw addition/subtraction in bounds checks
    to avoid integer wrapping on 32-bit (Dan Carpenter / kernel test robot)

Tristan Madani (2):
  wifi: libertas: fix OOB read from firmware pkt_ptr offset in RX path
  wifi: libertas: fix OOB read from firmware bssdescriptsize in scan
    response

 drivers/net/wireless/marvell/libertas/cfg.c |  5 +++--
 drivers/net/wireless/marvell/libertas/rx.c  | 10 ++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.47.3

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

end of thread, other threads:[~2026-05-05  9:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04 19:14 [PATCH v4 0/2] wifi: libertas: fix two OOB reads from firmware fields Tristan Madani
2026-05-04 19:14 ` [PATCH v4 1/2] wifi: libertas: fix OOB read from firmware pkt_ptr offset in RX path Tristan Madani
2026-05-04 19:14 ` [PATCH v4 2/2] wifi: libertas: fix OOB read from firmware bssdescriptsize in scan response Tristan Madani
2026-05-05  9:52 ` [PATCH v4 0/2] wifi: libertas: fix two OOB reads from firmware fields Johannes Berg

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