ci starts bisection 2023-02-10 15:32:41.023495375 +0000 UTC m=+3424.695287105 bisecting fixing commit since 355479c70a489415ef6e2624e514f8f15a40861b building syzkaller on e080de16713b9dbf308cdd7bcb85b58293e46e33 ensuring issue is reproducible on original commit 355479c70a489415ef6e2624e514f8f15a40861b testing commit 355479c70a489415ef6e2624e514f8f15a40861b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4ee92f6bd82db2cd7a8672c8f96d4c3770ebd418911de0f6384876a6cbb88bd4 run #0: crashed: INFO: rcu detected stall in corrupted run #1: crashed: INFO: rcu detected stall in corrupted run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: INFO: rcu detected stall in corrupted run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: INFO: rcu detected stall in corrupted run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing current HEAD 38c1e0c65865426676123cc9a127526fa02bcac6 testing commit 38c1e0c65865426676123cc9a127526fa02bcac6 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d1ba4e72a830a42b25b1d79c2a8787ce3696278d3339d783595815717d4d97dd run #0: crashed: INFO: trying to register non-static key in net_free run #1: crashed: INFO: trying to register non-static key in net_free run #2: crashed: INFO: trying to register non-static key in net_free run #3: crashed: unregister_netdevice: waiting for DEV to become free run #4: crashed: INFO: trying to register non-static key in net_free run #5: crashed: INFO: trying to register non-static key in net_free run #6: crashed: INFO: trying to register non-static key in net_free run #7: crashed: INFO: trying to register non-static key in net_free run #8: crashed: unregister_netdevice: waiting for DEV to become free run #9: crashed: INFO: trying to register non-static key in net_free revisions tested: 2, total time: 48m4.045062062s (build: 17m46.792631658s, test: 18m39.849856602s) the crash still happens on HEAD commit msg: Merge tag 'drm-fixes-2023-02-10' of git://anongit.freedesktop.org/drm/drm crash: INFO: trying to register non-static key in net_free 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: 5637 Comm: syz-executor.2 Not tainted 6.2.0-rc7-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+0x5b/0x81 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:981 [inline] register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1294 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 ref_tracker_dir_exit+0x4c/0x3b0 lib/ref_tracker.c:24 net_free net/core/net_namespace.c:442 [inline] net_free+0x59/0x80 net/core/net_namespace.c:436 copy_net_ns+0x3d0/0x540 net/core/net_namespace.c:493 create_new_namespaces+0x35a/0x920 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x8a/0x1a0 kernel/nsproxy.c:228 ksys_unshare+0x30d/0x6b0 kernel/fork.c:3202 __do_sys_unshare kernel/fork.c:3273 [inline] __se_sys_unshare kernel/fork.c:3271 [inline] __x64_sys_unshare+0x2c/0x40 kernel/fork.c:3271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f838628d697 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83864cffa8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007ffd8544c8b8 RCX: 00007f838628d697 RDX: 00007f83862fa07f RSI: 0000000000000000 RDI: 0000000040000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f83864cfc80 R10: 0000000000000000 R11: 0000000000000206 R12: 00000000fffffff1 R13: 00007ffd8544c350 R14: 0000000000000000 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: 1 PID: 5637 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:ref_tracker_dir_exit+0x8c/0x3b0 lib/ref_tracker.c:25 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2b 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 75 60 4c 89 f2 4d 89 f1 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 02 00 00 4c 39 34 24 49 8b 1e 0f 84 11 01 00 RSP: 0018:ffffc90004ee7d00 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: 00000000fffffffc RCX: ffffffff815ba5b4 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90004ee7c70 RBP: ffff88801c8e01c0 R08: 0000000000000001 R09: 0000000000000000 R10: fffff520009dcf8e R11: 3e4b5341542f3c20 R12: ffff88801c8e0000 R13: ffff88801bb95600 R14: 0000000000000000 R15: ffff88801bfdd634 FS: 0000555557215400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f4fa02c9f0 CR3: 000000001dd39000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:442 [inline] net_free+0x59/0x80 net/core/net_namespace.c:436 copy_net_ns+0x3d0/0x540 net/core/net_namespace.c:493 create_new_namespaces+0x35a/0x920 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x8a/0x1a0 kernel/nsproxy.c:228 ksys_unshare+0x30d/0x6b0 kernel/fork.c:3202 __do_sys_unshare kernel/fork.c:3273 [inline] __se_sys_unshare kernel/fork.c:3271 [inline] __x64_sys_unshare+0x2c/0x40 kernel/fork.c:3271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f838628d697 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83864cffa8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007ffd8544c8b8 RCX: 00007f838628d697 RDX: 00007f83862fa07f RSI: 0000000000000000 RDI: 0000000040000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f83864cfc80 R10: 0000000000000000 R11: 0000000000000206 R12: 00000000fffffff1 R13: 00007ffd8544c350 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ref_tracker_dir_exit+0x8c/0x3b0 lib/ref_tracker.c:25 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2b 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 75 60 4c 89 f2 4d 89 f1 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 02 00 00 4c 39 34 24 49 8b 1e 0f 84 11 01 00 RSP: 0018:ffffc90004ee7d00 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: 00000000fffffffc RCX: ffffffff815ba5b4 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90004ee7c70 RBP: ffff88801c8e01c0 R08: 0000000000000001 R09: 0000000000000000 R10: fffff520009dcf8e R11: 3e4b5341542f3c20 R12: ffff88801c8e0000 R13: ffff88801bb95600 R14: 0000000000000000 R15: ffff88801bfdd634 FS: 0000555557215400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f4fa02c9f0 CR3: 000000001dd39000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 2b 03 00 00 jne 0x339 e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4c 8b 75 60 mov 0x60(%rbp),%r14 1c: 4c 89 f2 mov %r14,%rdx 1f: 4d 89 f1 mov %r14,%r9 22: 48 c1 ea 03 shr $0x3,%rdx * 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2a: 0f 85 f2 02 00 00 jne 0x322 30: 4c 39 34 24 cmp %r14,(%rsp) 34: 49 8b 1e mov (%r14),%rbx 37: 0f .byte 0xf 38: 84 11 test %dl,(%rcx) 3a: 01 00 add %eax,(%rax)