Re: [syzbot] KMSAN: uninit-value in asix_mdio_read (2)

Pavel Skripkin
2021-12-19T21:15:19Z

On 12/19/21 20:17, Andrew Lunn wrote:
> On Sat, Dec 18, 2021 at 05:03:09PM -0800, syzbot wrote:
>> Hello,
>>
>> syzbot has tested the proposed patch and the reproducer did not trigger any issue:
>>
>> Reported-and-tested-by: syzbot+f44badb06036334e867a@syzkaller.appspotmail.com
>
> So it looks like you were right. But maybe ret < sizeof(smsr) would be
> better?
>

I agree, this looks much cleaner.

Also, the bug you mentioned in previous email is also real, so I will
prepare a patch series if you haven't fixed it by yourself :)

With regards,
Pavel Skripkin