[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACKFLikjDcp5732_KLwxvU=Hjf9Pbu93FhEkkQTHKH8TEO6waw@mail.gmail.com>
Date: Fri, 5 Dec 2025 09:22:33 -0800
From: Michael Chan <michael.chan@...adcom.com>
To: Alexey Simakov <bigalex934@...il.com>
Cc: Andrew Lunn <andrew+netdev@...n.ch>, Jonas Gorski <jonas.gorski@...il.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
"John W. Linville" <linville@...driver.com>, Michael Buesch <mb@...sch.de>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCH net v3] broadcom: b44: prevent uninitialized value usage
On Fri, Dec 5, 2025 at 7:59 AM Alexey Simakov <bigalex934@...il.com> 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")
> Reviewed-by: Jonas Gorski <jonas.gorski@...il.com>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Alexey Simakov <bigalex934@...il.com>
Reviewed-by: Michael Chan <michael.chan@...adcom.com>
Download attachment "smime.p7s" of type "application/pkcs7-signature" (5469 bytes)
Powered by blists - more mailing lists