Oops: general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 3 UID: 0 PID: 9960 Comm: syz.2.782 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:kernel_sock_shutdown+0x47/0x70 net/socket.c:3785 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 33 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 20 49 8d 7c 24 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 1a 49 8b 44 24 68 89 ee 48 89 df 5b 5d 41 5c ff e0 RSP: 0000:ffffc90004727170 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888028261240 RCX: ffffc9000c571000 RDX: 000000000000000d RSI: ffffffff8959b622 RDI: 0000000000000068 RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed1008cf6005 R10: ffff8880467b002b R11: 0000000000000003 R12: 0000000000000000 R13: ffff88804def26c0 R14: 0000000000000002 R15: 0000000000000018 FS: 0000000000000000(0000) GS:ffff8880973e8000(0063) knlGS:00000000f53cdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f50c82ed CR3: 0000000076eac000 CR4: 0000000000352ef0 Call Trace: udp_tunnel_sock_release+0x68/0x80 net/ipv4/udp_tunnel_core.c:202 rxe_release_udp_tunnel drivers/infiniband/sw/rxe/rxe_net.c:294 [inline] rxe_sock_put+0xae/0x130 drivers/infiniband/sw/rxe/rxe_net.c:639 rxe_net_del+0x83/0x120 drivers/infiniband/sw/rxe/rxe_net.c:660 rxe_dellink+0x15/0x20 drivers/infiniband/sw/rxe/rxe.c:254 nldev_dellink+0x289/0x3c0 drivers/infiniband/core/nldev.c:1849 rdma_nl_rcv_msg+0x392/0x6f0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2cb/0x410 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x9e1/0xb70 net/socket.c:2698 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2752 __sys_sendmsg+0x170/0x220 net/socket.c:2784 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x950 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:0xf6fdefcc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f53cd50c EFLAGS: 00000292 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00000000800002c0 RDX: 0000000000000000 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:kernel_sock_shutdown+0x47/0x70 net/socket.c:3785 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 33 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 20 49 8d 7c 24 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 1a 49 8b 44 24 68 89 ee 48 89 df 5b 5d 41 5c ff e0 RSP: 0000:ffffc90004727170 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888028261240 RCX: ffffc9000c571000 RDX: 000000000000000d RSI: ffffffff8959b622 RDI: 0000000000000068 RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed1008cf6005 R10: ffff8880467b002b R11: 0000000000000003 R12: 0000000000000000 R13: ffff88804def26c0 R14: 0000000000000002 R15: 0000000000000018 FS: 0000000000000000(0000) GS:ffff8880972e8000(0063) knlGS:00000000f53cdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f4b43cf16b0 CR3: 0000000076eac000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fc cld 1: ff lcall (bad) 2: df 48 89 fisttps -0x77(%rax) 5: fa cli 6: 48 c1 ea 03 shr $0x3,%rdx a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) e: 75 33 jne 0x43 10: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 17: fc ff df 1a: 4c 8b 63 20 mov 0x20(%rbx),%r12 1e: 49 8d 7c 24 68 lea 0x68(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 1a jne 0x4a 30: 49 8b 44 24 68 mov 0x68(%r12),%rax 35: 89 ee mov %ebp,%esi 37: 48 89 df mov %rbx,%rdi 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: 41 5c pop %r12 3e: ff e0 jmp *%rax