BUG: using smp_processor_id() in preemptible [00000000] code: khugepaged/1172 caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 CPU: 3 PID: 1172 Comm: khugepaged Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold+0x88/0x9b lib/smp_processor_id.c:57 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626 mpage_map_one_extent fs/ext4/inode.c:2377 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2430 [inline] ext4_writepages+0x1a7b/0x33c0 fs/ext4/inode.c:2782 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x2aa/0x390 mm/filemap.c:421 collapse_file+0x35ac/0x4330 mm/khugepaged.c:1737 khugepaged_scan_file mm/khugepaged.c:2011 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:2107 [inline] khugepaged_do_scan mm/khugepaged.c:2193 [inline] khugepaged+0x3041/0x3fc0 mm/khugepaged.c:2238 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 BUG: using smp_processor_id() in preemptible [00000000] code: khugepaged/1172 caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 CPU: 2 PID: 1172 Comm: khugepaged Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold+0x88/0x9b lib/smp_processor_id.c:57 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626 mpage_map_one_extent fs/ext4/inode.c:2377 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2430 [inline] ext4_writepages+0x1a7b/0x33c0 fs/ext4/inode.c:2782 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x2aa/0x390 mm/filemap.c:421 collapse_file+0x35ac/0x4330 mm/khugepaged.c:1737 khugepaged_scan_file mm/khugepaged.c:2011 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:2107 [inline] khugepaged_do_scan mm/khugepaged.c:2193 [inline] khugepaged+0x3041/0x3fc0 mm/khugepaged.c:2238 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 BUG: using smp_processor_id() in preemptible [00000000] code: khugepaged/1172 caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 CPU: 3 PID: 1172 Comm: khugepaged Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold+0x88/0x9b lib/smp_processor_id.c:57 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626 mpage_map_one_extent fs/ext4/inode.c:2377 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2430 [inline] ext4_writepages+0x1a7b/0x33c0 fs/ext4/inode.c:2782 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x2aa/0x390 mm/filemap.c:421 collapse_file+0x35ac/0x4330 mm/khugepaged.c:1737 khugepaged_scan_file mm/khugepaged.c:2011 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:2107 [inline] khugepaged_do_scan mm/khugepaged.c:2193 [inline] khugepaged+0x3041/0x3fc0 mm/khugepaged.c:2238 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351