BUG: sleeping function called from invalid context at mm/migrate.c:1432 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 31, name: kcompactd0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 no locks held by kcompactd0/31. Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 31 Comm: kcompactd0 Not tainted 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __might_resched.cold+0x222/0x26b migrate_pages+0x2a5/0x49a0 compact_zone+0x1a93/0x3600 kcompactd_do_work+0x45e/0x9d0 kcompactd+0xb14/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 BUG: scheduling while atomic: kcompactd0/31/0x00000007 no locks held by kcompactd0/31. Modules linked in: Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 31 Comm: kcompactd0 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 schedule_timeout+0x143/0x280 kcompactd+0x97f/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 BUG: scheduling while atomic: kcompactd0/31/0x00000004 no locks held by kcompactd0/31. Modules linked in: Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 1 PID: 31 Comm: kcompactd0 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 schedule_timeout+0x143/0x280 kcompactd+0x97f/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 loop0: detected capacity change from 0 to 256 tmpfs: Bad value for 'mpol' tmpfs: Bad value for 'mpol' FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) tmpfs: Bad value for 'mpol' FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) tmpfs: Bad value for 'mpol' tmpfs: Bad value for 'mpol' loop0: detected capacity change from 0 to 256 FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) kauditd_printk_skb: 1 callbacks suppressed audit: type=1326 audit(1655203484.947:71): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=46207 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd428cbab19 code=0x0 loop0: detected capacity change from 0 to 256 FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) syz-executor.7 (46220) used greatest stack depth: 22648 bytes left audit: type=1326 audit(1655203486.096:72): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=46451 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd428cbab19 code=0x0 random: crng reseeded on system resumption random: crng reseeded on system resumption random: crng reseeded on system resumption random: crng reseeded on system resumption random: crng reseeded on system resumption audit: type=1326 audit(1655203487.119:73): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=46484 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd428cbab19 code=0x0 random: crng reseeded on system resumption Process accounting resumed Process accounting resumed audit: type=1326 audit(1655203488.072:74): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=46926 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd428cbab19 code=0x0 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed