[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPrAcgMny0eujytjZ9M+LZoQzzbFRtsDsYFQj8=i37wSLC+6NQ@mail.gmail.com>
Date: Tue, 7 Oct 2025 14:05:16 +0530
From: I Viswanath <viswanathiyyappan@...il.com>
To: David Hunter <david.hunter.linux@...il.com>
Cc: Thangaraj.S@...rochip.com, Rengarajan.S@...rochip.com,
UNGLinuxDriver@...rochip.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev, khalid@...nel.org
Subject: Re: [PATCH net] net: usb: lan78xx: fix use of improperly initialized
dev->chipid in lan78xx_reset
On Tue, 7 Oct 2025 at 06:52, David Hunter <david.hunter.linux@...il.com> wrote:
>
> Please describe the testing you performed.
I used the reproducer provided at
https://syzkaller.appspot.com/bug?extid=62ec8226f01cb4ca19d9 and QEMU
to verify my patch.
I applied the fix patch for the bug before my testing.
For testing, I set a hardware breakpoint at lan78xx_init_mac_address,
triggered the reproducer, and inspected the value of dev->chipid at
that point.
Without my patch, dev->chipid was always 0. With my patch, it matched
the upper 16 bits of the value read from the ID_REV register
Thanks
I Viswanath
Powered by blists - more mailing lists