Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 24, 2025 at 12:18 AM Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> 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.





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux