From: "Jérôme Pouiller" <jerome.pouiller@silabs.com>
To: linux-wireless@vger.kernel.org,
Johannes Berg <johannes@sipsolutions.net>
Cc: linux-kernel@vger.kernel.org, linux-devel@silabs.com,
"Alexander Sverdlin" <alexander.sverdlin@siemens.com>,
"Lukas Stockmann" <lukas.stockmann@siemens.com>,
"Gerard Salvatella" <gerard.salvatella@siemens.com>,
"Jérôme Pouiller" <jerome.pouiller@silabs.com>
Subject: [PATCH wireless-next 0/2] wifi: wfx: fix two minor issues in error paths
Date: Sun, 6 Sep 2026 22:47:27 +0200 [thread overview]
Message-ID: <20260906204831.949692-1-jerome.pouiller@silabs.com> (raw)
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
next reply other threads:[~2026-09-06 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 20:47 Jérôme Pouiller [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260906204831.949692-1-jerome.pouiller@silabs.com \
--to=jerome.pouiller@silabs.com \
--cc=alexander.sverdlin@siemens.com \
--cc=gerard.salvatella@siemens.com \
--cc=johannes@sipsolutions.net \
--cc=linux-devel@silabs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lukas.stockmann@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox