list_add corruption. next->prev should be prev (ffffe8ffac439110), but was ffffffff84858210. (next=ffff888022c13000). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 UID: 0 PID: 105 Comm: kworker/u32:5 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: zswap1 compact_page_work RIP: 0010:__list_add_valid_or_report+0xec/0x190 lib/list_debug.c:29 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 a5 00 00 00 48 8b 55 08 48 89 e9 48 c7 c7 00 c5 d2 8b e8 35 23 d7 fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 e6 06 39 fd 48 8b 34 24 48 b8 00 00 RSP: 0018:ffffc9000109fb90 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff888022c13000 RCX: ffffffff8198b659 RDX: 0000000000000000 RSI: ffffffff81991613 RDI: 0000000000000005 RBP: ffff888022c13000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000004 R12: ffff888021e10000 R13: ffff888022c13008 R14: ffff888021e10000 R15: ffffea0000878400 FS: 0000000000000000(0000) GS:ffff88802b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000c3e258c CR3: 0000000025f52000 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 include/linux/list.h:169 [inline] add_to_unbuddied mm/z3fold.c:550 [inline] do_compact_page+0x10b9/0x25d0 mm/z3fold.c:772 process_one_work+0x958/0x1b30 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 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+0xec/0x190 lib/list_debug.c:29 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 a5 00 00 00 48 8b 55 08 48 89 e9 48 c7 c7 00 c5 d2 8b e8 35 23 d7 fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 e6 06 39 fd 48 8b 34 24 48 b8 00 00 RSP: 0018:ffffc9000109fb90 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff888022c13000 RCX: ffffffff8198b659 RDX: 0000000000000000 RSI: ffffffff81991613 RDI: 0000000000000005