gfs2: fsid=syz:syz.0: fatal assertion failed ------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:320! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 6036 Comm: syz.2.3 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__qd_hold fs/gfs2/quota.c:320 [inline] RIP: 0010:do_qc+0x5c1/0x5e0 fs/gfs2/quota.c:705 Code: 00 00 00 00 00 fc ff df 48 8b 0c 24 80 3c 01 00 74 0a 48 8b 7c 24 10 e8 ed 66 27 fe 48 8b 44 24 10 48 8b 38 e8 a0 05 2d fd 90 <0f> 0b e8 d8 60 c3 fd 48 8b 7c 24 10 e8 8e 05 2d fd 90 0f 0b 66 66 RSP: 0000:ffffc90004e1f288 EFLAGS: 00010246 RAX: 000000000000002c RBX: 1ffff1100ae4380e RCX: 522275c62f938500 RDX: ffffc9000dee9000 RSI: 000000000005ed4e RDI: 000000000005ed4f RBP: ffffffffffffffcd R08: ffffc90004e1efa7 R09: 1ffff920009c3df4 R10: dffffc0000000000 R11: fffff520009c3df5 R12: ffff88805721c000 R13: ffff88805721c070 R14: ffff88805721c090 R15: 0000000000000000 FS: 00007fa1459f66c0(0000) GS:ffff888125af9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71f41b4f78 CR3: 000000007e42a000 CR4: 00000000003526f0 Call Trace: gfs2_quota_change+0x394/0x800 fs/gfs2/quota.c:1304 punch_hole+0x26e7/0x2ca0 fs/gfs2/bmap.c:1961 gfs2_iomap_end+0x4f8/0x6c0 fs/gfs2/bmap.c:1178 iomap_iter+0x313/0xde0 fs/iomap/iter.c:79 iomap_file_buffered_write+0x7fa/0x9b0 fs/iomap/buffered-io.c:1065 gfs2_file_buffered_write+0x4ed/0x880 fs/gfs2/file.c:1061 gfs2_file_write_iter+0x94e/0x1100 fs/gfs2/file.c:1166 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa14778ebe9 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:00007fa1459f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa1479c6090 RCX: 00007fa14778ebe9 RDX: 000000000208e24b RSI: 0000200000000040 RDI: 0000000000000007 RBP: 00007fa147811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa1479c6128 R14: 00007fa1479c6090 R15: 00007ffee9608b78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__qd_hold fs/gfs2/quota.c:320 [inline] RIP: 0010:do_qc+0x5c1/0x5e0 fs/gfs2/quota.c:705 Code: 00 00 00 00 00 fc ff df 48 8b 0c 24 80 3c 01 00 74 0a 48 8b 7c 24 10 e8 ed 66 27 fe 48 8b 44 24 10 48 8b 38 e8 a0 05 2d fd 90 <0f> 0b e8 d8 60 c3 fd 48 8b 7c 24 10 e8 8e 05 2d fd 90 0f 0b 66 66 RSP: 0000:ffffc90004e1f288 EFLAGS: 00010246 RAX: 000000000000002c RBX: 1ffff1100ae4380e RCX: 522275c62f938500 RDX: ffffc9000dee9000 RSI: 000000000005ed4e RDI: 000000000005ed4f RBP: ffffffffffffffcd R08: ffffc90004e1efa7 R09: 1ffff920009c3df4 R10: dffffc0000000000 R11: fffff520009c3df5 R12: ffff88805721c000 R13: ffff88805721c070 R14: ffff88805721c090 R15: 0000000000000000 FS: 00007fa1459f66c0(0000) GS:ffff888125af9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71f41b4f78 CR3: 000000007e42a000 CR4: 00000000003526f0