slab gfs2_inode start ffff888048c04f80 pointer offset 304 size 1568 list_del corruption. prev->next should be ffffc9000ae57920, but was ffff888048c050b0. (prev=ffff888048c050b0) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x15a/0x190 lib/list_debug.c:62 Code: e8 3b 81 5f fd 43 80 3c 2c 00 74 08 4c 89 ff e8 4c 11 82 fd 49 8b 17 48 c7 c7 c0 54 07 8c 48 89 de 4c 89 f9 e8 e7 5e 7b fc 90 <0f> 0b 4c 89 f7 e8 0c 81 5f fd 43 80 3c 2c 00 74 08 4c 89 ff e8 1d RSP: 0018:ffffc9000ae577b0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffffc9000ae57920 RCX: f8fe82788d4b1500 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffffc9000ae579f0 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: 1ffff11009180a16 R13: dffffc0000000000 R14: ffff888048c050b0 R15: ffff888048c050b0 FS: 00007fe5f32b66c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5f32b5ff8 CR3: 0000000042577000 CR4: 0000000000352ef0 Call Trace: __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:223 [inline] list_del include/linux/list.h:237 [inline] rwsem_try_write_lock kernel/locking/rwsem.c:662 [inline] rwsem_down_write_slowpath+0x949/0x1040 kernel/locking/rwsem.c:1159 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1bc/0x200 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:1027 [inline] vfs_setxattr+0x143/0x2e0 fs/xattr.c:320 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x281/0x630 fs/xattr.c:665 path_setxattrat+0x3f3/0x430 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe5f239aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe5f32b6028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe5f2616180 RCX: 00007fe5f239aeb9 RDX: 0000200000000100 RSI: 0000200000000540 RDI: 00002000000003c0 RBP: 00007fe5f2408c1f R08: 0000000000000001 R09: 0000000000000000 R10: 00000000000000a6 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe5f2616218 R14: 00007fe5f2616180 R15: 00007ffcdbe203d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x15a/0x190 lib/list_debug.c:62 Code: e8 3b 81 5f fd 43 80 3c 2c 00 74 08 4c 89 ff e8 4c 11 82 fd 49 8b 17 48 c7 c7 c0 54 07 8c 48 89 de 4c 89 f9 e8 e7 5e 7b fc 90 <0f> 0b 4c 89 f7 e8 0c 81 5f fd 43 80 3c 2c 00 74 08 4c 89 ff e8 1d RSP: 0018:ffffc9000ae577b0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffffc9000ae57920 RCX: f8fe82788d4b1500 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffffc9000ae579f0 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: 1ffff11009180a16 R13: dffffc0000000000 R14: ffff888048c050b0 R15: ffff888048c050b0 FS: 00007fe5f32b66c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5f32b5ff8 CR3: 0000000042577000 CR4: 0000000000352ef0