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@xxxxxxxxxxxxxxxxxxxxxxxxx
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