list_add corruption. next is NULL. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:25! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 122 Comm: jfsCommit Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__list_add_valid.cold+0x1d/0x58 lib/list_debug.c:25 Code: ff ff ff e8 2e 52 05 00 e9 e7 c0 ac fa 4c 89 e1 48 c7 c7 e0 92 29 8a e8 5f d6 f0 ff 0f 0b 48 c7 c7 80 92 29 8a e8 51 d6 f0 ff <0f> 0b 48 c7 c7 e0 91 29 8a e8 43 d6 f0 ff 0f 0b 48 89 f2 4c 89 e1 RSP: 0018:ffffc90002cffc30 EFLAGS: 00010082 RAX: 0000000000000022 RBX: ffffc90002631110 RCX: 0000000000000000 RDX: ffff88801b573a80 RSI: ffffffff81621a58 RDI: fffff5200059ff78 RBP: ffff88807a51c1f0 R08: 0000000000000022 R09: 0000000000000000 R10: 0000000080000001 R11: 2e4c4c554e20696c R12: 0000000000000000 R13: ffff888074fe5000 R14: 1ffff9200059ff8f R15: ffffc90002631120 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ef6641290 CR3: 000000001cf6e000 CR4: 00000000003506e0 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+0x979/0xf90 fs/jfs/jfs_imap.c:2821 txUpdateMap+0x9c1/0xbe0 fs/jfs/jfs_txnmgr.c:2351 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x5bb/0xaa0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid.cold+0x1d/0x58 lib/list_debug.c:25 Code: ff ff ff e8 2e 52 05 00 e9 e7 c0 ac fa 4c 89 e1 48 c7 c7 e0 92 29 8a e8 5f d6 f0 ff 0f 0b 48 c7 c7 80 92 29 8a e8 51 d6 f0 ff <0f> 0b 48 c7 c7 e0 91 29 8a e8 43 d6 f0 ff 0f 0b 48 89 f2 4c 89 e1 RSP: 0018:ffffc90002cffc30 EFLAGS: 00010082 RAX: 0000000000000022 RBX: ffffc90002631110 RCX: 0000000000000000 RDX: ffff88801b573a80 RSI: ffffffff81621a58 RDI: fffff5200059ff78 RBP: ffff88807a51c1f0 R08: 0000000000000022 R09: 0000000000000000 R10: 0000000080000001 R11: 2e4c4c554e20696c R12: 0000000000000000 R13: ffff888074fe5000 R14: 1ffff9200059ff8f R15: ffffc90002631120 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ef6641290 CR3: 000000001cf6e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400