Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 UID: 0 PID: 5327 Comm: syz.0.0 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:xtLog fs/jfs/jfs_txnmgr.c:1687 [inline] RIP: 0010:txLog fs/jfs/jfs_txnmgr.c:1398 [inline] RIP: 0010:txCommit+0x16e8/0x54a0 fs/jfs/jfs_txnmgr.c:1266 Code: c0 c1 e0 0b 83 c8 12 66 89 84 24 40 01 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89 64 24 50 4d 8d 74 24 12 4c 89 f0 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 0a 22 00 00 41 0f b7 06 48 89 44 24 30 41 RSP: 0018:ffffc9000f97f5e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 000000000000002d RCX: 0000000000100000 RDX: dffffc0000000000 RSI: 000000000000135b RDI: 000000000000135c RBP: ffffc9000f97f7b0 R08: ffff888012e74b00 R09: 0000000000000005 R10: 000000000000000f R11: 0000000000000002 R12: 0000000000000000 R13: ffffc900010c2000 R14: 0000000000000012 R15: 1ffff9200021842d FS: 00007f5204dbe6c0(0000) GS:ffff88808c2c6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000003b000 CR3: 00000000444e5000 CR4: 0000000000352ef0 Call Trace: duplicateIXtree+0x299/0x490 fs/jfs/jfs_imap.c:3019 diNewIAG fs/jfs/jfs_imap.c:2597 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0x17b4/0x1de0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1e2/0x16b0 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x8e0 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1dd/0xaf0 fs/jfs/namei.c:226 vfs_mkdir+0x40c/0x620 fs/namei.c:5410 filename_mkdirat+0x285/0x510 fs/namei.c:5443 __do_sys_mkdir fs/namei.c:5470 [inline] __se_sys_mkdir+0x34/0x150 fs/namei.c:5467 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5203f9e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5204dbdfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f5204226180 RCX: 00007f5203f9e159 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000100 RBP: 00007f520403503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5204226218 R14: 00007f5204226180 R15: 00007fff353bfa88 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:xtLog fs/jfs/jfs_txnmgr.c:1687 [inline] RIP: 0010:txLog fs/jfs/jfs_txnmgr.c:1398 [inline] RIP: 0010:txCommit+0x16e8/0x54a0 fs/jfs/jfs_txnmgr.c:1266 Code: c0 c1 e0 0b 83 c8 12 66 89 84 24 40 01 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89 64 24 50 4d 8d 74 24 12 4c 89 f0 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 0a 22 00 00 41 0f b7 06 48 89 44 24 30 41 RSP: 0018:ffffc9000f97f5e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 000000000000002d RCX: 0000000000100000 RDX: dffffc0000000000 RSI: 000000000000135b RDI: 000000000000135c RBP: ffffc9000f97f7b0 R08: ffff888012e74b00 R09: 0000000000000005 R10: 000000000000000f R11: 0000000000000002 R12: 0000000000000000 R13: ffffc900010c2000 R14: 0000000000000012 R15: 1ffff9200021842d FS: 00007f5204dbe6c0(0000) GS:ffff88808c2c6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000c7000 CR3: 00000000444e5000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c0 c1 e0 rol $0xe0,%cl 3: 0b 83 c8 12 66 89 or -0x7699ed38(%rbx),%eax 9: 84 24 40 test %ah,(%rax,%rax,2) c: 01 00 add %eax,(%rax) e: 00 48 ba add %cl,-0x46(%rax) 11: 00 00 add %al,(%rax) 13: 00 00 add %al,(%rax) 15: 00 fc add %bh,%ah 17: ff lcall (bad) 18: df 4c 89 64 fisttps 0x64(%rcx,%rcx,4) 1c: 24 50 and $0x50,%al 1e: 4d 8d 74 24 12 lea 0x12(%r12),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 0a 22 00 00 jne 0x2240 36: 41 0f b7 06 movzwl (%r14),%eax 3a: 48 89 44 24 30 mov %rax,0x30(%rsp) 3f: 41 rex.B