list_add corruption. next->prev should be prev (ffffe8ffac538f10), but was ffffffff846168c0. (next=ffff8880289e2400). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 UID: 0 PID: 22855 Comm: kworker/u32:4 Not tainted 6.13.0-rc2-syzkaller-00159-gf932fb9b4074 #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: 57 b1 8b e8 39 f9 da fc 90 0f 0b 48 c7 c7 80 58 b1 8b e8 2a f9 da fc 90 0f 0b 48 89 d9 48 c7 c7 e0 58 b1 8b e8 18 f9 da fc 90 <0f> 0b 48 89 f1 48 c7 c7 60 59 b1 8b 48 89 de e8 03 f9 da fc 90 0f RSP: 0018:ffffc900031cfc00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff8880289e2400 RCX: ffffffff8178d119 RDX: 0000000000000000 RSI: ffffffff817978a6 RDI: 0000000000000005 RBP: ffff88806f517000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 6464615f7473696c R12: 0000000000000003 R13: ffff88806f517008 R14: ffff88806f517000 R15: ffffea0001bd45c0 FS: 0000000000000000(0000) GS:ffff88802b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f71493b0 CR3: 000000004e8b2000 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: 57 b1 8b e8 39 f9 da fc 90 0f 0b 48 c7 c7 80 58 b1 8b e8 2a f9 da fc 90 0f 0b 48 89 d9 48 c7 c7 e0 58 b1 8b e8 18 f9 da fc 90 <0f> 0b 48 89 f1 48 c7 c7 60 59 b1 8b 48 89 de e8 03 f9 da fc 90 0f RSP: 0018:ffffc900031cfc00 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff8880289e2400 RCX: ffffffff8178d119 RDX: 0000000000000000 RSI: ffffffff817978a6 RDI: 0000000000000005 RBP: ffff88806f517000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 6464615f7473696c R12: 0000000000000003 R13: ffff88806f517008 R14: ffff88806f517000 R15: ffffea0001bd45c0 FS: 0000000000000000(0000) GS:ffff88802b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f71493b0 CR3: 000000004e8b2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400