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 UID: 0 PID: 11259 Comm: syz.2.1427 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_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307
do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7fe6fec
Code: Unable to access opcode bytes at 0xf7fe6fc2.
RSP: 002b:00000000f54a650c EFLAGS: 00000292 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000100
RDX: 0000000004000080 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 11259 Comm: syz.2.1427 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 5f 42 d7 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: 0000:ffffc900039d73f8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc9000c803000
RDX: 0000000000080000 RSI: ffffffff8331ea01 RDI: ffffc900039d7388
RBP: 0000000000000000 R08: 0000000000000001 R09: fffff5200073ae71
R10: 0000000000000003 R11: ffff888042c341e0 R12: ffff888042c341c8
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880511d5394
FS: 0000000000000000(0000) GS:ffff888096cf2000(0063) knlGS:00000000f54a6b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f7fe7000 CR3: 000000006bc87000 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_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307
do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7fe6fec
Code: Unable to access opcode bytes at 0xf7fe6fc2.
RSP: 002b:00000000f54a650c EFLAGS: 00000292 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000100
RDX: 0000000004000080 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:nfsd4_cancel_copy_by_sb+0x136/0x9e0 fs/nfsd/nfs4proc.c:1578
Code: e8 5f 42 d7 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: 0000:ffffc900039d73f8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc9000c803000
RDX: 0000000000080000 RSI: ffffffff8331ea01 RDI: ffffc900039d7388
RBP: 0000000000000000 R08: 0000000000000001 R09: fffff5200073ae71
R10: 0000000000000003 R11: ffff888042c341e0 R12: ffff888042c341c8
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880511d5394
FS: 0000000000000000(0000) GS:ffff888096cf2000(0063) knlGS:00000000f54a6b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f7fe7000 CR3: 000000006bc87000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: e8 5f 42 d7 fe call 0xfed74264
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)