loop0: detected capacity change from 0 to 32768 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 5416 Comm: syz-executor.0 Not tainted 6.4.0-rc2-syzkaller-00290-gd635f6cc934b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:xtInsert+0xb36/0x1000 fs/jfs/jfs_xtree.c:647 Code: 66 01 00 00 e8 db 37 87 fe 4c 89 f7 48 89 de e8 e0 04 00 00 4c 8b 74 24 30 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 b8 01 00 00 41 0f b7 1e 89 de 81 e6 00 10 RSP: 0018:ffffc9000537ed40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000012 RBP: ffffc9000537efe8 R08: ffffffff83043c00 R09: 0000000000000001 R10: ffffc9000537ef18 R11: dffffc0000000001 R12: 1ffff92000a6fdec R13: 1ffff92000a6fdb8 R14: 0000000000000000 R15: 00000000fffffff4 FS: 00007f714e1f6700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564a0b914000 CR3: 0000000021332000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: extAlloc+0xa7c/0x1030 fs/jfs/jfs_extent.c:145 jfs_get_block+0x41b/0xe60 fs/jfs/inode.c:248 __block_write_begin_int+0x548/0x1a50 fs/buffer.c:2064 __block_write_begin fs/buffer.c:2114 [inline] block_write_begin+0x9c/0x1f0 fs/buffer.c:2175 jfs_write_begin+0x31/0x70 fs/jfs/inode.c:299 generic_perform_write+0x300/0x5e0 mm/filemap.c:3923 __generic_file_write_iter+0x17a/0x400 mm/filemap.c:4051 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4083 do_iter_write+0x7b1/0xcb0 fs/read_write.c:860 iter_file_splice_write+0x843/0xfe0 fs/splice.c:795 do_splice_from fs/splice.c:873 [inline] direct_splice_actor+0xe7/0x1c0 fs/splice.c:1039 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:994 do_splice_direct+0x283/0x3d0 fs/splice.c:1082 do_sendfile+0x620/0xff0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f714d48c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f714e1f6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f714d5abf80 RCX: 00007f714d48c169 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f714d4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed88ba8df R14: 00007f714e1f6300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:xtInsert+0xb36/0x1000 fs/jfs/jfs_xtree.c:647 Code: 66 01 00 00 e8 db 37 87 fe 4c 89 f7 48 89 de e8 e0 04 00 00 4c 8b 74 24 30 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 b8 01 00 00 41 0f b7 1e 89 de 81 e6 00 10 RSP: 0018:ffffc9000537ed40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000012 RBP: ffffc9000537efe8 R08: ffffffff83043c00 R09: 0000000000000001 R10: ffffc9000537ef18 R11: dffffc0000000001 R12: 1ffff92000a6fdec R13: 1ffff92000a6fdb8 R14: 0000000000000000 R15: 00000000fffffff4 FS: 00007f714e1f6700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe29fb0f2c CR3: 0000000021332000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 66 01 00 add %ax,(%rax) 3: 00 e8 add %ch,%al 5: db 37 (bad) (%rdi) 7: 87 fe xchg %edi,%esi 9: 4c 89 f7 mov %r14,%rdi c: 48 89 de mov %rbx,%rsi f: e8 e0 04 00 00 callq 0x4f4 14: 4c 8b 74 24 30 mov 0x30(%rsp),%r14 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 b8 01 00 00 jne 0x1ee 36: 41 0f b7 1e movzwl (%r14),%ebx 3a: 89 de mov %ebx,%esi 3c: 81 .byte 0x81 3d: e6 00 out %al,$0x0 3f: 10 .byte 0x10