VFS: Close: file count is 0 (f_op=shmem_file_operations) ------------[ cut here ]------------ kernel BUG at fs/open.c:1514! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 6514 Comm: syz-executor.2 Not tainted 6.10.0-rc2-next-20240607-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:filp_flush+0x152/0x160 fs/open.c:1512 Code: e9 80 e1 07 80 c1 03 38 c1 7c a6 48 89 ef e8 75 00 f0 ff eb 9c e8 8e f1 89 ff 48 c7 c7 20 64 d8 8b 48 89 ee e8 7f 6a 7e 09 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900097e7eb8 EFLAGS: 00010246 RAX: 0000000000000038 RBX: 0000000000000000 RCX: 2d4862893d421800 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffffff8bd43640 R08: ffffffff817691d9 R09: fffffbfff1c3994c R10: dffffc0000000000 R11: fffffbfff1c3994c R12: ffff8880227bd180 R13: dffffc0000000000 R14: ffff88802dc51680 R15: 0000000000000003 FS: 000055558130a480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32b2a000 CR3: 00000000637ba000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_close fs/open.c:1553 [inline] __se_sys_close fs/open.c:1544 [inline] __x64_sys_close+0x75/0x110 fs/open.c:1544 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f14a1c7be5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fff6f25dd50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f14a1c7be5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f14a1db5980 R08: 00000000819dab9d R09: 7fffffffffffffff R10: 0000000000000072 R11: 0000000000000293 R12: 0000000000029ca4 R13: 00007f14a1db405c R14: 0000000000000032 R15: 00007f14a1db5980 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filp_flush+0x152/0x160 fs/open.c:1512 Code: e9 80 e1 07 80 c1 03 38 c1 7c a6 48 89 ef e8 75 00 f0 ff eb 9c e8 8e f1 89 ff 48 c7 c7 20 64 d8 8b 48 89 ee e8 7f 6a 7e 09 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900097e7eb8 EFLAGS: 00010246 RAX: 0000000000000038 RBX: 0000000000000000 RCX: 2d4862893d421800