exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x86f/0x2bf0 kernel/exit.c:961 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x790 arch/x86/kernel/signal.c:337 ------------[ cut here ]------------ WARNING: CPU: 3 PID: 6835 at mm/rmap.c:2451 try_to_migrate_one+0xc8e/0x35f0 mm/rmap.c:2451 Modules linked in: CPU: 3 UID: 0 PID: 6835 Comm: syz.6.8281 Not tainted 6.16.0-syzkaller-11699-g7e161a991ea7 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:try_to_migrate_one+0xc8e/0x35f0 mm/rmap.c:2451 Code: 2c e8 06 81 ad ff 31 ff 44 89 fe e8 3c 7c ad ff 45 85 ff 75 18 e8 f2 80 ad ff 48 c7 c6 80 d5 bb 8b 4c 89 ef e8 63 34 f5 ff 90 <0f> 0b 90 e8 da 80 ad ff 48 8b 44 24 08 48 b9 00 00 00 00 00 fc ff RSP: 0018:ffffc900047e6e20 EFLAGS: 00010283 RAX: 000000000002773b RBX: 0000000000000001 RCX: ffffc9002e196000 RDX: 0000000000080000 RSI: ffffffff820d8ecd RDI: ffff88802a140444 RBP: ffff88804c0b8340 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900047e6ea8 R13: ffffea0001528000 R14: 8000000054a68867 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880977ce000(0063) knlGS:00000000f507db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c3305b3 CR3: 000000005125f000 CR4: 0000000000352ef0 Call Trace: rmap_walk_anon+0x2cd/0x710 mm/rmap.c:2842 rmap_walk_locked+0x9d/0xd0 mm/rmap.c:2958 try_to_migrate+0x194/0x690 mm/rmap.c:2619 unmap_folio mm/huge_memory.c:3137 [inline] __folio_split+0x1162/0x4a80 mm/huge_memory.c:3711 split_folio_to_list+0x9b/0x180 mm/huge_memory.c:4005 madvise_cold_or_pageout_pte_range+0x13bc/0x2120 mm/madvise.c:504 walk_pmd_range mm/pagewalk.c:130 [inline] walk_pud_range mm/pagewalk.c:224 [inline] walk_p4d_range mm/pagewalk.c:262 [inline] walk_pgd_range+0xc05/0x1f50 mm/pagewalk.c:303 __walk_page_range+0x163/0x820 mm/pagewalk.c:410 walk_page_range_vma+0x2c7/0xa20 mm/pagewalk.c:705 madvise_pageout_page_range mm/madvise.c:623 [inline] madvise_pageout+0x257/0x540 mm/madvise.c:648 madvise_vma_behavior+0x7e9/0x2c50 mm/madvise.c:1283 madvise_walk_vmas+0x31f/0x9c0 mm/madvise.c:1600 madvise_do_behavior+0x1e2/0x530 mm/madvise.c:1816 do_madvise+0x176/0x240 mm/madvise.c:1909 __do_sys_madvise mm/madvise.c:1918 [inline] __se_sys_madvise mm/madvise.c:1916 [inline] __ia32_sys_madvise+0xa7/0x110 mm/madvise.c:1916 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x3a0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf70ae579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f507d55c EFLAGS: 00000296 ORIG_RAX: 00000000000000db RAX: ffffffffffffffda RBX: 0000000080000000 RCX: 0000000000600000 RDX: 0000000000000015 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi