Re: [syzbot] [squashfs?] BUG: unable to handle kernel paging request in squashfs_lookup

From: Andrew Morton

Date: Tue Nov 24 2026 - 16:05:56 EST


On Tue, 24 Nov 2026 12:44:45 -0800 syzbot <syzbot+f1290205423d04eee4cb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> syzbot found the following issue on:
>
> HEAD commit: 3191063649db Add linux-next specific files for 20261123
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=11c11b09580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=fb153e9351b2d9fb
> dashboard link: https://syzkaller.appspot.com/bug?extid=f1290205423d04eee4cb
> compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8
>
> Unfortunately, I don't have any reproducer for this issue yet.
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/74a1a5a80d1f/disk-31910636.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/ad0d2b167151/vmlinux-31910636.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/256a3285e2fa/bzImage-31910636.xz
>
> The issue was bisected by AI to:
>
> commit 5b515c0ec855811ab62985033c44dde99c15f326
> Author: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>
> Date: Mon Nov 23 03:42:49 2026 +0000
>
> Squashfs: don't compute start or alloc memory on empty directory or index

Thanks. mm.git already contains a fix for this.

From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: squashfs-dont-compute-start-or-alloc-memory-on-empty-directory-or-index-fix
Date: Sun Nov 22 11:49:59 PM PST 2026

s/inode/dir/ in TRACE statement

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Christian Loehle <christian.loehle@xxxxxxx>
Cc: Dan Carpenter <error27@xxxxxxxxx>
Cc: Phillip Lougher <phillip.lougher@xxxxxxxxx>
Cc: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>
Cc: syzbot ci <syzbot+ci04e7314748e3f6be@xxxxxxxxxxxxxxxxxxxxxxxxx>

fs/squashfs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- a/fs/squashfs/namei.c~squashfs-dont-compute-start-or-alloc-memory-on-empty-directory-or-index-fix
+++ a/fs/squashfs/namei.c
@@ -134,8 +134,8 @@ static struct dentry *squashfs_lookup(st
int offset, err, length;
unsigned int dir_count, size;

- TRACE("Entered squashfs_lookup [%llx:%x]\n", squashfs_i(inode)->start,
- squashfs_i(inode)->offset);
+ TRACE("Entered squashfs_lookup [%llx:%x]\n", squashfs_i(dir)->start,
+ squashfs_i(dir)->offset);

if (len > SQUASHFS_NAME_LEN)
return ERR_PTR(-ENAMETOOLONG);
_