list_add corruption. next is NULL. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 107 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__list_add_valid+0xb6/0xe0 lib/list_debug.c:25 Code: 4c 89 fe 4c 89 f2 48 89 d9 e8 d6 51 01 06 0f 0b 48 c7 c7 20 f8 de 8a e8 c8 51 01 06 0f 0b 48 c7 c7 c0 f8 de 8a e8 ba 51 01 06 <0f> 0b 48 c7 c7 20 f9 de 8a 4c 89 f6 48 89 d9 e8 a6 51 01 06 0f 0b RSP: 0018:ffffc90002d47bd0 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 0000000000000000 RCX: cb2b1c460f95e400 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff88807873421c R08: dffffc0000000000 R09: fffff520005a8f19 R10: fffff520005a8f19 R11: 1ffff920005a8f18 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888027241da0 R15: 1ffff920004d3246 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3da20b CR3: 000000005bfb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:69 [inline] list_add include/linux/list.h:88 [inline] dbUpdatePMap+0x6da/0xdb0 fs/jfs/jfs_dmap.c:577 txAllocPMap+0x57d/0x6b0 fs/jfs/jfs_txnmgr.c:2425 txUpdateMap+0x706/0x890 fs/jfs/jfs_txnmgr.c:2363 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x427/0xa50 fs/jfs/jfs_txnmgr.c:2732 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid+0xb6/0xe0 lib/list_debug.c:25 Code: 4c 89 fe 4c 89 f2 48 89 d9 e8 d6 51 01 06 0f 0b 48 c7 c7 20 f8 de 8a e8 c8 51 01 06 0f 0b 48 c7 c7 c0 f8 de 8a e8 ba 51 01 06 <0f> 0b 48 c7 c7 20 f9 de 8a 4c 89 f6 48 89 d9 e8 a6 51 01 06 0f 0b RSP: 0018:ffffc90002d47bd0 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 0000000000000000 RCX: cb2b1c460f95e400 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff88807873421c R08: dffffc0000000000 R09: fffff520005a8f19 R10: fffff520005a8f19 R11: 1ffff920005a8f18 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888027241da0 R15: 1ffff920004d3246 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3da20b CR3: 000000005bfb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400