[PATCH] wifi: mt76: mt7996: avoid potential null deref in mt7996_get_et_stats()

Johannes Berg johannes at sipsolutions.net
Sat Mar 22 08:54:41 PDT 2025


On Sat, 2025-03-22 at 15:55 +0100, Markus Elfring wrote:
> > Ensure phy->mib is only accessed after the null sanity check for phy
> > otherwise the code may trigger a potential null deref.
> 
> * Would you like to use the term “null pointer dereference” consistently?
> 
> * Were any known source code analysis tools involved also for
>   this software improvement?
> 

Do you really have to double down? STOP. You're just wasting everyone's
time.

johannes



More information about the linux-arm-kernel mailing list