VFS_BUG_ON_INODE(inode_state_read_once(inode) & (I_FREEING | I_CLEAR)): inode:ffff888054a31900 fs:sockfs mode:140777 opflags:0x8 flags:0x0 state:0x300 count:0 ------------[ cut here ]------------ kernel BUG at fs/inode.c:1980! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 19889 Comm: syz.3.3849 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:iput.part.0+0xa94/0xf50 fs/inode.c:1980 Code: a7 77 ff 48 c7 c6 e0 81 c5 8b 48 89 df e8 74 68 ff ff 90 0f 0b e8 0c a7 77 ff 48 c7 c6 c0 76 c5 8b 48 89 df e8 5d 68 ff ff 90 <0f> 0b e8 f5 a6 77 ff 48 c7 c6 80 81 c5 8b 48 89 df e8 46 68 ff ff RSP: 0018:ffffc9000c267118 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff888054a31900 RCX: ffffc900262d9000 RDX: 0000000000000000 RSI: ffffffff81250340 RDI: fffff5200184cde5 RBP: 0000000000000300 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff888054a31860 R13: ffffffff90d80fc4 R14: ffff888054a319d0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888097377000(0063) knlGS:00000000f5466b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7457a54 CR3: 000000002aff5000 CR4: 0000000000352ef0 Call Trace: iput+0x35/0x40 fs/inode.c:1975 __sock_release net/socket.c:734 [inline] sock_release+0x169/0x1c0 net/socket.c:750 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+0xaf/0x120 drivers/infiniband/sw/rxe/rxe_net.c:664 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:0xf7fa4fcc 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:00000000f546650c EFLAGS: 00000292 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 0000000080000480 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:iput.part.0+0xa94/0xf50 fs/inode.c:1980 Code: a7 77 ff 48 c7 c6 e0 81 c5 8b 48 89 df e8 74 68 ff ff 90 0f 0b e8 0c a7 77 ff 48 c7 c6 c0 76 c5 8b 48 89 df e8 5d 68 ff ff 90 <0f> 0b e8 f5 a6 77 ff 48 c7 c6 80 81 c5 8b 48 89 df e8 46 68 ff ff RSP: 0018:ffffc9000c267118 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff888054a31900 RCX: ffffc900262d9000 RDX: 0000000000000000 RSI: ffffffff81250340 RDI: fffff5200184cde5 RBP: 0000000000000300 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff888054a31860 R13: ffffffff90d80fc4 R14: ffff888054a319d0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888097377000(0063) knlGS:00000000f5466b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f70bc5d0 CR3: 000000002aff5000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8