loop0: detected capacity change from 0 to 65535 general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 3607 Comm: syz-executor348 Not tainted 6.0.0-rc7-syzkaller-00029-g3800a713b607 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:dtInsertEntry+0xceb/0x1610 fs/jfs/jfs_dtree.c:3708 Code: 58 0f b6 18 89 de 83 e6 02 31 ff e8 0f 62 89 fe 83 e3 02 75 30 e8 25 5f 89 fe 48 8b 5c 24 78 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 74 34 89 d9 80 e1 07 38 c1 7c 2b 48 89 df e8 5c RSP: 0018:ffffc900038cf0a0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888075758000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900038cf230 R08: ffffffff82fe2a51 R09: ffffffff8300e8e9 R10: 0000000000000004 R11: ffff888075758000 R12: dffffc0000000000 R13: ffff8880122a8901 R14: dffffc0000000000 R15: ffff88807456b130 FS: 00005555560d8300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f73107026a8 CR3: 00000000757e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dtInsert+0xa44/0x6b80 fs/jfs/jfs_dtree.c:886 jfs_create+0x736/0xb10 fs/jfs/namei.c:137 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x12d0/0x2df0 fs/namei.c:3688 do_filp_open+0x264/0x4f0 fs/namei.c:3718 do_sys_openat2+0x124/0x4e0 fs/open.c:1313 do_sys_open fs/open.c:1329 [inline] __do_sys_openat fs/open.c:1345 [inline] __se_sys_openat fs/open.c:1340 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f69537a3fc9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe70e72b08 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f69537a3fc9 RDX: 000000000000275a RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 00007f6953763790 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000f8008000 R13: 0000000000000000 R14: 00080000000000f8 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dtInsertEntry+0xceb/0x1610 fs/jfs/jfs_dtree.c:3708 Code: 58 0f b6 18 89 de 83 e6 02 31 ff e8 0f 62 89 fe 83 e3 02 75 30 e8 25 5f 89 fe 48 8b 5c 24 78 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 74 34 89 d9 80 e1 07 38 c1 7c 2b 48 89 df e8 5c RSP: 0018:ffffc900038cf0a0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888075758000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900038cf230 R08: ffffffff82fe2a51 R09: ffffffff8300e8e9 R10: 0000000000000004 R11: ffff888075758000 R12: dffffc0000000000 R13: ffff8880122a8901 R14: dffffc0000000000 R15: ffff88807456b130 FS: 00005555560d8300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f73107026a8 CR3: 00000000757e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 58 pop %rax 1: 0f b6 18 movzbl (%rax),%ebx 4: 89 de mov %ebx,%esi 6: 83 e6 02 and $0x2,%esi 9: 31 ff xor %edi,%edi b: e8 0f 62 89 fe callq 0xfe89621f 10: 83 e3 02 and $0x2,%ebx 13: 75 30 jne 0x45 15: e8 25 5f 89 fe callq 0xfe895f3f 1a: 48 8b 5c 24 78 mov 0x78(%rsp),%rbx 1f: 48 83 c3 08 add $0x8,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 8a 04 30 mov (%rax,%r14,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 34 je 0x66 32: 89 d9 mov %ebx,%ecx 34: 80 e1 07 and $0x7,%cl 37: 38 c1 cmp %al,%cl 39: 7c 2b jl 0x66 3b: 48 89 df mov %rbx,%rdi 3e: e8 .byte 0xe8 3f: 5c pop %rsp