------------[ cut here ]------------ current->flags & PF_MEMALLOC WARNING: mm/page_alloc.c:4817 at __alloc_pages_slowpath mm/page_alloc.c:4817 [inline], CPU#0: sshd-session/5707 WARNING: mm/page_alloc.c:4817 at __alloc_frozen_pages_noprof+0x1d7e/0x31e0 mm/page_alloc.c:5477, CPU#0: sshd-session/5707 Modules linked in: CPU: 0 UID: 0 PID: 5707 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 RIP: 0010:__alloc_pages_slowpath mm/page_alloc.c:4817 [inline] RIP: 0010:__alloc_frozen_pages_noprof+0x1d7e/0x31e0 mm/page_alloc.c:5477 Code: 38 d0 7c 08 84 d2 0f 85 02 14 00 00 65 48 8b 05 90 7a 41 13 c7 84 24 90 00 00 00 00 80 00 00 f6 40 2d 08 0f 84 6a e7 ff ff 90 <0f> 0b 90 e9 61 e7 ff ff 8b bc 24 90 00 00 00 85 ff 0f 85 90 07 00 RSP: 0000:ffffc900049e6318 EFLAGS: 00010202 RAX: ffff888027958000 RBX: 0000000000000000 RCX: 1ffff1100fffad69 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff88803fffd938 RBP: 0000000000000000 R08: 0000000000008000 R09: 0000000000002e21 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88802795802c R13: 1ffff9200093cc7d R14: 0000000000048c40 R15: 0000000000000000 FS: 00007fdc3e415300(0000) GS:ffff888095279000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f70dee6a CR3: 0000000051b90000 CR4: 0000000000352ef0 Call Trace: 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:1017 filemap_alloc_folio_noprof mm/filemap.c:2062 [inline] __filemap_get_folio_mpol+0x64e/0x11d0 mm/filemap.c:2047 __filemap_get_folio include/linux/pagemap.h:758 [inline] ext4_mb_load_buddy_gfp+0x708/0x1b20 fs/ext4/mballoc.c:1730 ext4_discard_preallocations+0x584/0x10c0 fs/ext4/mballoc.c:5684 ext4_clear_inode+0x6e/0x280 fs/ext4/super.c:1574 ext4_evict_inode+0x1de/0x1890 fs/ext4/inode.c:400 evict+0x3c2/0xad0 fs/inode.c:821 dispose_list+0x117/0x1e0 fs/inode.c:863 prune_icache_sb+0xea/0x150 fs/inode.c:1021 super_cache_scan+0x37c/0x560 fs/super.c:227 do_shrink_slab+0x411/0x1200 mm/shrinker.c:452 shrink_slab_memcg mm/shrinker.c:569 [inline] shrink_slab+0xa78/0x12d0 mm/shrinker.c:647 shrink_one+0x3d3/0x870 mm/vmscan.c:5320 shrink_many mm/vmscan.c:5381 [inline] lru_gen_shrink_node mm/vmscan.c:5459 [inline] shrink_node+0x2a61/0x4410 mm/vmscan.c:6465 shrink_zones mm/vmscan.c:6701 [inline] do_try_to_free_pages+0x2da/0x1500 mm/vmscan.c:6763 try_to_free_pages+0x2a0/0x740 mm/vmscan.c:7002 __perform_reclaim mm/page_alloc.c:4441 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4464 [inline] __alloc_pages_slowpath mm/page_alloc.c:4959 [inline] __alloc_frozen_pages_noprof+0x11b6/0x31e0 mm/page_alloc.c:5477 alloc_pages_mpol+0x201/0x560 mm/mempolicy.c:2511 folio_alloc_mpol_noprof+0x36/0x260 mm/mempolicy.c:2530 __swap_cache_alloc mm/swap_state.c:458 [inline] __swap_cache_alloc_folio+0x3d7/0xc50 mm/swap_state.c:550 swap_cache_read_folio+0x47/0x150 mm/swap_state.c:714 swap_cache_read_folio_sync mm/swap_state.c:800 [inline] swap_cluster_readahead+0x477/0x5d0 mm/swap_state.c:922 swapin_readahead+0xf0/0x260 mm/swap_state.c:1061 do_swap_page+0xf98/0x54a0 mm/memory.c:5083 handle_pte_fault mm/memory.c:6668 [inline] __handle_mm_fault+0x190a/0x2f40 mm/memory.c:6817 handle_mm_fault+0x363/0xa30 mm/memory.c:6984 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 27 86 bc ff 41 80 ff 01 0f 86 33 01 00 00 e8 08 8c bc ff <45> 8b 7d 00 e8 ff 8b bc ff 48 8d bb 68 16 00 00 48 b8 00 00 00 00 RSP: 0000:ffffc900049e7ea0 EFLAGS: 00050293 RAX: 0000000000000000 RBX: ffff888027958000 RCX: 0000000000000000 RDX: ffff888027958000 RSI: ffffffff82514518 RDI: 0000000000000001 RBP: ffffc900049e7ef0 R08: 0000000000000001 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900049e7f48 R13: 00007fdc3e415140 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+0x5a0/0xab0 kernel/entry/common.c:152 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x55ffb75328f6 Code: Unable to access opcode bytes at 0x55ffb75328cc. RSP: 002b:00007ffe74fa5cb0 EFLAGS: 00010202 RAX: 00000000000000f0 RBX: 0000000000040000 RCX: 00007ffe74fa5cc0 RDX: 00000000000000f0 RSI: 000055ffe1d62670 RDI: 0000000000000004 RBP: 00007ffe74fa5d10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000004 R14: 000055ffe1d005f0 R15: 0000000000000004 ---------------- 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 27 86 bc ff call 0xffbc8642 1b: 41 80 ff 01 cmp $0x1,%r15b 1f: 0f 86 33 01 00 00 jbe 0x158 25: e8 08 8c bc ff call 0xffbc8c32 * 2a: 45 8b 7d 00 mov 0x0(%r13),%r15d <-- trapping instruction 2e: e8 ff 8b bc ff call 0xffbc8c32 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