Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 8849 Comm: syz.3.1163 Not tainted 6.10.0-rc5-next-20240624-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:pipe_buf_release include/linux/pipe_fs_i.h:219 [inline] RIP: 0010:iter_file_splice_write+0xdd0/0x14e0 fs/splice.c:759 Code: 00 00 00 fc ff df 41 80 3c 06 00 49 89 c6 74 08 4c 89 ff e8 02 c1 df ff 49 c7 07 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 f1 bf df ff 48 8b 44 24 10 48 8b RSP: 0018:ffffc90014047780 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: ffffc90012a66000 RSI: 0000000000000000 RDI: 7ffffffffffeffff RBP: ffffc90014047a10 R08: ffffffff821a5480 R09: 1ffffd4000332a16 R10: dffffc0000000000 R11: fffff94000332a17 R12: 7ffffffffffeffff R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888050b74810 FS: 00007f2aee0626c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32109ff8 CR3: 0000000076642000 CR4: 00000000003506f0 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+0x11e/0x220 fs/splice.c:1164 splice_direct_to_actor+0x58e/0xc90 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x28c/0x3e0 fs/splice.c:1233 do_sendfile+0x56d/0xe20 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1348 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:0x7f2aed375ae9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2aee062048 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2aed503fa0 RCX: 00007f2aed375ae9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 00007f2aed3f6746 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2aed503fa0 R15: 00007ffc41cd82a8 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+0xdd0/0x14e0 fs/splice.c:759 Code: 00 00 00 fc ff df 41 80 3c 06 00 49 89 c6 74 08 4c 89 ff e8 02 c1 df ff 49 c7 07 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 f1 bf df ff 48 8b 44 24 10 48 8b RSP: 0018:ffffc90014047780 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: ffffc90012a66000 RSI: 0000000000000000 RDI: 7ffffffffffeffff RBP: ffffc90014047a10 R08: ffffffff821a5480 R09: 1ffffd4000332a16 R10: dffffc0000000000 R11: fffff94000332a17 R12: 7ffffffffffeffff R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888050b74810 FS: 00007f2aee0626c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200e0000 CR3: 0000000076642000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 6 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 ff mov %r15,%rdi d: e8 02 c1 df ff call 0xffdfc114 12: 49 c7 07 00 00 00 00 movq $0x0,(%r15) 19: 48 83 c3 08 add $0x8,%rbx 1d: 48 89 d8 mov %rbx,%rax 20: 48 c1 e8 03 shr $0x3,%rax * 24: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 29: 74 08 je 0x33 2b: 48 89 df mov %rbx,%rdi 2e: e8 f1 bf df ff call 0xffdfc024 33: 48 8b 44 24 10 mov 0x10(%rsp),%rax 38: 48 rex.W 39: 8b .byte 0x8b