bisecting fixing commit since 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd building syzkaller on 424dd8e7b52828cad44ce653a5d4ac30670f5e2c testing commit 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd with gcc (GCC) 8.1.0 kernel signature: f7e5d9d3be443e667c26888124de9061d00ee769ac36c19623f41b434901e2c9 run #0: crashed: INFO: task hung in synchronize_rcu run #1: crashed: INFO: task hung in synchronize_rcu run #2: crashed: INFO: task hung in synchronize_rcu run #3: crashed: INFO: task hung in synchronize_rcu run #4: crashed: INFO: task hung in synchronize_rcu run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine testing current HEAD 7cf726a59435301046250c42131554d9ccc566b8 testing commit 7cf726a59435301046250c42131554d9ccc566b8 with gcc (GCC) 8.1.0 kernel signature: bb37d2d06627d514840f7126f06f195f692a0651efea50ba8434a09bd45fff4d all runs: crashed: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on revisions tested: 2, total time: 23m5.634907885s (build: 11m21.362436338s, test: 11m2.934558023s) the crash still happens on HEAD commit msg: Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest crash: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.1/8287 caller is lockdep_hardirqs_on_prepare+0x2f/0x1d0 kernel/locking/lockdep.c:4060 CPU: 0 PID: 8287 Comm: syz-executor.1 Not tainted 5.9.0-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:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x40255b Code: 40 41 89 e8 4c 89 ef b9 11 80 00 00 c1 e6 04 03 73 64 8d 14 90 39 f2 48 0f 43 f2 45 31 c9 ba 03 00 00 00 e8 f7 ac 05 00 8b 33 <49> 89 07 41 89 e8 4c 89 e7 41 b9 00 00 00 10 b9 11 80 00 00 ba 03 RSP: 002b:00007fa5d32ffc00 EFLAGS: 00010207 RAX: 0000000020ee7000 RBX: 0000000020000080 RCX: 000000000045d28a RDX: 0000000000000003 RSI: 0000000000008000 RDI: 0000000020ee7000 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020ffd000 R13: 0000000020ee7000 R14: 0000000000000000 R15: 0000000000000000 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.1/8287 caller is lockdep_hardirqs_on+0x34/0x120 kernel/locking/lockdep.c:4129 CPU: 0 PID: 8287 Comm: syz-executor.1 Not tainted 5.9.0-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:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x40255b Code: 40 41 89 e8 4c 89 ef b9 11 80 00 00 c1 e6 04 03 73 64 8d 14 90 39 f2 48 0f 43 f2 45 31 c9 ba 03 00 00 00 e8 f7 ac 05 00 8b 33 <49> 89 07 41 89 e8 4c 89 e7 41 b9 00 00 00 10 b9 11 80 00 00 ba 03 RSP: 002b:00007fa5d32ffc00 EFLAGS: 00010207 RAX: 0000000020ee7000 RBX: 0000000020000080 RCX: 000000000045d28a RDX: 0000000000000003 RSI: 0000000000008000 RDI: 0000000020ee7000 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020ffd000 R13: 0000000020ee7000 R14: 0000000000000000 R15: 0000000000000000 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.1/8287 caller is lockdep_hardirqs_on_prepare+0x2f/0x1d0 kernel/locking/lockdep.c:4060 CPU: 1 PID: 8287 Comm: syz-executor.1 Not tainted 5.9.0-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:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x40255b Code: 40 41 89 e8 4c 89 ef b9 11 80 00 00 c1 e6 04 03 73 64 8d 14 90 39 f2 48 0f 43 f2 45 31 c9 ba 03 00 00 00 e8 f7 ac 05 00 8b 33 <49> 89 07 41 89 e8 4c 89 e7 41 b9 00 00 00 10 b9 11 80 00 00 ba 03 RSP: 002b:00007fa5d32ffc00 EFLAGS: 00010207 RAX: 0000000020ee7000 RBX: 0000000020000080 RCX: 000000000045d28a RDX: 0000000000000003 RSI: 0000000000008000 RDI: 0000000020ee7000 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020ffd000 R13: 0000000020ee7000 R14: 0000000000000000 R15: 0000000000000000 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.1/8287 caller is lockdep_hardirqs_on+0x34/0x120 kernel/locking/lockdep.c:4129 CPU: 1 PID: 8287 Comm: syz-executor.1 Not tainted 5.9.0-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:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x40255b Code: 40 41 89 e8 4c 89 ef b9 11 80 00 00 c1 e6 04 03 73 64 8d 14 90 39 f2 48 0f 43 f2 45 31 c9 ba 03 00 00 00 e8 f7 ac 05 00 8b 33 <49> 89 07 41 89 e8 4c 89 e7 41 b9 00 00 00 10 b9 11 80 00 00 ba 03 RSP: 002b:00007fa5d32ffc00 EFLAGS: 00010207 RAX: 0000000020ee7000 RBX: 0000000020000080 RCX: 000000000045d28a RDX: 0000000000000003 RSI: 0000000000008000 RDI: 0000000020ee7000 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020ffd000 R13: 0000000020ee7000 R14: 0000000000000000 R15: 0000000000000000