R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 1 UID: 0 PID: 23162 Comm: syz.4.3864 Tainted: G L Y syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 vpanic+0x553/0x970 kernel/panic.c:651 panic+0xd1/0xe0 kernel/panic.c:788 check_panic_on_warn kernel/panic.c:525 [inline] check_panic_on_warn.cold+0x19/0x34 kernel/panic.c:520 __warn.cold+0x191/0x318 kernel/panic.c:1106 __report_bug+0x30f/0x440 lib/bug.c:254 report_bug+0xb3/0x220 lib/bug.c:286 handle_bug+0x16a/0x2a0 arch/x86/kernel/traps.c:436 exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:490 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:593 RIP: 0010:__alloc_pages_slowpath mm/page_alloc.c:4806 [inline] RIP: 0010:__alloc_frozen_pages_noprof+0x1cd5/0x3190 mm/page_alloc.c:5442 Code: 38 d0 7c 08 84 d2 0f 85 98 11 00 00 65 48 8b 05 b9 88 3f 13 c7 84 24 94 00 00 00 00 80 00 00 f6 40 2d 08 0f 84 3b e8 ff ff 90 <0f> 0b 90 e9 32 e8 ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 RSP: 0000:ffffc90004196770 EFLAGS: 00010202 RAX: ffff88804ae2a580 RBX: 0000000000000000 RCX: 1ffff1100fffad69 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff88803fffd938 RBP: 0000000000000000 R08: 000000000000398b R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000048c40 R12: ffff88804ae2a5ac R13: 0000000000008000 R14: 0000000000000000 R15: 0000000000000000 alloc_pages_mpol+0x201/0x560 mm/mempolicy.c:2511 alloc_pages_noprof mm/mempolicy.c:2602 [inline] folio_alloc_noprof+0x22/0x250 mm/mempolicy.c:2612 filemap_alloc_folio_noprof.part.0+0x3db/0x440 mm/filemap.c:1018 filemap_alloc_folio_noprof mm/filemap.c:2051 [inline] __filemap_get_folio_mpol+0x64e/0x1230 mm/filemap.c:2036 __filemap_get_folio include/linux/pagemap.h:759 [inline] ext4_mb_load_buddy_gfp+0x708/0x1b20 fs/ext4/mballoc.c:1732 ext4_discard_preallocations+0x584/0x10c0 fs/ext4/mballoc.c:5686 ext4_clear_inode+0x6e/0x280 fs/ext4/super.c:1555 ext4_evict_inode+0x1de/0x17d0 fs/ext4/inode.c:333 evict+0x3c2/0xad0 fs/inode.c:822 dispose_list+0x117/0x1e0 fs/inode.c:864 prune_icache_sb+0xea/0x150 fs/inode.c:1010 super_cache_scan+0x376/0x550 fs/super.c:227 do_shrink_slab+0x411/0x1200 mm/shrinker.c:445 shrink_slab_memcg mm/shrinker.c:562 [inline] shrink_slab+0xa7d/0x12e0 mm/shrinker.c:640 shrink_node_memcgs mm/vmscan.c:6435 [inline] shrink_node+0x7c1/0x42e0 mm/vmscan.c:6477 shrink_zones mm/vmscan.c:6696 [inline] do_try_to_free_pages+0x2da/0x1500 mm/vmscan.c:6758 try_to_free_pages+0x2a0/0x740 mm/vmscan.c:6997 __perform_reclaim mm/page_alloc.c:4441 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4468 [inline] __alloc_pages_slowpath mm/page_alloc.c:4929 [inline] __alloc_frozen_pages_noprof+0xcc4/0x3190 mm/page_alloc.c:5442 alloc_buddy_frozen_folio mm/hugetlb.c:1811 [inline] only_alloc_fresh_hugetlb_folio.isra.0+0x189/0x240 mm/hugetlb.c:1852 alloc_fresh_hugetlb_folio mm/hugetlb.c:1871 [inline] alloc_migrate_hugetlb_folio mm/hugetlb.c:2146 [inline] alloc_hugetlb_folio_nodemask+0x149/0x2f0 mm/hugetlb.c:2233 alloc_hugetlb_folio_vma mm/hugetlb.c:6308 [inline] hugetlb_mfill_atomic_pte+0xcf0/0x1790 mm/hugetlb.c:6401 mfill_atomic_hugetlb mm/userfaultfd.c:859 [inline] mfill_atomic mm/userfaultfd.c:971 [inline] mfill_atomic_copy+0xd42/0x1620 mm/userfaultfd.c:1013 userfaultfd_copy mm/userfaultfd.c:4087 [inline] userfaultfd_ioctl+0x2260/0x6190 mm/userfaultfd.c:4655 compat_ptr_ioctl+0x6e/0xa0 fs/ioctl.c:634 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x2cf/0x360 fs/ioctl.c:638 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14b/0x8c0 arch/x86/entry/syscall_32.c:282 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:307 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fb8fbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f546650c EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000c028aa03 RDX: 0000000080000240 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8