------------[ cut here ]------------ current->flags & PF_MEMALLOC WARNING: mm/page_alloc.c:4837 at __alloc_pages_slowpath mm/page_alloc.c:4837 [inline], CPU#2: syz-executor/5788 WARNING: mm/page_alloc.c:4837 at __alloc_frozen_pages_noprof+0x1e0b/0x31e0 mm/page_alloc.c:5523, CPU#2: syz-executor/5788 Modules linked in: CPU: 2 UID: 0 PID: 5788 Comm: syz-executor 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:4837 [inline] RIP: 0010:__alloc_frozen_pages_noprof+0x1e0b/0x31e0 mm/page_alloc.c:5523 Code: 38 d0 7c 08 84 d2 0f 85 56 13 00 00 65 48 8b 05 03 34 42 13 c7 84 24 a0 00 00 00 00 80 00 00 f6 40 2d 08 0f 84 0d e7 ff ff 90 <0f> 0b 90 e9 04 e7 ff ff 90 0f 0b 90 e9 63 f8 ff ff 8b 84 24 a0 00 RSP: 0000:ffffc90004316468 EFLAGS: 00010202 RAX: ffff888023c32580 RBX: 0000000000000000 RCX: 1ffff1100fffad69 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff888023c325ac RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000002e00 R10: ffff88807ffd7217 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff9ccaf0a4 R15: 0000000000048c40 FS: 0000000000000000(0000) GS:ffff88809546c000(0063) knlGS:0000000058392480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7055bd3 CR3: 000000004e8d7000 CR4: 0000000000352ef0 Call Trace: alloc_pages_mpol+0x201/0x560 mm/mempolicy.c:2513 alloc_pages_noprof mm/mempolicy.c:2604 [inline] folio_alloc_noprof+0x22/0x250 mm/mempolicy.c:2614 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/0x1190 mm/filemap.c:2047 __filemap_get_folio include/linux/pagemap.h:758 [inline] ext4_mb_load_buddy_gfp+0x708/0x1b10 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/0x1840 fs/ext4/inode.c:395 evict+0x403/0xb90 fs/inode.c:829 dispose_list+0x117/0x1e0 fs/inode.c:871 prune_icache_sb+0xea/0x150 fs/inode.c:1032 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:4461 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4484 [inline] __alloc_pages_slowpath mm/page_alloc.c:4980 [inline] __alloc_frozen_pages_noprof+0x1057/0x31e0 mm/page_alloc.c:5523 alloc_pages_mpol+0x201/0x560 mm/mempolicy.c:2513 folio_alloc_mpol_noprof+0x36/0x260 mm/mempolicy.c:2532 __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:5097 handle_pte_fault mm/memory.c:6692 [inline] __handle_mm_fault+0x190a/0x2f40 mm/memory.c:6841 handle_mm_fault+0x363/0xa30 mm/memory.c:7008 do_user_addr_fault+0x59c/0x12f0 arch/x86/mm/fault.c:1343 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: 0023:0xf720032b Code: 57 56 53 8b 44 24 14 f6 00 08 75 23 8b 44 24 18 8b 5c 24 1c 8b 4c 24 20 8b 54 24 24 8b 74 24 28 8b 7c 24 2c 8b 6c 24 30 cd 80 <5b> 5e 5f 5d c3 5b 5e 5f 5d e9 f7 a1 ff ff 66 90 66 90 66 90 90 53 RSP: 002b:00000000ff9a17ec EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000ff9a1884 RSI: 00000000ff9a187c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 57 push %rdi 1: 56 push %rsi 2: 53 push %rbx 3: 8b 44 24 14 mov 0x14(%rsp),%eax 7: f6 00 08 testb $0x8,(%rax) a: 75 23 jne 0x2f c: 8b 44 24 18 mov 0x18(%rsp),%eax 10: 8b 5c 24 1c mov 0x1c(%rsp),%ebx 14: 8b 4c 24 20 mov 0x20(%rsp),%ecx 18: 8b 54 24 24 mov 0x24(%rsp),%edx 1c: 8b 74 24 28 mov 0x28(%rsp),%esi 20: 8b 7c 24 2c mov 0x2c(%rsp),%edi 24: 8b 6c 24 30 mov 0x30(%rsp),%ebp 28: cd 80 int $0x80 * 2a: 5b pop %rbx <-- trapping instruction 2b: 5e pop %rsi 2c: 5f pop %rdi 2d: 5d pop %rbp 2e: c3 ret 2f: 5b pop %rbx 30: 5e pop %rsi 31: 5f pop %rdi 32: 5d pop %rbp 33: e9 f7 a1 ff ff jmp 0xffffa22f 38: 66 90 xchg %ax,%ax 3a: 66 90 xchg %ax,%ax 3c: 66 90 xchg %ax,%ax 3e: 90 nop 3f: 53 push %rbx