Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 5099 Comm: syz-executor178 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:pipe_buf_release include/linux/pipe_fs_i.h:219 [inline] RIP: 0010:iter_file_splice_write+0xe07/0x1510 fs/splice.c:759 Code: 00 00 fc ff df 41 80 3c 06 00 49 89 c6 74 08 4c 89 e7 e8 dc 65 de ff 49 c7 04 24 00 00 00 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 ca 64 de ff 48 8b 44 24 20 48 8b RSP: 0018:ffffc9000b19f760 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 7ffffffffffeffff RBP: ffffc9000b19fa10 R08: ffffffff822037f4 R09: 1ffffd4000240a46 R10: dffffc0000000000 R11: fffff94000240a47 R12: ffff88804096a810 R13: 0000000000000000 R14: dffffc0000000000 R15: 7ffffffffffeffff FS: 0000555585b92380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe39842e00 CR3: 000000003f8ee000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x561/0xe10 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe3980fef9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 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:00007ffcaf2ddc18 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007efe3980fef9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007efe3985904e R08: 0000000000000006 R09: 0000000000000006 R10: 000000007ffff000 R11: 0000000000000246 R12: 00007ffcaf2ddc2c R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pipe_buf_release include/linux/pipe_fs_i.h:219 [inline] RIP: 0010:iter_file_splice_write+0xe07/0x1510 fs/splice.c:759 Code: 00 00 fc ff df 41 80 3c 06 00 49 89 c6 74 08 4c 89 e7 e8 dc 65 de ff 49 c7 04 24 00 00 00 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 ca 64 de ff 48 8b 44 24 20 48 8b RSP: 0018:ffffc9000b19f760 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 7ffffffffffeffff RBP: ffffc9000b19fa10 R08: ffffffff822037f4 R09: 1ffffd4000240a46 R10: dffffc0000000000 R11: fffff94000240a47 R12: ffff88804096a810 R13: 0000000000000000 R14: dffffc0000000000 R15: 7ffffffffffeffff FS: 0000555585b92380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe39842e00 CR3: 000000003f8ee000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: 41 80 3c 06 00 cmpb $0x0,(%r14,%rax,1) 5: 49 89 c6 mov %rax,%r14 8: 74 08 je 0x12 a: 4c 89 e7 mov %r12,%rdi d: e8 dc 65 de ff call 0xffde65ee 12: 49 c7 04 24 00 00 00 movq $0x0,(%r12) 19: 00 1a: 48 83 c3 08 add $0x8,%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax * 25: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2a: 74 08 je 0x34 2c: 48 89 df mov %rbx,%rdi 2f: e8 ca 64 de ff call 0xffde64fe 34: 48 8b 44 24 20 mov 0x20(%rsp),%rax 39: 48 rex.W 3a: 8b .byte 0x8b