lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Apr 2024 07:53:58 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
	Andrew Lunn <andrew@...n.ch>, Jakub Kicinski <kuba@...nel.org>,
	Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
	Russell King <linux@...linux.org.uk>,
	linux-arm-kernel@...ts.infradead.org,
	Christophe Leroy <christophe.leroy@...roup.eu>,
	Herve Codina <herve.codina@...tlin.com>,
	Florian Fainelli <f.fainelli@...il.com>,
	Heiner Kallweit <hkallweit1@...il.com>,
	Vladimir Oltean <vladimir.oltean@....com>,
	Köry Maincent <kory.maincent@...tlin.com>,
	Jesse Brandeburg <jesse.brandeburg@...el.com>,
	Jonathan Corbet <corbet@....net>,
	Marek Behún <kabel@...nel.org>,
	Piergiorgio Beruto <piergiorgio.beruto@...il.com>,
	Oleksij Rempel <o.rempel@...gutronix.de>,
	Nicolò Veronese <nicveronese@...il.com>,
	Simon Horman <horms@...nel.org>, mwojtas@...omium.org
Subject: Re: [PATCH net-next v11 01/13] net: phy: Introduce ethernet link
 topology representation

On Wed, Apr 10, 2024 at 10:16:27AM +0200, Maxime Chevallier wrote:
> On Tue, 9 Apr 2024 13:15:53 -0700
> Nathan Chancellor <nathan@...nel.org> wrote:
> > On Thu, Apr 04, 2024 at 11:29:51AM +0200, Maxime Chevallier wrote:
> 
> [...]
> 
> > I bisected a crash that I see on one of my test devices to this change
> > in -next as commit 6916e461e793 ("net: phy: Introduce ethernet link
> > topology representation"). Here is the stack trace passed through
> > scripts/decode_stacktrace.sh:
> 
> [...]
> 
> > [    5.626535] ? phy_link_topo_add_phy (drivers/net/phy/phy_link_topology.c:46) libphy
> > [    5.627954] ? _raw_spin_lock (arch/x86/include/asm/atomic.h:115 (discriminator 4) include/linux/atomic/atomic-arch-fallback.h:2170 (discriminator 4) include/linux/atomic/atomic-instrumented.h:1302 (discriminator 4) include/asm-generic/qspinlock.h:111 (discriminator 4) include/linux/spinlock.h:187 (discriminator 4) include/linux/spinlock_api_smp.h:134 (discriminator 4) kernel/locking/spinlock.c:154 (discriminator 4)) 
> > [    5.627963] phy_link_topo_add_phy (include/linux/xarray.h:977 drivers/net/phy/phy_link_topology.c:80) libphy
> > [    5.629462] phy_attach_direct (drivers/net/phy/phy_device.c:1516) libphy
> > [    5.629504] phylink_connect_phy (drivers/net/phy/phylink.c:1983) phylink
> > [    5.631030] ax88772_bind (drivers/net/usb/asix_devices.c:710 drivers/net/usb/asix_devices.c:919) asix
> > [    5.631049] usbnet_probe (drivers/net/usb/usbnet.c:1745) usbnet
> 
> I've run some tests on an arm64 board using an USB to Ethernet adapter
> that uses the same driver (It also goes through ax88772_bind() ) but I
> don't reproduce the error.
> 
> > If there is any additional information I can provide or patches I can
> > test, I am more than happy to do so.
> 
> The next step for me would be to try on an x86_64 box to get closer to
> the config you used, however could you give me the .config that was used
> when the bug was triggered ? I'd like to make sure I didn't miss
> anything related to some of the parts being build as modules for
> example.

Sure thing! It should be the one I have attached, it is basically just
Arch Linux's configuration:

https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config

Cheers,
Nathan

View attachment "6916e461e793-config" of type "text/plain" (274036 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ