list_add corruption. next->prev should be prev (ffffe8ffac42fe20), but was ffff888028cdd000. (next=ffff8880463e5800). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 UID: 0 PID: 11 Comm: kworker/u32:0 Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #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+0xa9/0x100 lib/list_debug.c:29 Code: 25 b1 8b e8 99 e2 de fc 90 0f 0b 48 c7 c7 c0 25 b1 8b e8 8a e2 de fc 90 0f 0b 48 89 d9 48 c7 c7 20 26 b1 8b e8 78 e2 de fc 90 <0f> 0b 48 89 f1 48 c7 c7 a0 26 b1 8b 48 89 de e8 63 e2 de fc 90 0f RSP: 0000:ffffc900003d7c00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff8880463e5800 RCX: ffffffff816ccd49 RDX: 0000000000000000 RSI: ffffffff816d7416 RDI: 0000000000000005 RBP: ffff888028cae000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000002 R13: ffff888028cae008 R14: ffff888028cae000 R15: ffffea0000a32b80 FS: 0000000000000000(0000) GS:ffff88802b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f744bdf8 CR3: 0000000022126000 CR4: 0000000000352ef0 DR0: fffffffffffffffc DR1: 0000000000000000 DR2: 0000000000000002 DR3: 0000000000000800 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 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:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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+0xa9/0x100 lib/list_debug.c:29 Code: 25 b1 8b e8 99 e2 de fc 90 0f 0b 48 c7 c7 c0 25 b1 8b e8 8a e2 de fc 90 0f 0b 48 89 d9 48 c7 c7 20 26 b1 8b e8 78 e2 de fc 90 <0f> 0b 48 89 f1 48 c7 c7 a0 26 b1 8b 48 89 de e8 63 e2 de fc 90 0f RSP: 0000:ffffc900003d7c00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff8880463e5800 RCX: ffffffff816ccd49 RDX: 0000000000000000 RSI: ffffffff816d7416 RDI: 0000000000000005 RBP: ffff888028cae000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000002 R13: ffff888028cae008 R14: ffff888028cae000 R15: ffffea0000a32b80 FS: 0000000000000000(0000) GS:ffff88802b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f744bdf8 CR3: 0000000022126000 CR4: 0000000000352ef0 DR0: fffffffffffffffc DR1: 0000000000000000 DR2: 0000000000000002 DR3: 0000000000000800 DR6: 00000000fffe0ff0 DR7: 0000000000000400