BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.0/5192 caller is debug_smp_processor_id+0x20/0x24 lib/smp_processor_id.c:60 CPU: 0 PID: 5192 Comm: syz-executor.0 Not tainted 5.19.0-rc7-syzkaller #0 Hardware name: ARM-Versatile Express Backtrace: [<816f38f4>] (dump_backtrace) from [<816f3c24>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:253) r7:00000000 r6:8170ffec r5:60000113 r4:81d805d4 [<816f3c0c>] (show_stack) from [<816fc550>] (__dump_stack lib/dump_stack.c:88 [inline]) [<816f3c0c>] (show_stack) from [<816fc550>] (dump_stack_lvl+0x48/0x54 lib/dump_stack.c:106) [<816fc508>] (dump_stack_lvl) from [<816fc574>] (dump_stack+0x18/0x1c lib/dump_stack.c:113) r5:81d8a41c r4:84461780 [<816fc55c>] (dump_stack) from [<8170ffc8>] (check_preemption_disabled+0xfc/0x100 lib/smp_processor_id.c:49) [<8170fecc>] (check_preemption_disabled) from [<8170ffec>] (debug_smp_processor_id+0x20/0x24 lib/smp_processor_id.c:60) r7:00000a07 r6:84461780 r5:0000000b r4:ffffffc0 [<8170ffcc>] (debug_smp_processor_id) from [<80216a7c>] (harden_branch_predictor arch/arm/include/asm/system_misc.h:23 [inline]) [<8170ffcc>] (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:82956640 r8:82956600 r7:84461780 r6:00000a07 r5:ffffffc0 r4:eea9dfb0 [<80216b68>] (do_page_fault) from [<802170dc>] (do_DataAbort+0x38/0xa8 arch/arm/mm/fault.c:539) r10:7ec33454 r9:76fbb6d0 r8:80216b68 r7:eea9dfb0 r6:ffffffc0 r5:00000a07 r4:8241d218 [<802170a4>] (do_DataAbort) from [<80200dfc>] (__dabt_usr+0x5c/0x60 arch/arm/kernel/entry-armv.S:427) Exception stack(0xeea9dfb0 to 0xeea9dff8) dfa0: 7fffffff 200000c0 ffffffc0 20000090 dfc0: 00000000 0000040c 00000140 20ffd000 7ec332c2 76fbb6d0 7ec33454 76fbb20c dfe0: 00000000 76fbaff8 00000000 000142d4 80000010 ffffffff r8:822a1044 r7:84461780 r6:ffffffff r5:80000010 r4:000142d4