ci starts bisection 2023-01-30 00:43:14.622156398 +0000 UTC m=+624708.568218476 bisecting fixing commit since 98555239e4c3aab1810d84073166eef6d54eeb3d building syzkaller on 86777b7fb4a452ebbd7430a2c4add0486734922b ensuring issue is reproducible on original commit 98555239e4c3aab1810d84073166eef6d54eeb3d testing commit 98555239e4c3aab1810d84073166eef6d54eeb3d gcc compiler: Debian clang version 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 289047706e508bc30cdb523fde1ffda64d9547d6561efb30280a569baead7e29 all runs: crashed: general protection fault in skb_queue_tail testing current HEAD 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a testing commit 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a gcc compiler: Debian clang version 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5dcf0c2ac305357080793ad2c82e6087db2a12e08ee26c2f7b9faad3c44df36d run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #2: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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 revisions tested: 2, total time: 22m41.656353636s (build: 14m57.952342561s, test: 7m2.649180348s) the crash still happens on HEAD commit msg: Merge tag 'fscache-fixes-20230130' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 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: 5808 Comm: dhcpcd-run-hook Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x163/0x220 lib/dump_stack.c:106 assign_lock_key+0x22a/0x240 kernel/locking/lockdep.c:981 register_lock_class+0x287/0x9b0 kernel/locking/lockdep.c:1294 __lock_acquire+0xe4/0x1f60 kernel/locking/lockdep.c:4934 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 skb_queue_tail+0x2c/0x110 net/core/skbuff.c:3572 hif_usb_regout_cb+0xfc/0x130 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x21c/0x360 drivers/usb/core/hcd.c:1671 dummy_timer+0xa7b/0x2fa0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0xe8/0x1c0 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x718/0x840 kernel/time/timer.c:2022 run_timer_softirq+0x46/0xb0 kernel/time/timer.c:2035 __do_softirq+0x277/0x75b kernel/softirq.c:571 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__kernel_text_address+0x2a/0x40 kernel/extable.c:79 Code: 53 48 89 fb e8 37 00 00 00 85 c0 0f 95 c0 48 c7 c1 00 b0 50 8e 48 39 cb 0f 93 c1 48 c7 c2 e7 37 62 8e 48 39 d3 0f 92 c2 20 ca <08> c2 0f b6 c2 5b c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc9000505f410 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffffff8147c6ae RCX: ffffffff8e50b000 RDX: ffffffff8e623700 RSI: ffffc90005058000 RDI: ffffffff8147c6ae RBP: ffffc9000505f4d0 R08: ffffc9000505f878 R09: dffffc0000000000 R10: fffff52000a0be94 R11: 1ffff92000a0be92 R12: ffff888079cf9d00 R13: ffffffff816c6aa0 R14: dffffc0000000000 R15: 1ffff92000a0be91 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:342 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:325 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slab.h:761 [inline] slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x1b3/0x350 mm/slub.c:3476 vm_area_dup+0x1e/0x150 kernel/fork.c:466 dup_mmap+0x77d/0xd90 kernel/fork.c:643 dup_mm kernel/fork.c:1548 [inline] copy_mm+0x12c/0x390 kernel/fork.c:1597 copy_process+0x14da/0x3a20 kernel/fork.c:2266 kernel_clone+0x183/0x4d0 kernel/fork.c:2681 __do_sys_clone kernel/fork.c:2822 [inline] __se_sys_clone kernel/fork.c:2806 [inline] __x64_sys_clone+0x271/0x2e0 kernel/fork.c:2806 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f1fca20f2 Code: ed 0f 85 11 01 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 a2 00 00 00 41 89 c5 85 c0 0f 85 af 00 00 RSP: 002b:00007fff1aba4d50 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000056503ed1cae0 RCX: 00007f5f1fca20f2 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007f5f1fb38ad0 R11: 0000000000000246 R12: 0000000000000000 R13: 000056503ed2aaf8 R14: 0000000000000002 R15: 0000000000000007 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: 5808 Comm: dhcpcd-run-hook Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__skb_insert include/linux/skbuff.h:2170 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2276 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2309 [inline] RIP: 0010:skb_queue_tail+0xb2/0x110 net/core/skbuff.c:3573 Code: aa 32 fa 4d 89 2f 49 bf 00 00 00 00 00 fc ff df 42 80 7c 3d 00 00 74 08 4c 89 f7 e8 88 aa 32 fa 49 89 1e 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 6f aa 32 fa 49 89 5d 00 49 83 c4 RSP: 0018:ffffc900000077d8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88807dd92640 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc900000076c0 RBP: 1ffff1100ec1b713 R08: dffffc0000000000 R09: fffff52000000ed8 R10: fffff52000000ed9 R11: 1ffff92000000ed8 R12: ffff8880760db890 R13: 0000000000000000 R14: ffff8880760db898 R15: dffffc0000000000 FS: 00007f5f1fb38800(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056503ed1d000 CR3: 000000001c0cb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hif_usb_regout_cb+0xfc/0x130 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x21c/0x360 drivers/usb/core/hcd.c:1671 dummy_timer+0xa7b/0x2fa0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0xe8/0x1c0 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x718/0x840 kernel/time/timer.c:2022 run_timer_softirq+0x46/0xb0 kernel/time/timer.c:2035 __do_softirq+0x277/0x75b kernel/softirq.c:571 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__kernel_text_address+0x2a/0x40 kernel/extable.c:79 Code: 53 48 89 fb e8 37 00 00 00 85 c0 0f 95 c0 48 c7 c1 00 b0 50 8e 48 39 cb 0f 93 c1 48 c7 c2 e7 37 62 8e 48 39 d3 0f 92 c2 20 ca <08> c2 0f b6 c2 5b c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc9000505f410 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffffff8147c6ae RCX: ffffffff8e50b000 RDX: ffffffff8e623700 RSI: ffffc90005058000 RDI: ffffffff8147c6ae RBP: ffffc9000505f4d0 R08: ffffc9000505f878 R09: dffffc0000000000 R10: fffff52000a0be94 R11: 1ffff92000a0be92 R12: ffff888079cf9d00 R13: ffffffff816c6aa0 R14: dffffc0000000000 R15: 1ffff92000a0be91 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:342 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:325 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slab.h:761 [inline] slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x1b3/0x350 mm/slub.c:3476 vm_area_dup+0x1e/0x150 kernel/fork.c:466 dup_mmap+0x77d/0xd90 kernel/fork.c:643 dup_mm kernel/fork.c:1548 [inline] copy_mm+0x12c/0x390 kernel/fork.c:1597 copy_process+0x14da/0x3a20 kernel/fork.c:2266 kernel_clone+0x183/0x4d0 kernel/fork.c:2681 __do_sys_clone kernel/fork.c:2822 [inline] __se_sys_clone kernel/fork.c:2806 [inline] __x64_sys_clone+0x271/0x2e0 kernel/fork.c:2806 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f1fca20f2 Code: ed 0f 85 11 01 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 a2 00 00 00 41 89 c5 85 c0 0f 85 af 00 00 RSP: 002b:00007fff1aba4d50 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000056503ed1cae0 RCX: 00007f5f1fca20f2 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007f5f1fb38ad0 R11: 0000000000000246 R12: 0000000000000000 R13: 000056503ed2aaf8 R14: 0000000000000002 R15: 0000000000000007 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_insert include/linux/skbuff.h:2170 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2276 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2309 [inline] RIP: 0010:skb_queue_tail+0xb2/0x110 net/core/skbuff.c:3573 Code: aa 32 fa 4d 89 2f 49 bf 00 00 00 00 00 fc ff df 42 80 7c 3d 00 00 74 08 4c 89 f7 e8 88 aa 32 fa 49 89 1e 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 6f aa 32 fa 49 89 5d 00 49 83 c4 RSP: 0018:ffffc900000077d8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88807dd92640 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc900000076c0 RBP: 1ffff1100ec1b713 R08: dffffc0000000000 R09: fffff52000000ed8 R10: fffff52000000ed9 R11: 1ffff92000000ed8 R12: ffff8880760db890 R13: 0000000000000000 R14: ffff8880760db898 R15: dffffc0000000000 FS: 00007f5f1fb38800(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056503ed1d000 CR3: 000000001c0cb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 53 push %rbx 1: 48 89 fb mov %rdi,%rbx 4: e8 37 00 00 00 callq 0x40 9: 85 c0 test %eax,%eax b: 0f 95 c0 setne %al e: 48 c7 c1 00 b0 50 8e mov $0xffffffff8e50b000,%rcx 15: 48 39 cb cmp %rcx,%rbx 18: 0f 93 c1 setae %cl 1b: 48 c7 c2 e7 37 62 8e mov $0xffffffff8e6237e7,%rdx 22: 48 39 d3 cmp %rdx,%rbx 25: 0f 92 c2 setb %dl 28: 20 ca and %cl,%dl * 2a: 08 c2 or %al,%dl <-- trapping instruction 2c: 0f b6 c2 movzbl %dl,%eax 2f: 5b pop %rbx 30: c3 retq 31: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 38: 00 00 00 3b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)