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: __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 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