On 3/11/2025 1:24 PM, Maxime Bizon wrote: > > On Tue, 2025-03-11 at 09:38 +0530, Roopni Devanathan wrote: >> > >> I hope this will resolve the said problems. Thanks for pointing it >> out. > > > No problem is at registration time, not un-registration: > > > CPU0 CPU1 > wiphy_register() > wiphy_dump() > rcfg->rts_threshold deref > wiphy->radio_cfg allocation > Got it. I'll add NULL check before dereferencing rcfg. Also, I'll try to allocate memory for rcfg before wiphy is registered.