Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH wireless-next 0/2] wifi: wfx: fix two minor issues in error paths
@ 2026-09-06 20:47 Jérôme Pouiller
  2026-09-06 20:47 ` [PATCH wireless-next 1/2] wifi: wfx: fix use-after-free of the cooling work on device removal Jérôme Pouiller
  2026-09-06 20:47 ` [PATCH wireless-next 2/2] wifi: wfx: fix error code on unsupported firmware Jérôme Pouiller
  0 siblings, 2 replies; 7+ messages in thread
From: Jérôme Pouiller @ 2026-09-06 20:47 UTC (permalink / raw)
  To: linux-wireless, Johannes Berg
  Cc: linux-kernel, linux-devel, Alexander Sverdlin, Lukas Stockmann,
	Gerard Salvatella, Jérôme Pouiller

Both patches of this series fix minor issues located in error paths of
the wfx driver. Neither of them is likely to be hit in practice and both
have been there for years (since 2020).

They were found during the review of the series "wifi: wfx: fix possible
device hang during init" [1], which reworks the error path of
wfx_probe(): the first one by the Sashiko review bot, the second one by
Alexander Sverdlin.

The first patch cancels a delayed work that could fire after the device
has been removed and dereference the freed struct wfx_dev. The second one
makes wfx_probe() return a proper errno instead of a leftover positive
value when the firmware enforces the 'secure link' feature.

Note that AI tools have been involved in both patches. See the individual
changelogs for the details.

This series applies on top of [1].

[1]: https://lore.kernel.org/all/20260901083548.113131-1-jerome.pouiller@silabs.com/

Jérôme Pouiller (2):
  wifi: wfx: fix use-after-free of the cooling work on device removal
  wifi: wfx: fix error code on unsupported firmware

 drivers/net/wireless/silabs/wfx/main.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.47.3


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

end of thread, other threads:[~2026-09-07  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 20:47 [PATCH wireless-next 0/2] wifi: wfx: fix two minor issues in error paths Jérôme Pouiller
2026-09-06 20:47 ` [PATCH wireless-next 1/2] wifi: wfx: fix use-after-free of the cooling work on device removal Jérôme Pouiller
2026-09-07  9:11   ` Sverdlin, Alexander
2026-09-06 20:47 ` [PATCH wireless-next 2/2] wifi: wfx: fix error code on unsupported firmware Jérôme Pouiller
2026-09-07  6:20   ` Sverdlin, Alexander
2026-09-07  6:59     ` Jérôme Pouiller
2026-09-07  7:05       ` Sverdlin, Alexander

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