[lvc-project] [PATCH net v2] broadcom: b44: prevent uninitialized value usage

Paolo Abeni pabeni at redhat.com
Fri Dec 5 13:11:45 MSK 2025


On 12/5/25 8:17 AM, Alexey Simakov wrote:
> On execution path with raised B44_FLAG_EXTERNAL_PHY, b44_readphy()
> leaves bmcr value uninitialized and it is used later in the code.
> 
> Add check of this flag at the beginning of the b44_nway_reset() and
> exit early of the function with restarting autonegotiation if an
> external PHY is used.
> 
> Found by Linux Verification Center (linuxtesting.org) with Svace.
> 
> Fixes: 753f492093da ("[B44]: port to native ssb support")
> Signed-off-by: Alexey Simakov <bigalex934 at gmail.com>

You need to include the netdev ML in the recipients list to get this
patch processed.

Thanks,

Paolo




More information about the lvc-project mailing list