list_add corruption. next->prev should be prev (ffffffff91dfe878), but was 0000060100040048. (next=ffff888070e8fc38). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4986 Comm: udevd Not tainted 6.4.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__list_add_valid+0xa5/0x100 lib/list_debug.c:27 Code: c7 c7 00 f8 a6 8a e8 8a df 50 fd 0f 0b 48 c7 c7 a0 f8 a6 8a e8 7c df 50 fd 0f 0b 4c 89 e1 48 c7 c7 00 f9 a6 8a e8 6b df 50 fd <0f> 0b 48 89 f1 48 c7 c7 80 f9 a6 8a 4c 89 e6 e8 57 df 50 fd 0f 0b RSP: 0018:ffffc900033cfa20 EFLAGS: 00010286 RAX: 0000000000000075 RBX: ffff88802068ee08 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8167dd6c RDI: 0000000000000005 RBP: ffff88802068efa0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000001 R12: ffff888070e8fc38 R13: ffff88802068efa0 R14: ffff88802068efa0 R15: ffff888070e8fc38 FS: 00007fc75aad2c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000060100040048 CR3: 0000000028d93000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:69 [inline] list_add include/linux/list.h:88 [inline] list_move include/linux/list.h:218 [inline] inode_io_list_move_locked+0x1fa/0x3f0 fs/fs-writeback.c:126 __mark_inode_dirty+0x522/0xd60 fs/fs-writeback.c:2505 generic_update_time fs/inode.c:1859 [inline] inode_update_time fs/inode.c:1872 [inline] touch_atime+0x687/0x740 fs/inode.c:1944 file_accessed include/linux/fs.h:2198 [inline] filemap_read+0xa5a/0xc70 mm/filemap.c:2765 blkdev_read_iter+0x3eb/0x760 block/fops.c:606 call_read_iter include/linux/fs.h:1862 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x4b1/0x8a0 fs/read_write.c:470 ksys_read+0x12b/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc75a716b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffdb3cd93f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00000000003f0000 RCX: 00007fc75a716b6a RDX: 0000000000000040 RSI: 000055c536a3f038 RDI: 0000000000000009 RBP: 0000000000000040 R08: 000055c536a3f010 R09: 0000000000002000 R10: 0000000000000015 R11: 0000000000000246 R12: 000055c536a3f010 R13: 000055c536a3f028 R14: 000055c536a58bc8 R15: 000055c536a58b70 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid+0xa5/0x100 lib/list_debug.c:27 Code: c7 c7 00 f8 a6 8a e8 8a df 50 fd 0f 0b 48 c7 c7 a0 f8 a6 8a e8 7c df 50 fd 0f 0b 4c 89 e1 48 c7 c7 00 f9 a6 8a e8 6b df 50 fd <0f> 0b 48 89 f1 48 c7 c7 80 f9 a6 8a 4c 89 e6 e8 57 df 50 fd 0f 0b RSP: 0018:ffffc900033cfa20 EFLAGS: 00010286 RAX: 0000000000000075 RBX: ffff88802068ee08 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8167dd6c RDI: 0000000000000005 RBP: ffff88802068efa0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000001 R12: ffff888070e8fc38 R13: ffff88802068efa0 R14: ffff88802068efa0 R15: ffff888070e8fc38 FS: 00007fc75aad2c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000060100040048 CR3: 0000000028d93000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400