Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 3 UID: 0 PID: 5648 Comm: sshd-session Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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:1104 __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:4816 [inline] RIP: 0010:__alloc_frozen_pages_noprof+0x1eac/0x3300 mm/page_alloc.c:5449 Code: 38 d0 7c 08 84 d2 0f 85 de 12 00 00 65 48 8b 05 62 3b 1c 13 c7 84 24 94 00 00 00 00 80 00 00 f6 40 2d 08 0f 84 ba e7 ff ff 90 <0f> 0b 90 e9 b1 e7 ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 RSP: 0000:ffffc9000ca4e2a8 EFLAGS: 00010202 RAX: ffff88802260cb00 RBX: 0000000000000000 RCX: 1ffff1100fffad29 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff88803fffd938 RBP: ffff88802260cb2c R08: 0000000000008000 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000048c40 R13: ffff88803fffb900 R14: 0000000000000000 R15: 1ffff92001949c6f alloc_pages_mpol+0x201/0x550 mm/mempolicy.c:2486 alloc_pages_noprof mm/mempolicy.c:2577 [inline] folio_alloc_noprof+0x22/0x250 mm/mempolicy.c:2587 filemap_alloc_folio_noprof.part.0+0x3db/0x440 mm/filemap.c:1019 filemap_alloc_folio_noprof mm/filemap.c:2033 [inline] __filemap_get_folio_mpol+0x653/0x1280 mm/filemap.c:2018 __filemap_get_folio include/linux/pagemap.h:761 [inline] ext4_mb_load_buddy_gfp+0x70d/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:1547 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+0x416/0x1200 mm/shrinker.c:445 shrink_slab_memcg mm/shrinker.c:562 [inline] shrink_slab+0xa82/0x12e0 mm/shrinker.c:640 shrink_one+0x398/0x850 mm/vmscan.c:5119 shrink_many mm/vmscan.c:5180 [inline] lru_gen_shrink_node mm/vmscan.c:5258 [inline] shrink_node+0x2b20/0x4320 mm/vmscan.c:6247 shrink_zones mm/vmscan.c:6503 [inline] do_try_to_free_pages+0x33e/0x16d0 mm/vmscan.c:6565 try_to_free_pages+0x2a0/0x740 mm/vmscan.c:6804 __perform_reclaim mm/page_alloc.c:4451 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4478 [inline] __alloc_pages_slowpath mm/page_alloc.c:4939 [inline] __alloc_frozen_pages_noprof+0xf8a/0x3300 mm/page_alloc.c:5449 alloc_pages_mpol+0x201/0x550 mm/mempolicy.c:2486 folio_alloc_mpol_noprof+0x36/0x260 mm/mempolicy.c:2505 __swap_cache_alloc mm/swap_state.c:440 [inline] swap_cache_alloc_folio+0x3d7/0xc50 mm/swap_state.c:530 swap_cache_read_folio+0x47/0x140 mm/swap_state.c:652 swap_cache_read_folio_sync mm/swap_state.c:736 [inline] swap_cluster_readahead+0x477/0x5d0 mm/swap_state.c:858 swapin_readahead+0xf0/0x260 mm/swap_state.c:997 do_swap_page+0xf72/0x5580 mm/memory.c:4971 handle_pte_fault mm/memory.c:6561 [inline] __handle_mm_fault+0x15bd/0x2f60 mm/memory.c:6707 handle_mm_fault+0x363/0xa20 mm/memory.c:6876 do_user_addr_fault+0x745/0x12f0 arch/x86/mm/fault.c:1394 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x6f/0xd0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0010:rseq_set_ids_get_csaddr include/linux/rseq_entry.h:489 [inline] RIP: 0010:rseq_update_usr include/linux/rseq_entry.h:537 [inline] RIP: 0010:rseq_slowpath_update_usr kernel/rseq.c:303 [inline] RIP: 0010:__rseq_handle_slowpath+0x248/0x680 kernel/rseq.c:329 Code: 0f 85 1f 04 00 00 44 0f b6 bb 64 16 00 00 bf 01 00 00 00 44 89 fe e8 c7 2d c1 ff 41 80 ff 01 0f 86 33 01 00 00 e8 a8 33 c1 ff <45> 8b 7d 00 e8 9f 33 c1 ff 48 8d bb 68 16 00 00 48 b8 00 00 00 00 RSP: 0000:ffffc9000ca4fea0 EFLAGS: 00050293 RAX: 0000000000000000 RBX: ffff88802260cb00 RCX: 0000000000000000 RDX: ffff88802260cb00 RSI: ffffffff824a7288 RDI: ffff88802260cb00 RBP: ffffc9000ca4fef0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: ffffc9000ca4ff48 R13: 00007fb38ebb8140 R14: 0000000000000003 R15: 0000000000000002 rseq_handle_slowpath include/linux/rseq.h:22 [inline] resume_user_mode_work include/linux/resume_user_mode.h:62 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x460/0xa10 kernel/entry/common.c:165 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x55d182d263b0 Code: Unable to access opcode bytes at 0x55d182d26386. RSP: 002b:00007ffe5e962248 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 000055d1c191b7d0 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000007 RDI: 000055d1c1927150 RBP: 00007ffe5e9622a0 R08: 0000000000000008 R09: 0000000000000000 R10: 00007ffe5e962330 R11: 0000000000000202 R12: 0000000000000001 R13: 00007ffe5e962330 R14: 0000000000000001 R15: 0000000000000004 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 0f 85 1f 04 00 00 jne 0x425 6: 44 0f b6 bb 64 16 00 movzbl 0x1664(%rbx),%r15d d: 00 e: bf 01 00 00 00 mov $0x1,%edi 13: 44 89 fe mov %r15d,%esi 16: e8 c7 2d c1 ff call 0xffc12de2 1b: 41 80 ff 01 cmp $0x1,%r15b 1f: 0f 86 33 01 00 00 jbe 0x158 25: e8 a8 33 c1 ff call 0xffc133d2 * 2a: 45 8b 7d 00 mov 0x0(%r13),%r15d <-- trapping instruction 2e: e8 9f 33 c1 ff call 0xffc133d2 33: 48 8d bb 68 16 00 00 lea 0x1668(%rbx),%rdi 3a: 48 rex.W 3b: b8 00 00 00 00 mov $0x0,%eax