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: 0 PID: 5042 Comm: syz-executor860 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:dtInsertEntry.isra.0+0x127c/0x1680 fs/jfs/jfs_dtree.c:3708 Code: 40 04 ff e9 4a f9 ff ff e8 51 55 90 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 14 01 00 00 RSP: 0018:ffffc90003a5f430 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff82f7722f RDI: 0000000000000008 RBP: ffff8880768e9580 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81dd035b R12: ffff88802081c5a6 R13: ffff8880768e9570 R14: ffff8880768e9582 R15: dffffc0000000000 FS: 0000555557226380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000e55538 CR3: 0000000073a0f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dtInsert+0x575/0xb00 fs/jfs/jfs_dtree.c:886 jfs_create+0x63c/0xb10 fs/jfs/namei.c:137 lookup_open.isra.0+0x1049/0x1360 fs/namei.c:3492 open_last_lookups fs/namei.c:3560 [inline] path_openat+0x931/0x29c0 fs/namei.c:3790 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2c551eea59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc80a57dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2c551eea59 RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c RBP: 00007f2c552675f0 R08: 0000000000005e04 R09: 00005555572274c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc80a57e00 R13: 00007ffc80a58028 R14: 431bde82d7b634db R15: 00007f2c5523703b Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dtInsertEntry.isra.0+0x127c/0x1680 fs/jfs/jfs_dtree.c:3708 Code: 40 04 ff e9 4a f9 ff ff e8 51 55 90 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 14 01 00 00 RSP: 0018:ffffc90003a5f430 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff82f7722f RDI: 0000000000000008 RBP: ffff8880768e9580 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81dd035b R12: ffff88802081c5a6 R13: ffff8880768e9570 R14: ffff8880768e9582 R15: dffffc0000000000 FS: 0000555557226380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e23b95ed8 CR3: 0000000073a0f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 40 04 ff rex add $0xff,%al 3: e9 4a f9 ff ff jmp 0xfffff952 8: e8 51 55 90 fe call 0xfe90555e 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 14 01 00 00 jne 0x154