list_add corruption. next->prev should be prev (ffffe8ffac22fe10), but was ffff8880227a9800. (next=ffff888025d5dc00). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 12099 Comm: kworker/u32:6 Not tainted 6.12.0-rc1-syzkaller-00046-g7ec462100ef9 #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: 20 b1 8b e8 d9 05 df fc 90 0f 0b 48 c7 c7 40 21 b1 8b e8 ca 05 df fc 90 0f 0b 48 89 d9 48 c7 c7 a0 21 b1 8b e8 b8 05 df fc 90 <0f> 0b 48 89 f1 48 c7 c7 20 22 b1 8b 48 89 de e8 a3 05 df fc 90 0f RSP: 0000:ffffc90004f2fc00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff888025d5dc00 RCX: ffffffff816cbe59 RDX: 0000000000000000 RSI: ffffffff816d6526 RDI: 0000000000000005 RBP: ffff888050b01000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888050b01008 R14: ffff888050b01000 R15: ffffea000142c040 FS: 0000000000000000(0000) GS:ffff88802b400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f742ba68 CR3: 000000002aa3a000 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 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: 20 b1 8b e8 d9 05 df fc 90 0f 0b 48 c7 c7 40 21 b1 8b e8 ca 05 df fc 90 0f 0b 48 89 d9 48 c7 c7 a0 21 b1 8b e8 b8 05 df fc 90 <0f> 0b 48 89 f1 48 c7 c7 20 22 b1 8b 48 89 de e8 a3 05 df fc 90 0f RSP: 0000:ffffc90004f2fc00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff888025d5dc00 RCX: ffffffff816cbe59 RDX: 0000000000000000 RSI: ffffffff816d6526 RDI: 0000000000000005 RBP: ffff888050b01000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888050b01008 R14: ffff888050b01000 R15: ffffea000142c040 FS: 0000000000000000(0000) GS:ffff88802b400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f742ba68 CR3: 000000002aa3a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400