bisecting fixing commit since 18445bf405cb331117bc98427b1ba6f12418ad17 building syzkaller on 94b457068cf474d9fcbfc5ca4cdb71b346166187 testing commit 18445bf405cb331117bc98427b1ba6f12418ad17 with gcc (GCC) 8.1.0 kernel signature: dbde1731646acc0dbdfdaa9cf523b6aed4fc3c6c6a8a9f192da97e6c83128a3e run #0: crashed: inconsistent lock state in sco_sock_timeout run #1: crashed: inconsistent lock state in sco_conn_del run #2: crashed: inconsistent lock state in sco_conn_del run #3: crashed: inconsistent lock state in sco_conn_del run #4: crashed: inconsistent lock state in sco_conn_del run #5: crashed: inconsistent lock state in sco_conn_del run #6: crashed: inconsistent lock state in sco_conn_del run #7: crashed: inconsistent lock state in sco_conn_del run #8: crashed: inconsistent lock state in sco_conn_del run #9: OK testing current HEAD 23859ae44402f4d935b9ee548135dd1e65e2cbf4 testing commit 23859ae44402f4d935b9ee548135dd1e65e2cbf4 with gcc (GCC) 8.1.0 kernel signature: 07c1a89ed95d4c570e3d1dc73b32e2803e1999e9e8dad3e966a567d92f3d09b8 all runs: crashed: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on revisions tested: 2, total time: 25m25.613688801s (build: 10m54.667973716s, test: 13m44.855268823s) the crash still happens on HEAD commit msg: Merge tag 'trace-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace crash: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.5/11535 caller is lockdep_hardirqs_on_prepare+0x2f/0x1d0 kernel/locking/lockdep.c:4060 CPU: 1 PID: 11535 Comm: syz-executor.5 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xa3/0xc8 lib/dump_stack.c:118 check_preemption_disabled+0xbe/0xd0 lib/smp_processor_id.c:48 lockdep_hardirqs_on_prepare+0x2f/0x1d0 kernel/locking/lockdep.c:4060 trace_hardirqs_on+0x1a/0xf0 kernel/trace/trace_preemptirq.c:49 __bad_area_nosemaphore+0x5e/0x210 arch/x86/mm/fault.c:797 do_user_addr_fault arch/x86/mm/fault.c:1345 [inline] handle_page_fault arch/x86/mm/fault.c:1429 [inline] exc_page_fault+0x5e6/0x700 arch/x86/mm/fault.c:1485 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 002b:00007f6e88ad8c80 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 0000000000001f40 RCX: 000000000045d4d9 RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0000000080000100 RBP: 000000000118cf90 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe3b79f3ef R14: 00007f6e88ad99c0 R15: 000000000118cf4c BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.5/11535 caller is lockdep_hardirqs_on+0x34/0x120 kernel/locking/lockdep.c:4129 CPU: 1 PID: 11535 Comm: syz-executor.5 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xa3/0xc8 lib/dump_stack.c:118 check_preemption_disabled+0xbe/0xd0 lib/smp_processor_id.c:48 lockdep_hardirqs_on+0x34/0x120 kernel/locking/lockdep.c:4129 __bad_area_nosemaphore+0x5e/0x210 arch/x86/mm/fault.c:797 do_user_addr_fault arch/x86/mm/fault.c:1345 [inline] handle_page_fault arch/x86/mm/fault.c:1429 [inline] exc_page_fault+0x5e6/0x700 arch/x86/mm/fault.c:1485 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 002b:00007f6e88ad8c80 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 0000000000001f40 RCX: 000000000045d4d9 RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0000000080000100 RBP: 000000000118cf90 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe3b79f3ef R14: 00007f6e88ad99c0 R15: 000000000118cf4c