BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.1/18531 caller is debug_smp_processor_id+0x20/0x24 lib/smp_processor_id.c:60 CPU: 1 PID: 18531 Comm: syz-executor.1 Not tainted 5.19.0-rc7-syzkaller #0 Hardware name: ARM-Versatile Express Backtrace: [<816f3954>] (dump_backtrace) from [<816f3c84>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:253) r7:00000001 r6:8171004c r5:60000113 r4:81d805d4 [<816f3c6c>] (show_stack) from [<816fc5b0>] (__dump_stack lib/dump_stack.c:88 [inline]) [<816f3c6c>] (show_stack) from [<816fc5b0>] (dump_stack_lvl+0x48/0x54 lib/dump_stack.c:106) [<816fc568>] (dump_stack_lvl) from [<816fc5d4>] (dump_stack+0x18/0x1c lib/dump_stack.c:113) r5:81d8a41c r4:8625e9c0 [<816fc5bc>] (dump_stack) from [<81710028>] (check_preemption_disabled+0xfc/0x100 lib/smp_processor_id.c:49) [<8170ff2c>] (check_preemption_disabled) from [<8171004c>] (debug_smp_processor_id+0x20/0x24 lib/smp_processor_id.c:60) r7:00000207 r6:8625e9c0 r5:0000000b r4:ffffffff [<8171002c>] (debug_smp_processor_id) from [<80216a7c>] (harden_branch_predictor arch/arm/include/asm/system_misc.h:23 [inline]) [<8171002c>] (debug_smp_processor_id) from [<80216a7c>] (__do_user_fault+0x8c/0xfc arch/arm/mm/fault.c:163) [<802169f0>] (__do_user_fault) from [<80216cf4>] (do_page_fault+0x18c/0x38c arch/arm/mm/fault.c:374) r9:8585a840 r8:8585a800 r7:8625e9c0 r6:00000207 r5:ffffffff r4:ed16dfb0 [<80216b68>] (do_page_fault) from [<802170dc>] (do_DataAbort+0x38/0xa8 arch/arm/mm/fault.c:539) r10:00000000 r9:00000000 r8:80216b68 r7:ed16dfb0 r6:ffffffff r5:00000207 r4:8241d218 [<802170a4>] (do_DataAbort) from [<80200dfc>] (__dabt_usr+0x5c/0x60 arch/arm/kernel/entry-armv.S:427) Exception stack(0xed16dfb0 to 0xed16dff8) dfa0: ffffffff ffffffff ffffffff 00050010 dfc0: 76f5d024 76f5cfe8 ffffffff 00000006 7ee653b2 00000000 00000000 76f5e20c dfe0: 00000000 76f5cfb0 000194ac 00046ecc 20000010 ffffffff r8:822a1044 r7:8625e9c0 r6:ffffffff r5:20000010 r4:00046ecc