list_del corruption. prev->next should be ffffc90003617a00, but was ffff8880603d8e90. (prev=ffff8880603d8e90)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:64!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 6310 Comm: syz.1.94 Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid_or_report+0x11b/0x140 lib/list_debug.c:62
Code: 00 07 90 0f 0b 48 c7 c7 60 08 61 8c 4c 89 fe e8 cb 7b 00 07 90 0f 0b 48 c7 c7 c0 08 61 8c 4c 89 fe 48 89 d9 e8 b6 7b 00 07 90 <0f> 0b 48 c7 c7 40 09 61 8c 4c 89 fe 4c 89 f1 e8 a1 7b 00 07 90 0f
RSP: 0018:ffffc90003617878 EFLAGS: 00010046
RAX: 000000000000006d RBX: ffff8880603d8e90 RCX: 17e7c3e23ce17000
RDX: ffffc9000ed29000 RSI: 00000000000059f6 RDI: 00000000000059f7
RBP: ffffc90003617ad0 R08: ffffffff8174a14c R09: 1ffff920006c2eac
R10: dffffc0000000000 R11: fffff520006c2ead R12: dffffc0000000000
R13: ffffc90003617a00 R14: ffff8880603d8e90 R15: ffffc90003617a00
FS: 00007fc3940c16c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc3940c0f98 CR3: 000000005e892000 CR4: 0000000000350ef0
Call Trace:
<TASK>
__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:661 [inline]
rwsem_down_write_slowpath+0xf9b/0x13b0 kernel/locking/rwsem.c:1150
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
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:0x7fc39337e719
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:00007fc3940c1038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fc393536130 RCX: 00007fc39337e719
RDX: 00000000200001c0 RSI: 00000000200003c0 RDI: 00000000200000c0
RBP: 00007fc3933f132e R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fc393536130 R15: 00007fff7cee3688
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x11b/0x140 lib/list_debug.c:62
Code: 00 07 90 0f 0b 48 c7 c7 60 08 61 8c 4c 89 fe e8 cb 7b 00 07 90 0f 0b 48 c7 c7 c0 08 61 8c 4c 89 fe 48 89 d9 e8 b6 7b 00 07 90 <0f> 0b 48 c7 c7 40 09 61 8c 4c 89 fe 4c 89 f1 e8 a1 7b 00 07 90 0f
RSP: 0018:ffffc90003617878 EFLAGS: 00010046
RAX: 000000000000006d RBX: ffff8880603d8e90 RCX: 17e7c3e23ce17000
RDX: ffffc9000ed29000 RSI: 00000000000059f6 RDI: 00000000000059f7
RBP: ffffc90003617ad0 R08: ffffffff8174a14c R09: 1ffff920006c2eac
R10: dffffc0000000000 R11: fffff520006c2ead R12: dffffc0000000000
R13: ffffc90003617a00 R14: ffff8880603d8e90 R15: ffffc90003617a00
FS: 00007fc3940c16c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc3940c0f98 CR3: 000000005e892000 CR4: 0000000000350ef0