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 1 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount list_del corruption. prev->next should be ffffc90002d7fa00, but was ffff88804c058e90. (prev=ffff88804c058e90) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5115 Comm: syz.0.0 Not tainted 6.11.0-syzkaller-11558-g075dbe9f6e3c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x11b/0x140 lib/list_debug.c:62 Code: ff 06 90 0f 0b 48 c7 c7 a0 f8 60 8c 4c 89 fe e8 2b eb ff 06 90 0f 0b 48 c7 c7 00 f9 60 8c 4c 89 fe 48 89 d9 e8 16 eb ff 06 90 <0f> 0b 48 c7 c7 80 f9 60 8c 4c 89 fe 4c 89 f1 e8 01 eb ff 06 90 0f RSP: 0018:ffffc90002d7f878 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff88804c058e90 RCX: 8971b1f9ab668400 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffffc90002d7fad0 R08: ffffffff81746bbc R09: 1ffff920005afeac R10: dffffc0000000000 R11: fffff520005afead R12: dffffc0000000000 R13: ffffc90002d7fa00 R14: ffff88804c058e90 R15: ffffc90002d7fa00 FS: 00007f0897d726c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff32568f98 CR3: 000000003aee2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del include/linux/list.h:229 [inline] rwsem_try_write_lock kernel/locking/rwsem.c:663 [inline] rwsem_down_write_slowpath+0xf9b/0x13b0 kernel/locking/rwsem.c:1152 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:815 [inline] vfs_setxattr+0x1e1/0x430 fs/xattr.c:320 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x37e/0x4d0 fs/xattr.c:658 __do_sys_setxattr fs/xattr.c:676 [inline] __se_sys_setxattr fs/xattr.c:672 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:672 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:0x7f0896f7df39 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:00007f0897d72038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f0897136058 RCX: 00007f0896f7df39 RDX: 0000000020000280 RSI: 0000000020000240 RDI: 0000000020000200 RBP: 00007f0896ff0216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0897136058 R15: 00007fff32569c08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x11b/0x140 lib/list_debug.c:62 Code: ff 06 90 0f 0b 48 c7 c7 a0 f8 60 8c 4c 89 fe e8 2b eb ff 06 90 0f 0b 48 c7 c7 00 f9 60 8c 4c 89 fe 48 89 d9 e8 16 eb ff 06 90 <0f> 0b 48 c7 c7 80 f9 60 8c 4c 89 fe 4c 89 f1 e8 01 eb ff 06 90 0f RSP: 0018:ffffc90002d7f878 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff88804c058e90 RCX: 8971b1f9ab668400 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffffc90002d7fad0 R08: ffffffff81746bbc R09: 1ffff920005afeac R10: dffffc0000000000 R11: fffff520005afead R12: dffffc0000000000 R13: ffffc90002d7fa00 R14: ffff88804c058e90 R15: ffffc90002d7fa00 FS: 00007f0897d726c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff32568f98 CR3: 000000003aee2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400