Re: [PATCH] squashfs: squashfs_read_data need to check if the length is 0

From: Andrew Morton
Date: Thu Nov 16 2023 - 16:44:22 EST


On Thu, 16 Nov 2023 11:13:52 +0800 Lizhi Xu <lizhi.xu@xxxxxxxxxxxxx> wrote:

> when the length passed in is 0, the subsequent process should be exited.

Thanks, but when fixing a bug, please always describe the runtime
effects of that bug. Amongst other things, other people need this
information to be able to decide which kernel versions need patching.

> Reported-by: syzbot+32d3767580a1ea339a81@xxxxxxxxxxxxxxxxxxxxxxxxx

Which is a reason why we're now adding the "Closes:" tag after
Reported-by:.

I googled the sysbot email address and so added

Closes: https://lkml.kernel.org/r/0000000000000526f2060a30a085@xxxxxxxxxx

to the changelog.

I'll assume that a -stable kernel backport is needed.