dvmrp0: entered allmulticast mode loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.0: journal 0 mapped with 3 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount gfs2: fsid=syz:syz.0: found 1 quota changes loop0: detected capacity change from 32768 to 64 syz.0.0: attempt to access beyond end of device loop0: rw=1, sector=3112, nr_sectors = 80 limit=64 gfs2: fsid=syz:syz.0: Error -5 writing to journal, jid=0 ------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:331! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5356 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-12288-g2b38afce25c4 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:qd_put+0x18a/0x190 fs/gfs2/quota.c:331 Code: e7 e8 fa 5d 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 d1 5e 28 fe e9 76 ff ff ff e8 47 72 c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d47f848 EFLAGS: 00010283 RAX: ffffffff83fc4919 RBX: ffff888052c84000 RCX: 0000000000100000 RDX: ffffc9000e26a000 RSI: 000000000000226a RDI: 000000000000226b RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a8fef0 R12: ffff888052c84070 R13: dffffc0000000000 R14: ffff888052c84030 R15: 1ffff1100a59080e FS: 00007fd8066506c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faec999b000 CR3: 0000000042de2000 CR4: 0000000000352ef0 Call Trace: gfs2_quota_unhold+0x1c9/0x690 fs/gfs2/quota.c:653 gfs2_quota_unlock+0x7bd/0x8a0 fs/gfs2/quota.c:1191 setattr_chown+0x44b/0x570 fs/gfs2/inode.c:2062 gfs2_setattr+0x217/0x3f0 fs/gfs2/inode.c:2107 notify_change+0xb33/0xe40 fs/attr.c:552 chown_common+0x40c/0x5c0 fs/open.c:791 do_fchownat+0x161/0x270 fs/open.c:822 __do_sys_lchown fs/open.c:847 [inline] __se_sys_lchown fs/open.c:845 [inline] __x64_sys_lchown+0x85/0xa0 fs/open.c:845 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd80578ebe9 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:00007fd806650038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007fd8059b5fa0 RCX: 00007fd80578ebe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080 RBP: 00007fd805811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd8059b6038 R14: 00007fd8059b5fa0 R15: 00007ffc05550e78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qd_put+0x18a/0x190 fs/gfs2/quota.c:331 Code: e7 e8 fa 5d 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 d1 5e 28 fe e9 76 ff ff ff e8 47 72 c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d47f848 EFLAGS: 00010283 RAX: ffffffff83fc4919 RBX: ffff888052c84000 RCX: 0000000000100000 RDX: ffffc9000e26a000 RSI: 000000000000226a RDI: 000000000000226b RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a8fef0 R12: ffff888052c84070 R13: dffffc0000000000 R14: ffff888052c84030 R15: 1ffff1100a59080e FS: 00007fd8066506c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faec999b000 CR3: 0000000042de2000 CR4: 0000000000352ef0