VFS_BUG_ON_INODE(inode_state_read_once(inode) & I_CLEAR) encountered for inode ffff888039ffba40 fs sockfs mode 140777 opflags 0x8 flags 0x0 state 0x300 count 0 ------------[ cut here ]------------ kernel BUG at fs/inode.c:1971! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 16676 Comm: syz.9.3290 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~bpo12+1 04/01/2014 RIP: 0010:iput.part.0+0xb3b/0x1190 fs/inode.c:1971 Code: 4b 68 ff ff 90 0f 0b e8 33 ac 7b ff 90 0f 0b 90 e9 d3 f8 ff ff e8 25 ac 7b ff 48 c7 c6 20 87 a0 8b 48 89 df e8 26 68 ff ff 90 <0f> 0b e8 0e ac 7b ff 48 c7 c6 80 87 a0 8b 48 89 df e8 0f 68 ff ff RSP: 0018:ffffc90006687dc8 EFLAGS: 00010296 RAX: 000000000000009f RBX: ffff888039ffba40 RCX: ffffffff819bf255 RDX: 0000000000000000 RSI: ffffffff819c6e39 RDI: 0000000000000005 RBP: 0000000000000200 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 00000000ffffffff R12: 0000000000000000 R13: ffffffff90875474 R14: ffff888039ffbb10 R15: dffffc0000000000 FS: 00007f110e8436c0(0000) GS:ffff8880d6b60000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f110e822d58 CR3: 0000000033031000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: iput+0x35/0x40 fs/inode.c:1966 __sock_release+0x20b/0x270 net/socket.c:665 sock_release net/socket.c:681 [inline] sock_map_fd net/socket.c:510 [inline] __sys_socket+0x23a/0x2d0 net/socket.c:1747 __do_sys_socket net/socket.c:1752 [inline] __se_sys_socket net/socket.c:1750 [inline] __x64_sys_socket+0x72/0xb0 net/socket.c:1750 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f110d9916e7 Code: f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f110e841fa8 EFLAGS: 00000286 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f110dbe5fa0 RCX: 00007f110d9916e7 RDX: 0000000000000010 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: 0000200000000200 R11: 0000000000000286 R12: 0000000000000001 R13: 00007f110dbe6038 R14: 00007f110dbe5fa0 R15: 00007ffc1fa666c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:iput.part.0+0xb3b/0x1190 fs/inode.c:1971 Code: 4b 68 ff ff 90 0f 0b e8 33 ac 7b ff 90 0f 0b 90 e9 d3 f8 ff ff e8 25 ac 7b ff 48 c7 c6 20 87 a0 8b 48 89 df e8 26 68 ff ff 90 <0f> 0b e8 0e ac 7b ff 48 c7 c6 80 87 a0 8b 48 89 df e8 0f 68 ff ff RSP: 0018:ffffc90006687dc8 EFLAGS: 00010296 RAX: 000000000000009f RBX: ffff888039ffba40 RCX: ffffffff819bf255 RDX: 0000000000000000 RSI: ffffffff819c6e39 RDI: 0000000000000005 RBP: 0000000000000200 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 00000000ffffffff R12: 0000000000000000 R13: ffffffff90875474 R14: ffff888039ffbb10 R15: dffffc0000000000 FS: 00007f110e8436c0(0000) GS:ffff8880d6b60000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f110e822d58 CR3: 0000000033031000 CR4: 0000000000352ef0