Hello, syzbot found the following issue on: HEAD commit: adc218676eef Linux 6.12 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14f6bb5f980000 kernel config: https://syzkaller.appspot.com/x/.config?x=e31661728c1a4027 dashboard link: https://syzkaller.appspot.com/bug?extid=092ef2e75c24d23f33c4 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=132fb2e8580000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-adc21867.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9304ecc29d43/vmlinux-adc21867.xz kernel image: https://storage.googleapis.com/syzbot-assets/a42cc9054b58/bzImage-adc21867.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/1a34900bae57/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+092ef2e75c24d23f33c4@xxxxxxxxxxxxxxxxxxxxxxxxx list_add corruption. prev->next should be next (ffff88801f2a12c0), but was 0000000000000000. (prev=ffff88804264f098). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:34! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 79 Comm: kswapd1 Not tainted 6.12.0-syzkaller #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_add_valid_or_report+0xeb/0xf0 lib/list_debug.c:32 Code: 0f 0b 48 c7 c7 60 0e 61 8c 4c 89 e6 4c 89 f1 e8 8b b9 00 07 90 0f 0b 48 c7 c7 e0 0e 61 8c 4c 89 f6 4c 89 e1 e8 76 b9 00 07 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0000:ffffc90000e467d8 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff88801f2a12c8 RCX: b5af2eed7d4c4700 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffff88801f2a12c0 R08: ffffffff8174b13c R09: 1ffffffff1d02680 R10: dffffc0000000000 R11: fffffbfff1d02681 R12: ffff88804264f098 R13: dffffc0000000000 R14: ffff88801f2a12c0 R15: ffff8880426e0dd8 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91a5b18000 CR3: 0000000011d94000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> __list_add_valid include/linux/list.h:88 [inline] __list_add include/linux/list.h:150 [inline] list_add_tail include/linux/list.h:183 [inline] list_lru_add+0x1d2/0x390 mm/list_lru.c:98 list_lru_add_obj+0x17b/0x250 mm/list_lru.c:118 workingset_update_node+0x1af/0x230 mm/workingset.c:644 xas_update lib/xarray.c:355 [inline] update_node lib/xarray.c:758 [inline] xas_store+0xb8f/0x1890 lib/xarray.c:845 __delete_from_swap_cache+0x514/0xe20 mm/swap_state.c:159 __remove_mapping+0x889/0x1390 mm/vmscan.c:764 shrink_folio_list+0x2c50/0x8cc0 mm/vmscan.c:1467 evict_folios+0x549b/0x7b50 mm/vmscan.c:4589 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4784 shrink_one+0x3b9/0x850 mm/vmscan.c:4822 shrink_many mm/vmscan.c:4885 [inline] lru_gen_shrink_node mm/vmscan.c:4963 [inline] shrink_node+0x3791/0x3e20 mm/vmscan.c:5943 kswapd_shrink_node mm/vmscan.c:6771 [inline] balance_pgdat mm/vmscan.c:6963 [inline] kswapd+0x1ca9/0x3700 mm/vmscan.c:7232 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0xeb/0xf0 lib/list_debug.c:32 Code: 0f 0b 48 c7 c7 60 0e 61 8c 4c 89 e6 4c 89 f1 e8 8b b9 00 07 90 0f 0b 48 c7 c7 e0 0e 61 8c 4c 89 f6 4c 89 e1 e8 76 b9 00 07 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0000:ffffc90000e467d8 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff88801f2a12c8 RCX: b5af2eed7d4c4700 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffff88801f2a12c0 R08: ffffffff8174b13c R09: 1ffffffff1d02680 R10: dffffc0000000000 R11: fffffbfff1d02681 R12: ffff88804264f098 R13: dffffc0000000000 R14: ffff88801f2a12c0 R15: ffff8880426e0dd8 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91a5b18000 CR3: 0000000011d94000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@xxxxxxxxxxxxxxxx. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup