process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ WARNING: CPU: 2 PID: 15061 at mm/rmap.c:2451 try_to_migrate_one+0xc8e/0x35f0 mm/rmap.c:2451 Modules linked in: CPU: 2 UID: 0 PID: 15061 Comm: syz.4.2965 Not tainted 6.16.0-syzkaller-12250-gc30a13538d9f #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 76 80 ac ff 31 ff 44 89 fe e8 ac 7b ac ff 45 85 ff 75 18 e8 62 80 ac ff 48 c7 c6 c0 e0 bb 8b 4c 89 ef e8 53 2e f5 ff 90 <0f> 0b 90 e8 4a 80 ac ff 48 8b 44 24 08 48 b9 00 00 00 00 00 fc ff RSP: 0018:ffffc90004ec6f90 EFLAGS: 00010246 RAX: 0000000000080000 RBX: 0000000000000001 RCX: ffffc90030e41000 RDX: 0000000000080000 RSI: ffffffff820f12cd RDI: ffff8880318e8444 RBP: ffff888064ee0048 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90004ec7018 R13: ffffea0001980000 R14: 0000000066009867 R15: 0000000000000000 FS: 00007f6e890e36c0(0000) GS:ffff8880d68bd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c309ffb CR3: 000000004897c000 CR4: 0000000000352ef0 Call Trace: rmap_walk_anon+0x2ca/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 deferred_split_scan+0x908/0x1280 mm/huge_memory.c:4195 do_shrink_slab+0x42e/0x1180 mm/shrinker.c:437 shrink_slab_memcg mm/shrinker.c:550 [inline] shrink_slab+0xa1f/0x12b0 mm/shrinker.c:628 drop_slab_node mm/vmscan.c:441 [inline] drop_slab+0x14f/0x2d0 mm/vmscan.c:459 drop_caches_sysctl_handler fs/drop_caches.c:68 [inline] drop_caches_sysctl_handler+0x171/0x190 fs/drop_caches.c:51 proc_sys_call_handler+0x43d/0x570 fs/proc/proc_sysctl.c:600 iter_file_splice_write+0x915/0x1270 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x192/0x6c0 fs/splice.c:1158 splice_direct_to_actor+0x342/0xa30 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1227 do_sendfile+0xb06/0xe50 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1425 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x154/0x220 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6e8818ebe9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6e890e3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6e883b5fa0 RCX: 00007f6e8818ebe9 RDX: 0000200000002080 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007f6e88211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000021c R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6e883b6038 R14: 00007f6e883b5fa0 R15: 00007ffe51b17f48