loop7: detected capacity change from 0 to 8 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10637 at fs/file.c:1202 file_seek_cur_needs_f_lock+0x121/0x150 fs/file.c:1201 Modules linked in: CPU: 1 UID: 0 PID: 10637 Comm: syz.7.512 Not tainted 6.15.0-rc4-syzkaller-00021-gca91b9500108 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:file_seek_cur_needs_f_lock+0x121/0x150 fs/file.c:1201 Code: 23 e8 33 5b 87 ff eb 05 e8 2c 5b 87 ff b0 01 5b 41 5e 41 5f 5d c3 cc cc cc cc cc e8 19 5b 87 ff 31 c0 eb eb e8 10 5b 87 ff 90 <0f> 0b 90 eb de 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c fd fe ff ff RSP: 0018:ffffc9000c0b7e60 EFLAGS: 00010283 RAX: ffffffff823862d0 RBX: ffff888023e5d910 RCX: 0000000000080000 RDX: ffffc90012283000 RSI: 000000000000000d RDI: 000000000000000e RBP: 0000000000000000 R08: ffff888023e5d917 R09: 1ffff110047cbb22 R10: dffffc0000000000 R11: ffffed10047cbb23 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: bfffffffffffffff FS: 00007f9df94586c0(0000) GS:ffff888126200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555819a3808 CR3: 0000000030aec000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_file_llseek_size+0xaa/0x4b0 fs/read_write.c:178 vfs_llseek fs/read_write.c:387 [inline] ksys_lseek fs/read_write.c:400 [inline] __do_sys_lseek fs/read_write.c:410 [inline] __se_sys_lseek fs/read_write.c:408 [inline] __x64_sys_lseek+0x14c/0x1e0 fs/read_write.c:408 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9df858e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f9df9458038 EFLAGS: 00000246 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00007f9df87b5fa0 RCX: 00007f9df858e969 RDX: 0000000000000001 RSI: fffffffffffffffa RDI: 0000000000000005 RBP: 00007f9df8610ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9df87b5fa0 R15: 00007fffae06de58