------------[ cut here ]------------
current->flags & PF_MEMALLOC
WARNING: mm/page_alloc.c:4837 at __alloc_pages_slowpath mm/page_alloc.c:4837 [inline], CPU#2: kswapd1/117
WARNING: mm/page_alloc.c:4837 at __alloc_frozen_pages_noprof+0x1e0b/0x31e0 mm/page_alloc.c:5523, CPU#2: kswapd1/117
Modules linked in:
CPU: 2 UID: 0 PID: 117 Comm: kswapd1 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 23 1d 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:ffffc900021aed48 EFLAGS: 00010202
RAX: ffff8880412e8000 RBX: 0000000000000000 RCX: 1ffff1100fffad69
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880412e802c
RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000002cad
R10: ffff88807ffd7217 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff9ccaf0a4 R15: 0000000000048c40
FS: 0000000000000000(0000) GS:ffff88809546c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f7f3a194 CR3: 00000000790c0000 CR4: 0000000000352ef0
DR0: 0000000000000004 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
alloc_pages_mpol+0x201/0x560 mm/mempolicy.c:2520
alloc_pages_noprof mm/mempolicy.c:2611 [inline]
folio_alloc_noprof+0x22/0x250 mm/mempolicy.c:2621
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/0x1170 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
kswapd_shrink_node mm/vmscan.c:7258 [inline]
balance_pgdat+0xa9e/0x1e60 mm/vmscan.c:7429
kswapd+0x556/0xb50 mm/vmscan.c:7705
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
irq event stamp: 6118759
hardirqs last enabled at (6118765): [] irqentry_exit_to_kernel_mode_after_preempt include/linux/irq-entry-common.h:511 [inline]
hardirqs last enabled at (6118765): [] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:546 [inline]
hardirqs last enabled at (6118765): [] irqentry_exit+0x202/0xab0 kernel/entry/common.c:154
hardirqs last disabled at (6118768): [] class_irqsave_constructor include/linux/irqflags.h:266 [inline]
hardirqs last disabled at (6118768): [] __nbcon_atomic_flush_pending_con+0x284/0x440 kernel/printk/nbcon.c:1583
softirqs last enabled at (6118742): [] __do_softirq kernel/softirq.c:703 [inline]
softirqs last enabled at (6118742): [] invoke_softirq kernel/softirq.c:542 [inline]
softirqs last enabled at (6118742): [] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
softirqs last disabled at (6118779): [] __do_softirq kernel/softirq.c:703 [inline]
softirqs last disabled at (6118779): [] invoke_softirq kernel/softirq.c:542 [inline]
softirqs last disabled at (6118779): [] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
---[ end trace 0000000000000000 ]---