ci starts bisection 2023-02-23 22:54:16.884131152 +0000 UTC m=+67781.894850558 bisecting fixing commit since 4c2d0b039c5cc0112206a5b22431b577cb1c57ad building syzkaller on 26a13b3872cf54f3e68ec48a93c9866423fc3304 ensuring issue is reproducible on original commit 4c2d0b039c5cc0112206a5b22431b577cb1c57ad testing commit 4c2d0b039c5cc0112206a5b22431b577cb1c57ad gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7a8679d680aaeff351c5173e5c717873627e0a86c5e7f90d51910ef4b36668bc all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing current HEAD f2b98d0af217f64b96bc549457018117ba6b7509 testing commit f2b98d0af217f64b96bc549457018117ba6b7509 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 575188849a81716b598ab506b01b82b9877040e27952b0e96411604284354cfc all runs: crashed: INFO: trying to register non-static key in skb_queue_tail revisions tested: 2, total time: 20m39.913474973s (build: 13m25.188457507s, test: 6m22.426336706s) the crash still happens on HEAD commit msg: Merge tag 'bootconfig-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace crash: INFO: trying to register non-static key in skb_queue_tail INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 4402 Comm: udevd Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x60/0xa0 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:982 [inline] register_lock_class+0xdb6/0x1120 kernel/locking/lockdep.c:1295 __lock_acquire+0x108/0x5d40 kernel/locking/lockdep.c:4935 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1df/0x670 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 skb_queue_tail+0x1c/0x140 net/core/skbuff.c:3668 hif_usb_regout_cb+0xf6/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x23e/0x3f0 drivers/usb/core/hcd.c:1671 dummy_timer+0xffa/0x2c10 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x19b/0x5d0 kernel/time/timer.c:1700 expire_timers+0x259/0x4f0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x292/0x790 kernel/time/timer.c:2035 __do_softirq+0x2df/0xadf kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:rcu_rdp_cpu_online kernel/rcu/tree.c:4048 [inline] RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:4082 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x83/0x140 kernel/rcu/tree.c:4066 Code: 3c 02 00 0f 85 a4 00 00 00 48 03 1c ed c0 e8 b4 8a 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 20 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 87 00 00 00 48 8d 7b 18 48 8b 6b 20 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90002caf7c0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff8880b9c3c100 RCX: ffffffff815a7bfc RDX: 1ffff11017387824 RSI: ffffffff89665240 RDI: ffff8880b9c3c120 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8cf4cbd7 R10: fffffbfff19e997a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8b186940 R15: 0000000000000000 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x533/0x670 kernel/locking/lockdep.c:5640 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] __d_lookup+0x81/0x350 fs/dcache.c:2481 d_lookup+0x72/0xd0 fs/dcache.c:2430 lookup_open.isra.0+0x209/0x1510 fs/namei.c:3338 open_last_lookups fs/namei.c:3484 [inline] path_openat+0x7ad/0x2280 fs/namei.c:3712 do_filp_open+0x1a5/0x3d0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_openat fs/open.c:1344 [inline] __se_sys_openat fs/open.c:1339 [inline] __x64_sys_openat+0x11b/0x1d0 fs/open.c:1339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2d73f25697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007fff3e6198d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000558f4dffc620 RCX: 00007f2d73f25697 RDX: 0000000000080241 RSI: 00007fff3e619d08 RDI: 00000000ffffff9c RBP: 00007fff3e619d08 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 0000558f4dffc620 R14: 0000000000000001 R15: 0000000000000000 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4402 Comm: udevd Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__skb_insert include/linux/skbuff.h:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0x99/0x140 net/core/skbuff.c:3669 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 00 00 00 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4f 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000007a98 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: ffff88807a5b3890 RCX: ffffffff815ae180 RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff88801e948a08 RBP: ffff88801e948a00 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f41 R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88807a5b38a8 R14: ffffffff8c1d8fc0 R15: ffff88801f653a00 FS: 00007f2d74330840(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558f4e029218 CR3: 00000000287f5000 CR4: 0000000000350ef0 Call Trace: hif_usb_regout_cb+0xf6/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x23e/0x3f0 drivers/usb/core/hcd.c:1671 dummy_timer+0xffa/0x2c10 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x19b/0x5d0 kernel/time/timer.c:1700 expire_timers+0x259/0x4f0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x292/0x790 kernel/time/timer.c:2035 __do_softirq+0x2df/0xadf kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:rcu_rdp_cpu_online kernel/rcu/tree.c:4048 [inline] RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:4082 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x83/0x140 kernel/rcu/tree.c:4066 Code: 3c 02 00 0f 85 a4 00 00 00 48 03 1c ed c0 e8 b4 8a 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 20 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 87 00 00 00 48 8d 7b 18 48 8b 6b 20 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90002caf7c0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff8880b9c3c100 RCX: ffffffff815a7bfc RDX: 1ffff11017387824 RSI: ffffffff89665240 RDI: ffff8880b9c3c120 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8cf4cbd7 R10: fffffbfff19e997a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8b186940 R15: 0000000000000000 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x533/0x670 kernel/locking/lockdep.c:5640 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] __d_lookup+0x81/0x350 fs/dcache.c:2481 d_lookup+0x72/0xd0 fs/dcache.c:2430 lookup_open.isra.0+0x209/0x1510 fs/namei.c:3338 open_last_lookups fs/namei.c:3484 [inline] path_openat+0x7ad/0x2280 fs/namei.c:3712 do_filp_open+0x1a5/0x3d0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_openat fs/open.c:1344 [inline] __se_sys_openat fs/open.c:1339 [inline] __x64_sys_openat+0x11b/0x1d0 fs/open.c:1339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2d73f25697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007fff3e6198d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000558f4dffc620 RCX: 00007f2d73f25697 RDX: 0000000000080241 RSI: 00007fff3e619d08 RDI: 00000000ffffff9c RBP: 00007fff3e619d08 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 0000558f4dffc620 R14: 0000000000000001 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_insert include/linux/skbuff.h:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0x99/0x140 net/core/skbuff.c:3669 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 00 00 00 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4f 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000007a98 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: ffff88807a5b3890 RCX: ffffffff815ae180 RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff88801e948a08 RBP: ffff88801e948a00 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f41 R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88807a5b38a8 R14: ffffffff8c1d8fc0 R15: ffff88801f653a00 FS: 00007f2d74330840(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558f4e029218 CR3: 00000000287f5000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 02 00 add (%rax),%al 2: 0f 85 a4 00 00 00 jne 0xac 8: 48 03 1c ed c0 e8 b4 add -0x754b1740(,%rbp,8),%rbx f: 8a 10: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 17: fc ff df 1a: 48 8d 7b 20 lea 0x20(%rbx),%rdi 1e: 48 89 fa mov %rdi,%rdx 21: 48 c1 ea 03 shr $0x3,%rdx 25: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 29: 0f 85 87 00 00 00 jne 0xb6 <-- trapping instruction 2f: 48 8d 7b 18 lea 0x18(%rbx),%rdi 33: 48 8b 6b 20 mov 0x20(%rbx),%rbp 37: 48 rex.W 38: b8 00 00 00 00 mov $0x0,%eax 3d: 00 fc add %bh,%ah