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: 3 UID: 0 PID: 16804 Comm: syz.1.3286 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 assign_lock_key kernel/locking/lockdep.c:984 [inline] register_lock_class+0x549/0x560 kernel/locking/lockdep.c:1299 __lock_acquire+0x3d7/0x1a40 kernel/locking/lockdep.c:5112 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x1b9/0x370 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] nfsd4_cancel_copy_by_sb+0xdd/0x9e0 fs/nfsd/nfs4proc.c:1574 nfsd_nl_unlock_filesystem_doit+0x1f1/0x3f0 fs/nfsd/nfsctl.c:2343 genl_family_rcv_msg_doit+0x214/0x300 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x560/0x800 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2556 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0xa4d/0xbe0 net/socket.c:2684 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2738 __sys_sendmsg+0x160/0x210 net/socket.c:2770 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f34feb9de59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f34ffa1b028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f34fee25fa0 RCX: 00007f34feb9de59 RDX: 0000000004000080 RSI: 0000200000000100 RDI: 0000000000000003 RBP: 00007f34fec33e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f34fee26038 R14: 00007f34fee25fa0 R15: 00007fffa816c178 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 3 UID: 0 PID: 16804 Comm: syz.1.3286 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:nfsd4_cancel_copy_by_sb+0x136/0x9e0 fs/nfsd/nfs4proc.c:1578 Code: e8 1f ed d5 fe 48 8b 44 24 40 80 38 00 0f 85 28 08 00 00 48 8b 44 24 38 4c 89 f5 48 c1 e5 04 48 03 68 68 48 89 e8 48 c1 e8 03 <80> 3c 18 00 0f 85 16 08 00 00 4c 8b 65 00 4c 39 e5 0f 84 4e 04 00 RSP: 0018:ffffc90004067408 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff81e5b2e8 RDX: ffff8880343e4a80 RSI: ffffffff8333e321 RDI: ffffc90004067398 RBP: 0000000000000000 R08: 0000000000000001 R09: fffff5200080ce73 R10: 0000000000000003 R11: ffff88805adbc1e0 R12: ffff88805adbc1c8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880382de714 FS: 00007f34ffa1b6c0(0000) GS:ffff8880d60eb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559970cb3148 CR3: 0000000042f74000 CR4: 0000000000352ef0 Call Trace: nfsd_nl_unlock_filesystem_doit+0x1f1/0x3f0 fs/nfsd/nfsctl.c:2343 genl_family_rcv_msg_doit+0x214/0x300 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x560/0x800 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2556 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0xa4d/0xbe0 net/socket.c:2684 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2738 __sys_sendmsg+0x160/0x210 net/socket.c:2770 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f34feb9de59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f34ffa1b028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f34fee25fa0 RCX: 00007f34feb9de59 RDX: 0000000004000080 RSI: 0000200000000100 RDI: 0000000000000003 RBP: 00007f34fec33e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f34fee26038 R14: 00007f34fee25fa0 R15: 00007fffa816c178 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nfsd4_cancel_copy_by_sb+0x136/0x9e0 fs/nfsd/nfs4proc.c:1578 Code: e8 1f ed d5 fe 48 8b 44 24 40 80 38 00 0f 85 28 08 00 00 48 8b 44 24 38 4c 89 f5 48 c1 e5 04 48 03 68 68 48 89 e8 48 c1 e8 03 <80> 3c 18 00 0f 85 16 08 00 00 4c 8b 65 00 4c 39 e5 0f 84 4e 04 00 RSP: 0018:ffffc90004067408 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff81e5b2e8 RDX: ffff8880343e4a80 RSI: ffffffff8333e321 RDI: ffffc90004067398 RBP: 0000000000000000 R08: 0000000000000001 R09: fffff5200080ce73 R10: 0000000000000003 R11: ffff88805adbc1e0 R12: ffff88805adbc1c8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880382de714 FS: 00007f34ffa1b6c0(0000) GS:ffff8880d60eb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559970cb3148 CR3: 0000000042f74000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: e8 1f ed d5 fe call 0xfed5ed24 5: 48 8b 44 24 40 mov 0x40(%rsp),%rax a: 80 38 00 cmpb $0x0,(%rax) d: 0f 85 28 08 00 00 jne 0x83b 13: 48 8b 44 24 38 mov 0x38(%rsp),%rax 18: 4c 89 f5 mov %r14,%rbp 1b: 48 c1 e5 04 shl $0x4,%rbp 1f: 48 03 68 68 add 0x68(%rax),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 0f 85 16 08 00 00 jne 0x84a 34: 4c 8b 65 00 mov 0x0(%rbp),%r12 38: 4c 39 e5 cmp %r12,%rbp 3b: 0f .byte 0xf 3c: 84 4e 04 test %cl,0x4(%rsi)