Subject: Re: [syzbot] [mm?] linux-next test error: WARNING in page_add_anon_rmap

From: Andrew Morton <[email-masked]>
Date: Fri, 22 Sep 2023 10:28:25 -0700

On Thu, 21 Sep 2023 21:51:45 -0700 syzbot <[email-masked]> wrote:

> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    7fc7222d9680 Add linux-next specific files for 20230918
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=13acae54680000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=79253779bcbe3130
> dashboard link: https://syzkaller.appspot.com/bug?extid=6ccbcd15a17f3e1cde38
> compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> 
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/82da18e596ba/disk-7fc7222d.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/4e71084ae5e0/vmlinux-7fc7222d.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/f412e76b12e4/bzImage-7fc7222d.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: [email-masked]
> 
>  destroy_args+0x768/0x990 mm/debug_vm_pgtable.c:1028
>  debug_vm_pgtable+0x1d79/0x3df0 mm/debug_vm_pgtable.c:1408
>  do_one_initcall+0x11c/0x640 init/main.c:1232
>  do_initcall_level init/main.c:1294 [inline]
>  do_initcalls init/main.c:1310 [inline]
>  do_basic_setup init/main.c:1329 [inline]
>  kernel_init_freeable+0x5c2/0x8f0 init/main.c:1547
>  kernel_init+0x1c/0x2a0 init/main.c:1437
>  ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
>  ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 5053 at mm/rmap.c:1252 page_add_anon_rmap+0xc33/0x1a70 mm/rmap.c:1252

Thanks, this should be addressed by
https://lkml.kernel.org/r/[email-masked]