list_add corruption. next is NULL. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:28! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 102 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__list_add_valid_or_report+0xc3/0x130 lib/list_debug.c:27 Code: 4c 89 f2 48 89 d9 e8 fc 93 6d fc 90 0f 0b 48 c7 c7 c0 cb 27 8c e8 ed 93 6d fc 90 0f 0b 48 c7 c7 80 cc 27 8c e8 de 93 6d fc 90 <0f> 0b 48 89 df e8 e3 5e 54 fd 42 80 7c 2d 00 00 74 08 4c 89 e7 e8 RSP: 0018:ffffc90000ec7ba8 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 0000000000000000 RCX: 0995c9c9bb5a5900 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff8880003069b0 R08: ffffc90000ec7927 R09: 1ffff920001d8f24 R10: dffffc0000000000 R11: fffff520001d8f25 R12: ffffc90000ec9450 R13: 0000000000000000 R14: ffff888000306a60 R15: ffff8880003069c0 FS: 0000000000000000(0000) GS:ffff88808ca58000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc20b1ff000 CR3: 0000000042cb9000 CR4: 0000000000352ef0 Call Trace: __list_add_valid include/linux/list.h:96 [inline] __list_add include/linux/list.h:158 [inline] list_add include/linux/list.h:177 [inline] diUpdatePMap+0x636/0xe60 fs/jfs/jfs_imap.c:2831 txUpdateMap+0x7da/0x9c0 fs/jfs/jfs_txnmgr.c:2357 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x43d/0xaa0 fs/jfs/jfs_txnmgr.c:2734 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0xc3/0x130 lib/list_debug.c:27 Code: 4c 89 f2 48 89 d9 e8 fc 93 6d fc 90 0f 0b 48 c7 c7 c0 cb 27 8c e8 ed 93 6d fc 90 0f 0b 48 c7 c7 80 cc 27 8c e8 de 93 6d fc 90 <0f> 0b 48 89 df e8 e3 5e 54 fd 42 80 7c 2d 00 00 74 08 4c 89 e7 e8 RSP: 0018:ffffc90000ec7ba8 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 0000000000000000 RCX: 0995c9c9bb5a5900 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff8880003069b0 R08: ffffc90000ec7927 R09: 1ffff920001d8f24 R10: dffffc0000000000 R11: fffff520001d8f25 R12: ffffc90000ec9450 R13: 0000000000000000 R14: ffff888000306a60 R15: ffff8880003069c0 FS: 0000000000000000(0000) GS:ffff88808ca58000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc20b1ff000 CR3: 0000000042cb9000 CR4: 0000000000352ef0