program: r0 = open(&(0x7f0000000080)='./bus\x00', 0x64842, 0x292) pwritev2(r0, &(0x7f0000000240)=[{&(0x7f0000000000)="85", 0x140000}], 0x1, 0x7800, 0x0, 0x3) ftruncate(r0, 0x101) ioctl$CDROM_GET_MCN(r0, 0x5311, &(0x7f0000000480)) r1 = openat$cgroup_ro(0xffffffffffffff9c, &(0x7f0000000040)='memory.events\x00', 0x275a, 0x0) r2 = socket$inet6_mptcp(0xa, 0x1, 0x106) setsockopt$inet6_int(r2, 0x29, 0x1a, &(0x7f00000001c0)=0x9, 0x4) creat(&(0x7f0000000240)='./file0\x00', 0x0) pipe2$9p(&(0x7f0000001900)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) write$P9_RVERSION(r4, &(0x7f0000000500)=ANY=[@ANYBLOB="1500000065ffff048000000800395032303030"], 0x15) r5 = dup(r4) write$FUSE_BMAP(r5, &(0x7f0000000100)={0x18}, 0x18) write$FUSE_NOTIFY_RETRIEVE(r5, &(0x7f00000000c0)={0x14c}, 0x137) mount$9p_fd(0x0, &(0x7f0000000000)='./file0\x00', &(0x7f0000000040), 0x0, &(0x7f0000000180)={'trans=fd,', {'rfdno', 0x3d, r3}, 0x2c, {'wfdno', 0x3d, r5}, 0x2c, {[], [], 0x6b}}) chmod(&(0x7f0000000140)='./file0\x00', 0x0) r6 = open$dir(&(0x7f0000000140)='./file0\x00', 0x1, 0x0) r7 = openat$cgroup_ro(0xffffffffffffff9c, &(0x7f0000000280)='blkio.throttle.io_serviced\x00', 0x275a, 0x0) ftruncate(r7, 0x5) sendfile(r6, r7, 0x0, 0x7ffff000) openat$iommufd(0xffffffffffffff9c, &(0x7f0000000080), 0x0, 0x0) r8 = socket$inet_tcp(0x2, 0x1, 0x0) ioctl$sock_SIOCGIFINDEX(r8, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) r10 = bpf$MAP_CREATE(0x0, &(0x7f0000000540)=@base={0x1b, 0x0, 0x0, 0x8000}, 0x50) r11 = bpf$OBJ_GET_MAP(0x7, &(0x7f0000000240)=@o_path={&(0x7f0000000200)='./file0\x00', 0x0, 0x4008, r1}, 0x18) bpf$MAP_GET_NEXT_KEY(0x4, &(0x7f0000000440)={r11, &(0x7f0000000300)="9fe4b1360ae164e6e274423bd9d467a6763391d544a67856c45ad04c85e624cb899157285ee4b6e9", &(0x7f0000000340)=""/167}, 0x20) r12 = bpf$MAP_CREATE(0x0, &(0x7f00000009c0)=@base={0xe, 0x4, 0x8, 0x8, 0x0, 0xffffffffffffffff, 0x4}, 0x48) r13 = bpf$PROG_LOAD(0x5, &(0x7f00000000c0)={0x6, 0x10, &(0x7f0000000280)=ANY=[@ANYBLOB="1800000000000000000000000000000018110000", @ANYRES32=r10, @ANYBLOB="0000000000000000b702000002000000850000008600000018110000", @ANYRES32=r12, @ANYBLOB="0000000000000000b7080000000000007b8af8ff00000000bca2000000000000a6020000f8ffffffb703000008000000b704000000000000850000003300000095"], &(0x7f0000000180)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @xdp, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x90) bpf$MAP_UPDATE_ELEM_TAIL_CALL(0x2, &(0x7f0000000400)={{r12}, &(0x7f0000000040), &(0x7f00000001c0)=r13}, 0x20) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r13, r9, 0x25, 0x2, @val=@tcx}, 0x40) syz_emit_ethernet(0x4a, &(0x7f00000004c0)={@empty, @empty, @void, {@ipv6={0x86dd, @tcp={0x0, 0x6, "0a8435", 0x14, 0x6, 0x0, @remote, @local, {[], {{0x0, 0x4e22, 0x41424344, 0x41424344, 0x0, 0x0, 0x5, 0x2}}}}}}}, 0x0) [ 85.763545][ T4700] Bluetooth: hci0: command tx timeout [ 86.015762][ T5354] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI [ 86.021043][ T5354] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 86.024702][ T5354] CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-11579-g35a813e010b9 #0 PREEMPT(full) [ 86.029931][ T5354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 86.034633][ T5354] RIP: 0010:iter_file_splice_write+0xa9b/0x1000 [ 86.038394][ T5354] Code: 00 74 08 4c 89 f7 e8 14 32 e0 ff 49 8b 1e 49 c7 06 00 00 00 00 48 83 c3 08 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 44 8b 64 24 04 74 08 48 89 df e8 e1 31 e0 ff 4c 8b [ 86.046907][ T5354] RSP: 0018:ffffc9000d3bf820 EFLAGS: 00010202 [ 86.049428][ T5354] RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880003fa440 [ 86.052825][ T5354] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 7ffffffffffffffa [ 86.056093][ T5354] RBP: ffffc9000d3bfa30 R08: ffff888042fe80df R09: 1ffff110085fd01b [ 86.059398][ T5354] R10: dffffc0000000000 R11: ffffffff8202cba0 R12: dffffc0000000000 [ 86.062822][ T5354] R13: 7ffffffffffffffa R14: dffffc0000000000 R15: ffff8880115f6828 [ 86.066139][ T5354] FS: 00007f35813d26c0(0000) GS:ffff88808d219000(0000) knlGS:0000000000000000 [ 86.070188][ T5354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.073183][ T5354] CR2: 00007f35812e86ec CR3: 00000000425ed000 CR4: 0000000000352ef0 [ 86.076689][ T5354] Call Trace: [ 86.078097][ T5354] [ 86.079383][ T5354] ? __pfx_iter_file_splice_write+0x10/0x10 [ 86.082099][ T5354] ? rcu_read_lock_any_held+0xb3/0x120 [ 86.084190][ T5354] ? __pfx_iter_file_splice_write+0x10/0x10 [ 86.086782][ T5354] direct_splice_actor+0x101/0x160 [ 86.089067][ T5354] splice_direct_to_actor+0x5a5/0xcc0 [ 86.091399][ T5354] ? __pfx_direct_splice_actor+0x10/0x10 [ 86.093790][ T5354] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 86.096284][ T5354] do_splice_direct+0x181/0x270 [ 86.098316][ T5354] ? __pfx_do_splice_direct+0x10/0x10 [ 86.100816][ T5354] ? __pfx_direct_file_splice_eof+0x10/0x10 [ 86.103573][ T5354] ? rw_verify_area+0x255/0x4d0 [ 86.105764][ T5354] do_sendfile+0x4da/0x7e0 [ 86.107766][ T5354] ? __pfx_do_sendfile+0x10/0x10 [ 86.109948][ T5354] ? rcu_is_watching+0x15/0xb0 [ 86.112091][ T5354] ? __rseq_handle_notify_resume+0x37e/0x11f0 [ 86.114723][ T5354] __se_sys_sendfile64+0x13e/0x190 [ 86.116849][ T5354] ? __pfx___se_sys_sendfile64+0x10/0x10 [ 86.119422][ T5354] ? rcu_is_watching+0x15/0xb0 [ 86.121563][ T5354] ? do_syscall_64+0xbe/0x3b0 [ 86.123853][ T5354] do_syscall_64+0xfa/0x3b0 [ 86.125771][ T5354] ? lockdep_hardirqs_on+0x9c/0x150 [ 86.128086][ T5354] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.130741][ T5354] ? clear_bhb_loop+0x60/0xb0 [ 86.132736][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.134926][ T5354] RIP: 0033:0x7f358058eb69 [ 86.136942][ T5354] 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 [ 86.145180][ T5354] RSP: 002b:00007f35813d2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 86.148831][ T5354] RAX: ffffffffffffffda RBX: 00007f35807b5fa0 RCX: 00007f358058eb69 [ 86.152335][ T5354] RDX: 0000000000000000 RSI: 000000000000000b RDI: 000000000000000a [ 86.155948][ T5354] RBP: 00007f3580611df1 R08: 0000000000000000 R09: 0000000000000000 [ 86.159483][ T5354] R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000000 [ 86.163140][ T5354] R13: 0000000000000000 R14: 00007f35807b5fa0 R15: 00007fffc6884f88 [ 86.166750][ T5354] [ 86.168162][ T5354] Modules linked in: [ 86.170272][ T5354] ---[ end trace 0000000000000000 ]--- [ 86.185096][ T5354] RIP: 0010:iter_file_splice_write+0xa9b/0x1000 [ 86.187989][ T5354] Code: 00 74 08 4c 89 f7 e8 14 32 e0 ff 49 8b 1e 49 c7 06 00 00 00 00 48 83 c3 08 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 44 8b 64 24 04 74 08 48 89 df e8 e1 31 e0 ff 4c 8b [ 86.197624][ T5354] RSP: 0018:ffffc9000d3bf820 EFLAGS: 00010202 [ 86.200726][ T5354] RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880003fa440 [ 86.205371][ T5354] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 7ffffffffffffffa [ 86.209627][ T5354] RBP: ffffc9000d3bfa30 R08: ffff888042fe80df R09: 1ffff110085fd01b [ 86.215186][ T5354] R10: dffffc0000000000 R11: ffffffff8202cba0 R12: dffffc0000000000 [ 86.219452][ T5354] R13: 7ffffffffffffffa R14: dffffc0000000000 R15: ffff8880115f6828 [ 86.223585][ T5354] FS: 00007f35813d26c0(0000) GS:ffff88808d219000(0000) knlGS:0000000000000000 [ 86.227772][ T5354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.231186][ T5354] CR2: 00007f35812e86ec CR3: 00000000425ed000 CR4: 0000000000352ef0 [ 86.235391][ T5354] Kernel panic - not syncing: Fatal exception [ 86.238592][ T5354] Kernel Offset: disabled [ 86.240616][ T5354] Rebooting in 86400 seconds..