do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x21d0 kernel/signal.c:2820 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 ------------[ cut here ]------------ kernel BUG at include/linux/page-flags.h:785! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5118 Comm: syz-executor.1 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:PageDoubleMap include/linux/page-flags.h:785 [inline] RIP: 0010:__page_mapcount+0x2d2/0x350 mm/util.c:744 Code: e8 d3 40 d1 ff 48 c7 c6 c0 f3 95 89 48 89 ef e8 b4 51 04 00 0f 0b e8 bd 40 d1 ff 48 c7 c6 60 f4 95 89 48 89 ef e8 9e 51 04 00 <0f> 0b e8 a7 40 d1 ff 48 c7 c6 a0 f4 95 89 4c 89 f7 e8 88 51 04 00 RSP: 0018:ffffc90002f1f4f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90010454000 RDX: 0000000000040000 RSI: ffffffff81a68362 RDI: 0000000000000003 RBP: ffffea0001198000 R08: 0000000000000024 R09: 00000000ffffffff R10: ffffffff88f73a16 R11: 00000000ffffffff R12: 00000000ffffffff R13: 00000000ffffea00 R14: ffffc90002f1f8c0 R15: ffffea0001198001 FS: 00007fe0b1e71700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31028000 CR3: 0000000095f91000 CR4: 00000000003506e0 Call Trace: page_mapcount include/linux/mm.h:871 [inline] smaps_account+0x53c/0x9f0 fs/proc/task_mmu.c:467 smaps_pte_entry fs/proc/task_mmu.c:531 [inline] smaps_pte_range+0x60d/0x1390 fs/proc/task_mmu.c:594 walk_pmd_range mm/pagewalk.c:128 [inline] walk_pud_range mm/pagewalk.c:205 [inline] walk_p4d_range mm/pagewalk.c:240 [inline] walk_pgd_range mm/pagewalk.c:277 [inline] __walk_page_range+0xe23/0x1ea0 mm/pagewalk.c:379 walk_page_vma+0x277/0x350 mm/pagewalk.c:530 smap_gather_stats.part.0+0x1e1/0x2d0 fs/proc/task_mmu.c:764 smap_gather_stats fs/proc/task_mmu.c:734 [inline] show_smaps_rollup+0x325/0x9c0 fs/proc/task_mmu.c:867 traverse.part.0+0xcf/0x5f0 fs/seq_file.c:111 traverse fs/seq_file.c:101 [inline] seq_read_iter+0x8f9/0x1240 fs/seq_file.c:195 seq_read+0x3e0/0x5b0 fs/seq_file.c:162 do_loop_readv_writev fs/read_write.c:746 [inline] do_loop_readv_writev fs/read_write.c:733 [inline] do_iter_read+0x501/0x760 fs/read_write.c:788 vfs_readv+0xe5/0x150 fs/read_write.c:906 do_preadv fs/read_write.c:998 [inline] __do_sys_preadv fs/read_write.c:1048 [inline] __se_sys_preadv fs/read_write.c:1043 [inline] __x64_sys_preadv+0x231/0x310 fs/read_write.c:1043 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe0b491cae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe0b1e71188 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007fe0b4a30020 RCX: 00007fe0b491cae9 RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007fe0b4976f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe0b4f63b2f R14: 00007fe0b1e71300 R15: 0000000000022000 Modules linked in: ---[ end trace ed2b102435805991 ]--- RIP: 0010:PageDoubleMap include/linux/page-flags.h:785 [inline] RIP: 0010:__page_mapcount+0x2d2/0x350 mm/util.c:744 Code: e8 d3 40 d1 ff 48 c7 c6 c0 f3 95 89 48 89 ef e8 b4 51 04 00 0f 0b e8 bd 40 d1 ff 48 c7 c6 60 f4 95 89 48 89 ef e8 9e 51 04 00 <0f> 0b e8 a7 40 d1 ff 48 c7 c6 a0 f4 95 89 4c 89 f7 e8 88 51 04 00 RSP: 0018:ffffc90002f1f4f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90010454000 RDX: 0000000000040000 RSI: ffffffff81a68362 RDI: 0000000000000003 RBP: ffffea0001198000 R08: 0000000000000024 R09: 00000000ffffffff R10: ffffffff88f73a16 R11: 00000000ffffffff R12: 00000000ffffffff R13: 00000000ffffea00 R14: ffffc90002f1f8c0 R15: ffffea0001198001 FS: 00007fe0b1e71700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31028000 CR3: 0000000095f91000 CR4: 00000000003506e0