BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u9:0/10606
caller is z_erofs_gbuf_id fs/erofs/zutil.c:33 [inline]
caller is z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:41
CPU: 0 PID: 10606 Comm: kworker/u9:0 Not tainted 6.9.0-rc3-next-20240408-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: erofs_worker z_erofs_decompressqueue_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
z_erofs_gbuf_id fs/erofs/zutil.c:33 [inline]
z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:41
z_erofs_lz4_handle_overlap fs/erofs/decompressor.c:162 [inline]
z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:234 [inline]
z_erofs_lz4_decompress+0xe47/0x17c0 fs/erofs/decompressor.c:307
z_erofs_decompress_pcluster fs/erofs/zdata.c:1260 [inline]
z_erofs_decompress_queue+0x1e30/0x3960 fs/erofs/zdata.c:1345
z_erofs_decompressqueue_work+0x99/0xe0 fs/erofs/zdata.c:1360
process_one_work kernel/workqueue.c:3218 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299
worker_thread+0x86d/0xd70 kernel/workqueue.c:3380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u9:0/10606
caller is z_erofs_gbuf_id fs/erofs/zutil.c:33 [inline]
caller is z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:41
CPU: 0 PID: 10606 Comm: kworker/u9:0 Not tainted 6.9.0-rc3-next-20240408-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: erofs_worker z_erofs_decompressqueue_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
z_erofs_gbuf_id fs/erofs/zutil.c:33 [inline]
z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:41
z_erofs_lz4_handle_overlap fs/erofs/decompressor.c:162 [inline]
z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:234 [inline]
z_erofs_lz4_decompress+0xe47/0x17c0 fs/erofs/decompressor.c:307
z_erofs_decompress_pcluster fs/erofs/zdata.c:1260 [inline]
z_erofs_decompress_queue+0x1e30/0x3960 fs/erofs/zdata.c:1345
z_erofs_decompressqueue_work+0x99/0xe0 fs/erofs/zdata.c:1360
process_one_work kernel/workqueue.c:3218 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299
worker_thread+0x86d/0xd70 kernel/workqueue.c:3380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243