loop0: detected capacity change from 0 to 32768 general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 4997 Comm: syz-executor378 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:dtInsertEntry.isra.0+0x1245/0x15c0 fs/jfs/jfs_dtree.c:3708 Code: 40 04 ff e9 3d f9 ff ff e8 c8 64 97 fe 48 8b 84 24 b8 00 00 00 48 8d 78 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 ea 01 00 00 RSP: 0018:ffffc90003b0f438 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff82ece178 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000064d R12: ffff888075813140 R13: ffff888075813142 R14: dffffc0000000000 R15: 0000000000000074 FS: 00005555559eb300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 00000000763f3000 CR4: 0000000000350ee0 Call Trace: dtInsert+0x4f4/0xa40 fs/jfs/jfs_dtree.c:886 jfs_create+0x602/0xb20 fs/jfs/namei.c:137 lookup_open.isra.0+0x105a/0x1400 fs/namei.c:3492 open_last_lookups fs/namei.c:3560 [inline] path_openat+0x975/0x2750 fs/namei.c:3788 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc13033c789 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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:00007fff155e42d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc13033c789 RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c RBP: 00007fc1302fc020 R08: 0000000000005e04 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc1302fc0b0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dtInsertEntry.isra.0+0x1245/0x15c0 fs/jfs/jfs_dtree.c:3708 Code: 40 04 ff e9 3d f9 ff ff e8 c8 64 97 fe 48 8b 84 24 b8 00 00 00 48 8d 78 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 ea 01 00 00 RSP: 0018:ffffc90003b0f438 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff82ece178 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000064d R12: ffff888075813140 R13: ffff888075813142 R14: dffffc0000000000 R15: 0000000000000074 FS: 00005555559eb300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005644d1d19ff0 CR3: 00000000763f3000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 40 04 ff add $0xff,%al 3: e9 3d f9 ff ff jmpq 0xfffff945 8: e8 c8 64 97 fe callq 0xfe9764d5 d: 48 8b 84 24 b8 00 00 mov 0xb8(%rsp),%rax 14: 00 15: 48 8d 78 08 lea 0x8(%rax),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 fa mov %rdi,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 ea 01 00 00 jne 0x22a