ci starts bisection 2023-03-26 00:51:04.91413104 +0000 UTC m=+79149.066842395 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: 62bb253b2c37114deaeb0b146c01f298cd8176c870728eb783913a6cb935d553 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing current HEAD da8e7da11e4ba758caf4c149cc8d8cd555aefe5f testing commit da8e7da11e4ba758caf4c149cc8d8cd555aefe5f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 188d709e2a563ab504714006bf84fbdc0f65cfb9bdf62f16ae165674843e5e39 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail revisions tested: 2, total time: 23m39.743487308s (build: 16m23.635000847s, test: 5m55.094806335s) the crash still happens on HEAD commit msg: Merge tag 'nfsd-6.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux 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: 0 Comm: swapper/0 Not tainted 6.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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+0x1ab/0x520 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:3683 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+0x163/0x400 kernel/time/timer.c:1700 expire_timers+0x224/0x400 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+0x1d0/0x901 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:645 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x1b/0x20 drivers/acpi/processor_idle.c:113 Code: ed c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 65 48 8b 04 25 00 a8 03 00 48 8b 00 a8 08 75 0c eb 07 0f 00 2d 97 cc a2 00 fb f4 c3 0f 1f 00 0f b6 47 08 3c 01 74 0b 3c 02 74 05 8b 7f 04 eb 9f RSP: 0018:ffffffff8ae07d90 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000037c08 RCX: ffffffff88cd718e RDX: 0000000000000001 RSI: ffff8880162f3000 RDI: ffff8880162f3064 RBP: ffff888145d07000 R08: 0000000000000001 R09: ffff8880b9c35c2b R10: ffffed1017386b85 R11: ffffffff8bb9c360 R12: 0000000000000001 R13: ffff8880162f3064 R14: ffffffff8bb9c360 R15: 0000000000000000 acpi_idle_enter+0xc3/0x150 drivers/acpi/processor_idle.c:711 cpuidle_enter_state+0x7e/0x520 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x45/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x305/0x3e0 kernel/sched/idle.c:282 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:379 rest_init+0x144/0x220 init/main.c:736 arch_call_rest_init+0xa/0x20 init/main.c:898 start_kernel+0x2c1/0x370 init/main.c:1152 secondary_startup_64_no_verify+0xce/0xdb 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: 0 Comm: swapper/0 Not tainted 6.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:3684 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:ffffc90000007ab8 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: ffff88802044b8d0 RCX: ffffffff8159a7b0 RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff88807718d008 RBP: ffff88807718d000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f45 R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88802044b8e8 R14: ffffffff8c1d9440 R15: ffff88801e60df00 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe217dc5118 CR3: 0000000028a01000 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+0x163/0x400 kernel/time/timer.c:1700 expire_timers+0x224/0x400 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+0x1d0/0x901 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:645 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x1b/0x20 drivers/acpi/processor_idle.c:113 Code: ed c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 65 48 8b 04 25 00 a8 03 00 48 8b 00 a8 08 75 0c eb 07 0f 00 2d 97 cc a2 00 fb f4 c3 0f 1f 00 0f b6 47 08 3c 01 74 0b 3c 02 74 05 8b 7f 04 eb 9f RSP: 0018:ffffffff8ae07d90 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000037c08 RCX: ffffffff88cd718e RDX: 0000000000000001 RSI: ffff8880162f3000 RDI: ffff8880162f3064 RBP: ffff888145d07000 R08: 0000000000000001 R09: ffff8880b9c35c2b R10: ffffed1017386b85 R11: ffffffff8bb9c360 R12: 0000000000000001 R13: ffff8880162f3064 R14: ffffffff8bb9c360 R15: 0000000000000000 acpi_idle_enter+0xc3/0x150 drivers/acpi/processor_idle.c:711 cpuidle_enter_state+0x7e/0x520 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x45/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x305/0x3e0 kernel/sched/idle.c:282 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:379 rest_init+0x144/0x220 init/main.c:736 arch_call_rest_init+0xa/0x20 init/main.c:898 start_kernel+0x2c1/0x370 init/main.c:1152 secondary_startup_64_no_verify+0xce/0xdb 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:3684 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:ffffc90000007ab8 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: ffff88802044b8d0 RCX: ffffffff8159a7b0 RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff88807718d008 RBP: ffff88807718d000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f45 R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88802044b8e8 R14: ffffffff8c1d9440 R15: ffff88801e60df00 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe217dc5118 CR3: 0000000028a01000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: c3 retq 2: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 00 d: 66 90 xchg %ax,%ax f: 65 48 8b 04 25 00 a8 mov %gs:0x3a800,%rax 16: 03 00 18: 48 8b 00 mov (%rax),%rax 1b: a8 08 test $0x8,%al 1d: 75 0c jne 0x2b 1f: eb 07 jmp 0x28 21: 0f 00 2d 97 cc a2 00 verw 0xa2cc97(%rip) # 0xa2ccbf 28: fb sti 29: f4 hlt * 2a: fa cli <-- trapping instruction 2b: c3 retq 2c: 0f 1f 00 nopl (%rax) 2f: 0f b6 47 08 movzbl 0x8(%rdi),%eax 33: 3c 01 cmp $0x1,%al 35: 74 0b je 0x42 37: 3c 02 cmp $0x2,%al 39: 74 05 je 0x40 3b: 8b 7f 04 mov 0x4(%rdi),%edi 3e: eb 9f jmp 0xffffffdf