On 19.07.24 01:46, sean.wang@xxxxxxxxxx wrote: > From: Sean Wang <sean.wang@xxxxxxxxxxxx> > > Fix null pointer access in mt792x_mac_link_bss_remove. > > To prevent null pointer access, we should assign the vif to bss_conf in > mt7921_add_interface. This ensures that subsequent operations on the BSS > can properly reference the correct vif. > > [...] >> Fixes: 1541d63c5fe2 ("wifi: mt76: mt7925: add mt7925_mac_link_bss_remove to remove per-link BSS") > Reported-by: Bert Karwatzki <spasswolf@xxxxxx> > Closes: https://lore.kernel.org/linux-wireless/2fee61f8c903d02a900ca3188c3742c7effd102e.camel@xxxxxx/#b > Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx> TWIMC, Mike (now CCed) ran into the problem and on bugzilla confirmed that this fixes the problem: https://bugzilla.kernel.org/show_bug.cgi?id=219084 https://lore.kernel.org/all/CAHbf0-HOS-jdRGvJOBmEgaaox3PDbDSTgnnZkZF9pz37Bmh2iw@xxxxxxxxxxxxxx/ Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.