Thread (2 messages) 2 messages, 2 authors, 2025-07-24

Re: [PATCH wireless-next] wifi: mac80211: fix use-after-free risk in sta debugfs removal

From: Moon Hee Lee <hidden>
Date: 2025-07-24 07:49:08
Also in: linux-kernel-mentees, linux-wireless, lkml

On Thu, Jul 24, 2025 at 12:18 AM Johannes Berg
[off-list ref] wrote:
Maybe so, but it really looks like a bandaid?! Why are we trying to
remove it twice in the first place?
Thanks, Johannes. I agree this patch is only defensive and does not
address the root cause.

I am currently tracing the sta_info_destroy flow to determine whether
this is caused by a duplicate free or an unsynchronized access to
sta->debugfs_dir. If the race is confirmed, I will follow up with a
more complete fix that properly handles the lifecycle.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help