[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aJMV67LWuHXExNLa@shell.armlinux.org.uk>
Date: Wed, 6 Aug 2025 09:44:27 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Xu Yang <xu.yang_2@....com>
Cc: andrew@...n.ch, hkallweit1@...il.com, o.rempel@...gutronix.de,
pabeni@...hat.com, netdev@...r.kernel.org, imx@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] net: phy: fix NULL pointer dereference in
phy_polling_mode()
On Wed, Aug 06, 2025 at 04:25:12PM +0800, Xu Yang wrote:
> Not all phy devices have phy driver attached, so fix the NULL pointer
> dereference issue in phy_polling_mode() which was observed on USB net
> devices.
When the network device bound to the PHY, either it will be bound to its
PHY driver, or to one of the two genphy drivers. So, this shouldn't
happen. Please explain how to reproduce this.
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists