Re: [syzbot] [mm?] WARNING in vma_add_pgoff

From: Andrew Morton

Date: Mon Sep 07 2026 - 22:25:29 EST


On Mon, 07 Sep 2026 18:21:25 -0700 syzbot <syzbot+c6879dc677a017f0a21b@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> syzbot found the following issue on:
>
> HEAD commit: 5445d6419962 arm64: Don't read GMID_EL1 when MTE is disabled
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=1517ecf9580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=56ed23170c168d4c
> dashboard link: https://syzkaller.appspot.com/bug?extid=c6879dc677a017f0a21b
> compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
> userspace arch: arm64
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=147ad125580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=127ad125580000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/e8b70e3bd109/disk-5445d641.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/e5227e56ac93/vmlinux-5445d641.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/54905f78be59/Image-5445d641.gz.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+c6879dc677a017f0a21b@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> ------------[ cut here ]------------
> WARNING: mm/vma.h:277 at assert_sane_pgoff mm/vma.h:277 [inline], CPU#1: syz.0.17/4912
> WARNING: mm/vma.h:277 at vma_set_pgoff mm/vma.h:283 [inline], CPU#1: syz.0.17/4912
> WARNING: mm/vma.h:277 at vma_add_pgoff+0x50c/0x700 mm/vma.h:314, CPU#1: syz.0.17/4912

Thinking Lorenzo already fixed this.

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 35b0fb391b0df57383bc15985bb769f4555c97ba