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: 106 Comm: jfsCommit Not tainted 6.4.0-rc1-syzkaller-00132-g76c7f8873a76 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:__list_add_valid+0xba/0xf0 lib/list_debug.c:25 Code: 4c 89 fe 4c 89 e2 4c 89 f1 e8 a2 13 74 06 0f 0b 48 c7 c7 c0 41 38 8b e8 94 13 74 06 0f 0b 48 c7 c7 60 42 38 8b e8 86 13 74 06 <0f> 0b 48 c7 c7 c0 42 38 8b 4c 89 e6 4c 89 f1 e8 72 13 74 06 0f 0b RSP: 0018:ffffc90002d1fc10 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 1ffff920004ce224 RCX: 13f3804d6bb42d00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffffc90002671120 R08: ffffffff816ee89c R09: fffff520005a3f35 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88807158c8c0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001234000 CR3: 0000000078eaa000 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] diUpdatePMap+0x5d4/0xd90 fs/jfs/jfs_imap.c:2821 txUpdateMap+0x714/0x9e0 fs/jfs/jfs_txnmgr.c:2351 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x47a/0xb70 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid+0xba/0xf0 lib/list_debug.c:25 Code: 4c 89 fe 4c 89 e2 4c 89 f1 e8 a2 13 74 06 0f 0b 48 c7 c7 c0 41 38 8b e8 94 13 74 06 0f 0b 48 c7 c7 60 42 38 8b e8 86 13 74 06 <0f> 0b 48 c7 c7 c0 42 38 8b 4c 89 e6 4c 89 f1 e8 72 13 74 06 0f 0b RSP: 0018:ffffc90002d1fc10 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 1ffff920004ce224 RCX: 13f3804d6bb42d00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffffc90002671120 R08: ffffffff816ee89c R09: fffff520005a3f35 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88807158c8c0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001234000 CR3: 0000000078eaa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400