ci starts bisection 2023-06-03 03:27:09.968487184 +0000 UTC m=+134783.466441739
bisecting fixing commit since 559089e0a93d44280ec3ab478830af319c56dbe3
building syzkaller on 7d7bc7384ef404234239532c5c2a9af81b020152
ensuring issue is reproducible on original commit 559089e0a93d44280ec3ab478830af319c56dbe3
testing commit 559089e0a93d44280ec3ab478830af319c56dbe3 gcc
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: f50ce93ec9e7bbf021cc9713c9f50e2338b0471a62092ef9de77ebb7720d5d0b
all runs: crashed: INFO: trying to register non-static key in skb_queue_tail
testing current HEAD 4ecd704a4c51fd95973fcc3a60444e0e24eb9439
testing commit 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 gcc
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: cd3491709105059ae5271d61333652e47377fcc42f9bc337ff51544196a508be
run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM
run #1: crashed: INFO: trying to register non-static key in skb_queue_tail
run #2: crashed: INFO: trying to register non-static key in skb_queue_tail
run #3: crashed: INFO: trying to register non-static key in skb_queue_tail
run #4: crashed: INFO: trying to register non-static key in skb_queue_tail
run #5: crashed: INFO: trying to register non-static key in skb_queue_tail
run #6: crashed: INFO: trying to register non-static key in skb_queue_tail
run #7: crashed: INFO: trying to register non-static key in skb_queue_tail
run #8: crashed: INFO: trying to register non-static key in skb_queue_tail
run #9: crashed: INFO: trying to register non-static key in skb_queue_tail
crash still not fixed/happens on the oldest tested release
revisions tested: 2, total time: 20m32.63146991s (build: 12m45.624293069s, test: 6m57.793483206s)
crash still not fixed on HEAD or HEAD had kernel test errors
commit msg: tpm, tpm_tis: correct tpm_tis_flags enumeration values
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: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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+0x10d/0x5f30 kernel/locking/lockdep.c:4965
lock_acquire kernel/locking/lockdep.c:5705 [inline]
lock_acquire+0x1ad/0x520 kernel/locking/lockdep.c:5670
__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:3744
hif_usb_regout_cb+0xf6/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:88
__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:1106
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 ab 03 00 48 8b 00 a8 08 75 0c 66 90 0f 00 2d 87 42 a8 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:ffffc9000037fd58 EFLAGS: 00000246
RAX: 0000000000004000 RBX: 0000000000037f28 RCX: ffffffff88c7c85e
RDX: 0000000000000001 RSI: ffff8880159ef000 RDI: ffff8880159ef064
RBP: ffff88814642e800 R08: 0000000000000001 R09: ffff8880b9d35c2b
R10: ffffed10173a6b85 R11: ffffffff8bb890c0 R12: 0000000000000001
R13: ffff8880159ef064 R14: ffffffff8bb890c0 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+0x2fe/0x3c0 kernel/sched/idle.c:282
cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:379
start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:269
secondary_startup_64_no_verify+0xf4/0xfb
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:__skb_insert include/linux/skbuff.h:2205 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2311 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2344 [inline]
RIP: 0010:skb_queue_tail+0x99/0x140 net/core/skbuff.c:3745
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:ffffc900003e8ab8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88806f81b878 RCX: ffffffff8159bd20
RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff888079b24488
RBP: ffff888079b24480 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200007d145 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88806f81b890 R14: ffffffff8c1b0480 R15: ffff888020937300
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeefc4cfbc CR3: 000000000af6b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hif_usb_regout_cb+0xf6/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:88
__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:1106
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 ab 03 00 48 8b 00 a8 08 75 0c 66 90 0f 00 2d 87 42 a8 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:ffffc9000037fd58 EFLAGS: 00000246
RAX: 0000000000004000 RBX: 0000000000037f28 RCX: ffffffff88c7c85e
RDX: 0000000000000001 RSI: ffff8880159ef000 RDI: ffff8880159ef064
RBP: ffff88814642e800 R08: 0000000000000001 R09: ffff8880b9d35c2b
R10: ffffed10173a6b85 R11: ffffffff8bb890c0 R12: 0000000000000001
R13: ffff8880159ef064 R14: ffffffff8bb890c0 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+0x2fe/0x3c0 kernel/sched/idle.c:282
cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:379
start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:269
secondary_startup_64_no_verify+0xf4/0xfb
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:2205 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2311 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2344 [inline]
RIP: 0010:skb_queue_tail+0x99/0x140 net/core/skbuff.c:3745
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:ffffc900003e8ab8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88806f81b878 RCX: ffffffff8159bd20
RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff888079b24488
RBP: ffff888079b24480 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200007d145 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88806f81b890 R14: ffffffff8c1b0480 R15: ffff888020937300
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeefc4cfbc CR3: 000000000af6b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 ab mov %gs:0x3ab00,%rax
16: 03 00
18: 48 8b 00 mov (%rax),%rax
1b: a8 08 test $0x8,%al
1d: 75 0c jne 0x2b
1f: 66 90 xchg %ax,%ax
21: 0f 00 2d 87 42 a8 00 verw 0xa84287(%rip) # 0xa842af
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