kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Mar 31 00:50:36 PDT 2020 OpenBSD/amd64 (ci-openbsd-setuid-7.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.1.1' (ECDSA) to the list of known hosts. 2020/03/31 00:50:45 fuzzer started 2020/03/31 00:50:51 dialing manager at 10.128.15.235:14194 2020/03/31 00:50:51 syscalls: 338 2020/03/31 00:50:51 code coverage: enabled 2020/03/31 00:50:51 comparison tracing: enabled 2020/03/31 00:50:51 extra coverage: support is not implemented in syzkaller 2020/03/31 00:50:51 setuid sandbox: enabled 2020/03/31 00:50:51 namespace sandbox: support is not implemented in syzkaller 2020/03/31 00:50:51 Android sandbox: support is not implemented in syzkaller 2020/03/31 00:50:51 fault injection: support is not implemented in syzkaller 2020/03/31 00:50:51 leak checking: support is not implemented in syzkaller 2020/03/31 00:50:51 net packet injection: enabled 2020/03/31 00:50:51 net device setup: support is not implemented in syzkaller 2020/03/31 00:50:51 concurrency sanitizer: support is not implemented in syzkaller 2020/03/31 00:50:51 devlink PCI setup: support is not implemented in syzkaller 00:50:53 executing program 0: r0 = fcntl$dupfd(0xffffffffffffffff, 0xa, 0xffffffffffffff9c) ioctl$WSDISPLAYIO_GETSCREENTYPE(r0, 0xc028575d, &(0x7f0000000000)={0x80000000, 0x3, './file0\x00', 0x2, 0xfffffffc, 0x4, 0x5}) r1 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000040)='/dev/speaker\x00', 0x100, 0x0) read(r1, &(0x7f0000000080)=""/106, 0x6a) r2 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000100)='/dev/wsmouse0\x00', 0x10000, 0x0) write(r2, &(0x7f0000000140)="c6408a7159a7912d2a5801577a1f4d8bd4675448f943a9d45a279912c9e73a2666156b2e240d2738c75aa9c44e62e767749d9aa92d2a8c7ad4281f4e101a715919238b475791bc92e02d7bacceb4b05f6118a8f74b0a09d01afc8220ed7b2496e589ccbb7431334e97992cf6a286fbfa1db84d64f4cb8853317bc7adaef8bd5e243878210df9f3cc4e7de01836bfba68034f9b11d6fb95dcd14ccddc40b800a380167cf98c00dcedc77c387c6fadfa1a7ab47c0a78492617f90e071b735dfe66a4", 0xc1) r3 = openat$tty(0xffffffffffffff9c, &(0x7f0000000240)='/dev/tty\x00', 0x10, 0x0) ioctl$TIOCSETAF(r3, 0x802c7416, &(0x7f0000000280)={0xffffffff, 0x7, 0x76e6, 0x2, "b8eb3906e54998dd658134b9dc618227ed8924db", 0x1, 0x1ff}) socketpair(0x1, 0x548e6ec61caa4793, 0x0, &(0x7f00000002c0)) r4 = socket(0x31, 0x2, 0x2) ioctl$FIOASYNC(r4, 0x8004667d, &(0x7f0000000300)=0x2) pipe2(&(0x7f0000000340)={0xffffffffffffffff}, 0x10004) ioctl$VMM_IOC_RUN(r5, 0xc0205602, &(0x7f0000000600)={0xffffffe1, 0x8, 0x40, 0x8000, &(0x7f0000000380)={{0x7, 0xff, 0x4, 0x1, 0x1, 0x45, 0x2}, {[0x101, 0x101, 0xef, 0x8, 0x1, 0x1, 0x2, 0x9, 0x3, 0x4, 0x4, 0x6, 0x1f8, 0x123, 0x95, 0x9000000, 0xf16, 0x80], [0x8001, 0x2, 0x3, 0x9, 0x1, 0x4, 0x4, 0x2, 0x5, 0x1], [0x101, 0xf6, 0x5, 0x9, 0x101, 0x1, 0x2b], [0x8, 0x80000001, 0x80bb, 0x0, 0x200, 0x9], [{0x8000, 0x6, 0xa4f, 0xa2}, {0x2, 0xffff, 0x9, 0x88}, {0x5, 0x3, 0x20, 0x1000}, {0x5, 0x1, 0x7, 0x5}, {0x0, 0x1, 0x1, 0x3}, {0xffff, 0x9, 0x51c, 0x591}, {0x8ec5, 0x445f, 0xffffffff, 0x3}, {0x1, 0x5, 0x0, 0xffff}], {0x40, 0x7, 0x3, 0x7}, {0x8001, 0x1, 0xfff, 0xfff}}}, 0x5, 0x9}) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000640)={0x0}, &(0x7f0000000680)=0xc) getpgid(r6) r7 = openat$null(0xffffffffffffff9c, &(0x7f00000006c0)='/dev/null\x00', 0x20, 0x0) getsockopt$sock_cred(r7, 0xffff, 0x1022, &(0x7f0000000700), &(0x7f0000000740)=0xc) getsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x1, &(0x7f0000000780)=""/208, &(0x7f0000000880)=0xd0) pipe(&(0x7f00000008c0)={0xffffffffffffffff, 0xffffffffffffffff}) ioctl$WSMUXIO_ADD_DEVICE(r8, 0x80085761, &(0x7f0000000900)={0x3, 0xfffffff9}) 00:50:53 executing program 1: ioctl$TIOCCLRVERAUTH(0xffffffffffffffff, 0x2000741d) r0 = socket$unix(0x1, 0x1, 0x0) getsockname(r0, &(0x7f0000000000)=@un=@abs, &(0x7f0000000040)=0x8) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}) recvfrom$unix(r1, &(0x7f00000000c0)=""/199, 0xc7, 0x0, &(0x7f00000001c0)=@file={0x1, './file0\x00'}, 0xa) r2 = openat$vmm(0xffffffffffffff9c, &(0x7f0000000200)='/dev/vmm\x00', 0x10, 0x0) ioctl$VMM_IOC_INTR(r2, 0x800c5606, &(0x7f0000000240)={0x4, 0x10000, 0x81}) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000280)={0xffffffffffffffff}) pipe2(&(0x7f00000002c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10004) getdents(r5, &(0x7f0000000300)=""/50, 0x32) dup(r4) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000340)) mkdir(&(0x7f0000000380)='./file0\x00', 0x19) pipe2(&(0x7f00000003c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x4) ioctl$VMM_IOC_READREGS(r6, 0xc2485607, &(0x7f0000000400)) r7 = dup2(r3, 0xffffffffffffff9c) ioctl$WSMOUSEIO_SETPARAMS(r7, 0x80105728, &(0x7f0000000700)={&(0x7f0000000680)=[{0x24, 0x6}, {0x2, 0x3e}, {0x45}, {0x20, 0x5}, {0x88, 0xffff}, {0x44, 0x3}, {0x8a, 0xe65}, {0x1, 0x1}, {0x20, 0x4}], 0x9}) r8 = syz_open_pts() r9 = getpid() fcntl$setown(r8, 0x6, r9) 00:50:54 executing program 0: r0 = kqueue() r1 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) unlinkat(r1, &(0x7f0000000080)='./file0\x00', 0x8) close(r1) socket(0x11, 0x3, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff}) sendmsg$unix(0xffffffffffffffff, &(0x7f0000000400)={0x0, 0x0, 0x0, 0x0, &(0x7f00000000c0)=ANY=[@ANYBLOB="28000000ffff000001a17d8fdd7b7a21443474cbaf929d2fd4cafd8c4ec30408ce3208951a968373b70b081f357de67caed81e23d5066e645660996034348dcc444814cc7d9e0c7182b0b0dc51f69c83c3c4d47cf40af50ea82dca55e86c01bfc2f8fd0eb299224a664ba6e7533ea3d34f8129660d90e31998fe10f205dfd4e79b33d89ed259040e0a5891ea6857b4e2a6c9d4d94421e3cefa4dd2c5603eb8210ec392c1f7a00fa90a00e5766f8618a5cb67f6dd357b41b88c"], 0x9}, 0x0) stat(&(0x7f0000000200)='./file0\x00', &(0x7f0000000180)) sendmsg(r2, &(0x7f0000000380)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000), 0x28}, 0x0) 00:50:54 executing program 1: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e0000001"], 0x1) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="8b0229"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x2, 0x2, 0x0) bind(r0, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r1 = socket(0x2, 0x2, 0x0) dup2(r0, r1) connect$unix(r1, &(0x7f0000000000)=ANY=[@ANYBLOB], 0x10) r2 = socket(0x2, 0x2, 0x0) connect$unix(r2, &(0x7f0000000000)=@file={0x0, './file0\x00'}, 0x10) r3 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r3, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) connect$unix(r3, &(0x7f0000000040)=@file={0x0, './file0\x00'}, 0xa) write(r2, 0x0, 0x0) 00:50:54 executing program 0: r0 = syz_open_pts() fcntl$lock(r0, 0x10000000000009, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x2000300000000}) ioctl$TIOCCLRVERAUTH(r0, 0x2000741d) fcntl$lock(r0, 0x9, &(0x7f0000000180)={0x0, 0x3, 0x0, 0x100000000}) r1 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r1, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) setsockopt$inet6_MRT6_ADD_MIF(r1, 0x29, 0x66, &(0x7f0000000040)={0x8, 0x0, 0x80, 0x2eeb, 0x9}, 0xc) syz_open_pts() r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) r3 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r3, 0x40087468, &(0x7f0000000100)) ioctl$TIOCNOTTY(r3, 0x20007471) setsockopt(r2, 0x864, 0x800, &(0x7f00000001c0)="2ed8b84b8e2fcc5295c995dfbce7d4b6ef9c39a6113a65f662e4ed63e9740d19ad68de068bb66d12a78fea82024c0bcdfb78e38e6b47674f73cb7186824f1faa328a821fb2bd9f1e4a7ed2db1d4ab00476b0e29841eaa002f7f93f73e5cd3dbd740cad64bf04ffe3910c8375bc1ed955b6ab2a49ef4fd97e99d28f6c06bf858f4928c1822b8f0917ba291027be9f31ff7ab30645075c219c89f57e", 0x9b) ioctl$TIOCCDTR(r0, 0x20007478) syz_open_pts() 00:50:54 executing program 0: mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r1, 0x0, 0x9, 0x8, 0x9, 0x1}) wait4(r1, 0x0, 0xf, &(0x7f0000000480)) r2 = semget$private(0x0, 0x8, 0x10286) semop(r2, &(0x7f0000000000)=[{0x6, 0xfffd}, {0x1, 0x1, 0x17fc}, {0x2, 0x1009, 0x1000}, {0x0, 0x2, 0x1800}], 0x4) semop(r2, &(0x7f0000000080)=[{0x2, 0xc, 0x800}, {0x5, 0x6, 0x1800}, {0x4, 0x100, 0x3c00}, {0x1, 0xffff, 0x1000}, {0x1, 0x3, 0x1000}, {0x4, 0x3, 0x800}, {0x4, 0x1ff, 0x1000}, {0x1, 0x3ae9b8cc, 0x1000}, {0x0, 0xc333}, {0x3, 0x2, 0x1000}], 0xa) semctl$GETPID(r2, 0x1, 0x4, &(0x7f0000000040)=""/12) semop(r2, &(0x7f0000000040)=[{0x0, 0x1}, {0x3, 0x1c9b, 0x2000}, {0x0, 0x0, 0x1800}, {0x2, 0x401}], 0x4) semctl$GETZCNT(r2, 0x1, 0x7, &(0x7f00000002c0)=""/148) semctl$GETALL(r2, 0x0, 0x6, &(0x7f00000003c0)=""/155) semop(r2, &(0x7f0000000000)=[{0x1, 0x9, 0x400}, {0x0, 0x8}, {0x4, 0x1, 0x800}, {0x0, 0x5}, {0x0, 0xffff, 0x1800}], 0x5) semctl$IPC_SET(r2, 0x0, 0x1, &(0x7f00000001c0)={{0x200, 0x0, 0x0, 0x0, 0x0, 0x2b, 0xff}, 0x9, 0x3, 0x8}) semctl$GETZCNT(r2, 0x2, 0x7, &(0x7f0000000040)=""/150) semop(r2, &(0x7f0000000140)=[{0x4, 0x7fff, 0x800}, {0x1, 0x0, 0x1800}, {0x1, 0x2, 0x800}], 0x3) semctl$GETALL(r2, 0x0, 0x6, &(0x7f0000000040)=""/155) setsockopt(r0, 0x29, 0xa, &(0x7f0000000000)="d5ff9668", 0x4) shutdown(r0, 0x0) getsockopt(r0, 0x29, 0xb, 0x0, 0x0) 00:50:54 executing program 1: setrlimit(0x8, &(0x7f0000000000)={0x9, 0x93}) r0 = syz_open_pts() close(r0) r1 = syz_open_pts() r2 = socket(0x2, 0x2, 0x0) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e0000001"], 0x1) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="8b0229"], 0x1) r3 = socket(0x2, 0x400000000002, 0x0) setsockopt(r3, 0x0, 0x20, &(0x7f0000000040)='\b\x00\x00\x00', 0x4) dup2(r3, r2) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) bind(r2, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r4 = socket(0x2, 0x2, 0x0) connect$unix(r4, &(0x7f0000000000)=ANY=[@ANYBLOB], 0x10) write(r4, 0x0, 0x0) read(r1, &(0x7f0000000200)=""/179, 0xb3) kevent(0xffffffffffffffff, &(0x7f0000000100)=[{}], 0x0, 0x0, 0x0, 0x0) nanosleep(&(0x7f0000001c40)={0x5, 0x7feffffe}, 0x0) kqueue() mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) 00:50:54 executing program 0: r0 = kqueue() kevent(r0, &(0x7f0000000080), 0x400000009130dbf, 0x0, 0xfffffffe, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) setsockopt(r1, 0x598, 0xffc, &(0x7f0000000080)="62c57a325f0583f0a9b9bbf4003dbb3990d97d4bd47b27a2fcec69571d1f5ac9a31a336666e467d7faf4c8c92756ed", 0x2f) getsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x6, 0x0, 0x0) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) r4 = kqueue() pipe(&(0x7f0000000140)={0xffffffffffffffff}) r6 = open$dir(&(0x7f0000000080)='.\x00', 0x0, 0x0) mkdirat(r6, &(0x7f00000000c0)='./file0\x00', 0x1f0) r7 = open$dir(&(0x7f0000000080)='.\x00', 0x0, 0x0) renameat(r7, &(0x7f0000000000)='./file1\x00', r6, &(0x7f00000001c0)='./file0/file0\x00') r8 = openat(0xffffffffffffffff, &(0x7f00000002c0)='./file0/file0\x00', 0x10000, 0x2) kevent(r0, &(0x7f00000000c0)=[{{}, 0x0, 0x1, 0x10, 0xc0000000000, 0x8}, {{}, 0xfffffffffffffff9, 0x2, 0x2, 0x36c39ff1, 0x2}, {{}, 0xfffffffffffffffa, 0x2, 0x40000000, 0x8, 0x9}], 0x5f, &(0x7f00000001c0)=[{{r2}, 0x0, 0xe3, 0x1, 0xfffffffffffffffa, 0xaa}, {{r3}, 0xfffffffffffffffc, 0x0, 0x20000000, 0x7, 0x486fac0e0000}, {{r4}, 0xfffffffffffffffa, 0x20, 0x4, 0x1, 0x8}, {{r5}, 0xfffffffffffffffa, 0x22, 0x4, 0xfffffffbffff8000, 0x73fa}, {{r8}, 0xfffffffffffffffd, 0x88, 0x1, 0x8, 0x2}, {{r0}, 0xfffffffffffffffd, 0xd, 0x1, 0x5b, 0x1}], 0x3, &(0x7f0000000180)={0x0, 0x100000000}) mmap(&(0x7f000071c000/0x400000)=nil, 0x400000, 0x3, 0x5012, 0xffffffffffffffff, 0x0, 0x0) nanosleep(&(0x7f0000000000)={0x1ff, 0x5ba8}, &(0x7f0000000040)) 00:50:59 executing program 0: ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x10000000000001}}) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x7fff, "00000000e6ffffff0000ff4000"}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) nanosleep(&(0x7f0000000040)={0x6, 0x2}, &(0x7f0000000080)) close(r0) r1 = socket(0x18, 0x2, 0x0) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) ioctl$LIOCSFD(r2, 0x80046c7f, &(0x7f0000000100)=r0) setsockopt(r1, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) 00:50:59 executing program 1: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x8}) r0 = syz_open_pts() close(r0) syz_open_pts() r1 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r1, 0x40087468, &(0x7f0000000100)) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) ioctl$TIOCSETAF(r2, 0x802c7416, &(0x7f0000000000)={0x101, 0x800400, 0xfffffffffffffff8, 0xfffffff8, "00002e5101000000690f85420efd7a548b000080", 0x40000000}) writev(r0, &(0x7f0000001940)=[{&(0x7f0000000940)="e4da7d5c400069df5bcc46333048d057d8c85f69dad1d802a0b0bef6405c783ccb67d33f494fca8e316f48bfa6d26f9664379d8650976d1b5bd89776d68c9b05f0416640df359ef5642a3eaaf17c005efa14639be6fb52185ae303944e53ab89db3f480fed6cb0d2b15aeb5271bfa9e862952ab48af1b43f9fcff0d1468bf5f68d0c6b2df1859a0df3b427f9fe99bdad15a12609bc421c8cf9ef6690b68ca6a14fc51f5239476af915b8bb584019713fa11a3c333f85cc54355c3c7cbd6a1aecc812e9725a138e66ef3840520c5d3b1b6e08d2eb95dda0b3fa9ba7083c741efff906e07e83e5c7d6b75f66bda6e61548367ef3dc352e079be5c920d986c8097b9d2d0269045435c7b34d1530764b1a2705f437cbe961f3f3b842be3e4283e853db950aa741bf9884437cec2435fc58e0ff0d458e91ac0b0f49f11005070200b94e677f31bf2ac7cf80f872fa95ef7c17f6875adca5f8248ae7e589190a8e5a177707c84eb252421c9b36361d2cab33f77f6012b067bb8800451d2169abf6970389dce3ff337c2909f283dd95c13964e6", 0x190}], 0x1) 00:50:59 executing program 1: mmap(&(0x7f00003f8000/0x400000)=nil, 0x400000, 0x3, 0x5012, 0xffffffffffffffff, 0x0, 0x0) mprotect(&(0x7f0000535000/0x3000)=nil, 0x3000, 0x0) select(0x0, 0x0, 0x0, &(0x7f00006c7fc0), 0x0) r0 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r0, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) connect$unix(r0, &(0x7f0000000000)=@abs={0x0, 0x0, 0x1}, 0x8) chdir(&(0x7f0000739ffe)='..') 00:50:59 executing program 0: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f00000000c0)={0x0, 0x0, 0x90d6, 0x0, "d700060000000000005b00000000000000e74de4"}) write(r0, &(0x7f0000000180)="582720efabd16ebae63225259560f8e5815f73f2a044fd33055552fbd7e41789632dfc94ff334a5619515a4c8ab06198824b3da025bbd47b3bf579456fc7d4096e8c8b6b87cb2d72b8bcdb9ad8a4f5f728193ef16ab93f12fc4d5f16b136a5d00d1628b53a", 0x65) write(r0, &(0x7f0000000040), 0xfffffec2) r1 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) pwritev(r2, &(0x7f0000000300)=[{&(0x7f0000000200)="86463a43f289e21317f815e569bd13af04f2dcbe1ab52babc35e291f7f64727d53891b160cd9b1ed1e4de6bf050e335bc7bbf8c34bd1c823c008329472bae443bd8369daa54e4bb61d7291a815b2deea12043dd8691d6d526497e4866131a38bfce11800da1a5e26b3e374c77436cf087d13565b9e5f8062ab9de0595bcad57e77790f9f44a914e2e13ce431c51a44611ae3a3e5fbfa4356106ed2930613cca74ef07aa60d2d138718231cd4edf500b2dd27ddd7c0cc3ed4353ba8e85c0a1c8e5b26e18f87f2c4d0029f419d6c06ed940fcf9b15a6ea1c23e25b7de4e1b4fb35853480a6f863cb8172c2e1e32f2f18", 0xef}, {&(0x7f0000000380)="6997cecf1cef45d897baf56735f0119957665b41bc562282d80665dd2258d4509fc44e418cf602be66ad0ef0e269e889eb923a6786803306cf89ab3d54326c69bb3c81dd7caa7d0d51b71f15c49148046197c383b73c07", 0x57}, {&(0x7f0000000140)="a52b8cc81397e04ee57343816d0f5946b01b64468114425fac2d1c6368baacc369859076d2dd2e64b8a66e97ba04e267a8c1dac4", 0x34}, {&(0x7f0000000400)="3cf14e1dc7c30f0964bdae308fdf0dd63f1e3a3272b3cf077da1dc9db4d2b790a1e1b5d8ea31b73df8e72a678a7b82ebcf8eb8a5f36d609a710753803aa569da15f9c65f7d04247c34194b91b5948da3b367bcc66436893ec4c3036616a5ba67600c2e63e4e4a07c7ceb7752e1b6f24a5e6774c3a14321105f0ede365af2d3a061d673adda0b68c809013d2b2a9f6a90cd958073a39460bf6e08f1735ed6c50f8073f463cd2534ae6a0abcb9c8cf6ef22e289e0786575123d8d736062bfa", 0xbe}], 0x4, 0x0, 0x3) ioctl$TIOCGWINSZ(r1, 0x40087468, &(0x7f0000000100)) ioctl$PCIOCWRITE(r1, 0xc0107003, &(0x7f00000004c0)={{0x9, 0x1, 0x81}, 0x0, 0x7, 0x6}) r3 = syz_open_pts() close(r0) dup(r3) socket$unix(0x1, 0x5, 0x0) open$dir(&(0x7f0000000340)='./file0\x00', 0x400000002c5, 0x0) syz_open_pts() utimes(&(0x7f0000000000)='./file0\x00', 0x0) r4 = socket$unix(0x1, 0x2, 0x0) sendmsg$unix(r4, &(0x7f0000000080)={&(0x7f0000000040)=ANY=[@ANYBLOB="700c2e2f666986653000"], 0xa, 0x0}, 0x0) 00:50:59 executing program 0: getrlimit(0x2, &(0x7f0000000080)) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000080)={0xffffffffffffffff}) r1 = socket(0x2, 0x8002, 0x0) connect$unix(r1, &(0x7f0000000000)=ANY=[@ANYBLOB="620292a77fe52ef5de87"], 0x10) dup2(r1, r0) setsockopt$sock_int(r0, 0xffff, 0x1001, &(0x7f0000000000)=0x43cbc, 0x4) r2 = dup(r0) sendto$inet6(r2, &(0x7f0000000040), 0xffc9, 0x0, 0x0, 0x0) ioctl$WSDISPLAYIO_GVIDEO(r2, 0x40045744, &(0x7f0000000100)) r3 = socket(0x800000018, 0x1, 0x0) bind$unix(r3, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) pipe2(&(0x7f0000000040), 0x4) r4 = semget$private(0x0, 0x4, 0x1b2) semctl$GETNCNT(r4, 0x4, 0x3, &(0x7f0000000580)=""/170) semctl$SETVAL(r4, 0x0, 0x8, &(0x7f0000000240)=0x72) r5 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) getsockopt$SO_PEERCRED(r5, 0xffff, 0x1022, &(0x7f00000000c0), 0xc) semctl$GETVAL(r4, 0x4, 0x5, &(0x7f0000000800)=""/210) semctl$GETNCNT(r4, 0x2, 0x3, &(0x7f0000000900)=""/102400) 00:50:59 executing program 0: socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000026ff8)={0xffffffffffffffff, 0xffffffffffffffff}) recvmsg(r0, &(0x7f0000002700)={0x0, 0x0, &(0x7f0000002580)=[{&(0x7f0000000080)=""/52, 0x34}, {&(0x7f00000004c0)=""/4096, 0x1000}], 0x2, 0x0}, 0x842) recvfrom$unix(r0, &(0x7f0000000100)=""/81, 0x51, 0x0, 0x0, 0x0) r2 = socket(0x10000000002, 0x2, 0x0) setsockopt$sock_int(r2, 0xffff, 0x1023, &(0x7f00000000c0)=0x3, 0x4) write(r1, &(0x7f0000000000)="87", 0x1) close(r1) r3 = syz_open_pts() ioctl$TIOCSETVERAUTH(r3, 0x8004741c, &(0x7f0000000040)=0x3) r4 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r4, 0x40087468, &(0x7f0000000100)) ioctl$TIOCMSET(r4, 0x8004746d, &(0x7f0000000180)=0xb743) 00:51:00 executing program 1: mknodat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0xc0e99db6de761f86, 0x0) mknod(&(0x7f0000000040)='./file0\x00', 0x2000, 0x9) r0 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r0, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) bind$unix(r0, &(0x7f00000000c0)=@abs={0x1, 0x0, 0x3}, 0x8) r1 = open$dir(&(0x7f00000010c0)='./file0\x00', 0x1086, 0x0) r2 = open(&(0x7f0000000080)='./file0\x00', 0x10, 0x40) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0x0, 0x2011, r2, 0x0, 0x7f) r3 = kqueue() munlock(&(0x7f0000ffa000/0x4000)=nil, 0x4000) kevent(r3, &(0x7f0000000180)=[{{r1}, 0xfffffffffffffffb, 0x21}], 0xaa, 0x0, 0xfffff801, 0x0) 00:51:00 executing program 0: socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r1, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=ANY=[@ANYBLOB="28000000ffff00000100000008cd3fdf00000000", @ANYRES32=r1, @ANYRES32=r1, @ANYRES32=r1, @ANYRES32=r0, @ANYRES32=r1], 0x28}, 0x0) setrlimit(0x8, &(0x7f0000000080)) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) ioctl$BIOCSDLT(r2, 0x8004427a, &(0x7f0000000140)=0x7fff) recvmsg(r0, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000180)=""/88, 0x58}, 0x0) 00:51:00 executing program 1: syz_open_pts() r0 = kqueue() kevent(0xffffffffffffffff, 0xfffffffffffffffe, 0x0, &(0x7f0000000440), 0x0, 0x0) kevent(r0, 0x0, 0x0, &(0x7f0000000200), 0x1, 0x0) r1 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r1, 0x40087468, &(0x7f0000000100)) kevent(r1, &(0x7f0000000000)=[{{r0}, 0xfffffffffffffffb, 0x6, 0x40, 0x80000000, 0x43a9}], 0x200, 0x0, 0x1a79, 0x0) 00:51:00 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) r4 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r4, 0x0, 0x6, 0x0, 0x0) r5 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) r6 = socket$inet(0x2, 0x2, 0x0) r7 = dup(r1) ioctl$BIOCSHDRCMPLT(r7, 0x80044275, &(0x7f0000000080)=0x9) getsockopt$inet_opts(r6, 0x0, 0x6, 0x0, 0x0) close(r6) r8 = syz_open_pts() ioctl$TIOCSETA(r8, 0x802c7414, &(0x7f0000000000)={0xfffffffffffffffd, 0x0, 0x3ff, 0x7ffffffe, "73f300070060c3dce5081a6f6000"}) writev(r0, &(0x7f0000000340)=[{&(0x7f00000007c0)="1a2eeea85f965e1c7cf20e2da943349f13b97f9c2c18705ca7", 0x19}], 0x1) 00:51:00 executing program 0: mlock(&(0x7f0000001000/0x1000)=nil, 0x1000) r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x0, 0x2c) mmap(&(0x7f0000002000/0x3000)=nil, 0x3000, 0x1, 0x10, r0, 0x0, 0x0) mlock(&(0x7f0000000000/0x4000)=nil, 0x4000) open$dir(&(0x7f0000000040)='./file1\x00', 0x800, 0x8a) readv(0xffffffffffffff9c, &(0x7f0000001680), 0x0) getpgrp() r1 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r1, 0x40087468, &(0x7f0000000100)) ioctl$KDGETLED(r1, 0x40044b41, &(0x7f0000000340)) 00:51:00 executing program 0: r0 = socket(0x18, 0x1, 0x0) r1 = socket(0x800000018, 0x1, 0x0) bind$unix(r1, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) listen(r1, 0x0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) setsockopt$sock_int(r3, 0xffff, 0x1001, &(0x7f0000000000)=0x7, 0x4) sendto(r0, &(0x7f00000002c0)="98f728f8f955b0f22c50616364ff3fb4e0", 0x11, 0x0, 0x0, 0x0) 00:51:01 executing program 1: ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x10000000000001}}) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0xffffffffffffffff, 0x0, "00000000000000000000f2ffffffffffffff4000"}) r0 = socket(0x800000018, 0x2, 0x0) bind$unix(r0, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) setsockopt$sock_int(r0, 0xffff, 0x800, &(0x7f0000000180)=0x5, 0x4) ioctl$TIOCSETAF(0xffffffffffffffff, 0x802c7416, &(0x7f0000000140)={0xffffffffffffffff, 0x0, 0x0, 0x0, "010000000000000000ffffff7f00"}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r1 = socket(0x18, 0x1, 0x0) setsockopt(r1, 0x29, 0xc, &(0x7f0000000140)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r2 = socket(0x18, 0x1, 0x0) openat$tty(0xffffffffffffff9c, &(0x7f0000000040)='/dev/tty\x00', 0x10100, 0x0) close(r2) r3 = socket(0x18, 0x2, 0x0) setsockopt(r3, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r2, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) write(r3, 0x0, 0x0) 00:51:01 executing program 0: r0 = socket$inet(0x2, 0x2, 0x0) r1 = openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x218, 0x0) unlinkat(r1, &(0x7f0000000040)='./file0\x00', 0x0) setsockopt$inet_opts(r0, 0x0, 0x9, 0x0, 0x0) 00:51:01 executing program 0: r0 = syz_open_pts() close(r0) setrlimit(0x8, &(0x7f0000000040)={0x7, 0x92}) r1 = syz_open_pts() close(r0) syz_open_pts() ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000000)={0x0, 0x9, 0x7ff, 0xfffffffffffffffd, "0aff030000000800e0005900000000003f00"}) write(r1, &(0x7f00000014c0)="8fc3c1f9ea6e15b7e080f7588caf9f8abbe1d3daf1b5e0615d6475c96023c9dd67452432e1d643870f7bfaa82a7c43d54408f402443678f6ceae9613432995bd76565cdaa921d977f1f2496a403a3a0dbf1172e80b7f983e32d1fcd7308e7023af6a6c03416c5f39b7cd56a54f38617821846d4a7748f0587578c89b70f7cade5775b276a28e89a8755b2408281adfe3bc1d54a084a1b58d0d3071887d6dae94cea0cc2d26ceb2f96a1432d061d1c7b123b36bf58cb8098b0faf44736d54f3bd02a924d58876713618659c4b2fae8e4489f37e1c2f48776bc3e355522a6de700a6cfedb677f099e93ae477ba243a022877697c95e3d2fb9423ed6fbb10c44f61f87046115b9904a5c01d9dd2d95b2ee95264520877feb1e4cb365d6118ac5dab3496b54f760bc93e7083182bef731a87ca476a304f26dd29fe1e58e6d94617a38f2f4fe68f27552e23767d9a61eb6568e42111794ad48b88da4452785c1197d7f8687a7569845b4ecc74fd69dba8c46f4176c39e410676f378cd96fcb53a171ac28d15b65486f15c4c61b34c102e210bc0d3095063f1145138e732066a87c3322eb673f341644bd94030c6305cb049333aa91c285f458b537f2459f60a", 0x1bd) r2 = semget$private(0x0, 0x3, 0x0) r3 = semget$private(0x0, 0x3, 0x0) semctl$IPC_SET(r3, 0x0, 0x1, &(0x7f0000000140)={{0x20000000, 0x0, 0x0, 0x0, 0x0, 0x2, 0x9}, 0x5, 0x5, 0x8}) shmget$private(0x0, 0x2000, 0x0, &(0x7f0000ffd000/0x2000)=nil) semctl$IPC_SET(r3, 0x0, 0x1, &(0x7f0000000140)={{0x20000000, 0x0, 0x0, 0x0, 0x0, 0x2, 0x9}, 0x5, 0x5, 0x8}) ioctl$TIOCFLUSH(r0, 0x80047410, &(0x7f00000000c0)=0x6) r4 = shmget$private(0x0, 0x2000, 0x0, &(0x7f0000ffd000/0x2000)=nil) r5 = getuid() shmctl$IPC_SET(r4, 0x1, &(0x7f0000000540)={{0x0, 0x0, 0x0, r5}}) r6 = getegid() semctl$IPC_SET(r2, 0x0, 0x1, &(0x7f0000000100)={{0x6, r5, r6, 0x0, 0x0, 0x14b, 0x7fff}, 0x7, 0x400, 0x80}) semop(r2, &(0x7f0000000080)=[{0x0, 0x7, 0x800}, {0x1, 0x65f, 0x1800}, {0x1, 0xfff9}, {0x0, 0x8, 0x800}, {0x4, 0x7, 0x800}], 0x5) 00:51:01 executing program 1: syz_extract_tcp_res(&(0x7f00000000c0), 0x1fe, 0x78) r0 = semget$private(0x0, 0x7, 0x3e0) semctl$IPC_STAT(r0, 0x0, 0x2, &(0x7f0000000100)=""/172) semctl$GETZCNT(0x0, 0x3, 0x7, &(0x7f0000000400)=""/136) sync() ioctl$FIOGETOWN(0xffffffffffffffff, 0x4004667b, &(0x7f0000000040)) r1 = socket(0x2, 0x1, 0x0) ioctl$VT_OPENQRY(0xffffffffffffffff, 0x40047601, &(0x7f0000000240)) bind(r1, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r2 = dup(r1) listen(0xffffffffffffffff, 0xff) r3 = socket(0x18, 0x1, 0x0) setsockopt(r3, 0x29, 0x9, &(0x7f0000000000)="03000000", 0x4) setsockopt(r3, 0x23, 0x219, &(0x7f00000001c0)="ec16b37c2e4f593f03dca8bca000000000", 0x11) r4 = socket(0x18, 0x2, 0x0) setsockopt(r4, 0x29, 0x10, &(0x7f0000000000)="03000000", 0x4) setsockopt(r4, 0xffffffff, 0x80000000000000d, &(0x7f0000000280)="7b3b1eab03f9d9e38909e6bd0586b0826407507947cfbdaf3b2e0f018aaea4169830d27d438a5282d1da39b6218ea6f018f1d4d1d6727f0e302e603ff4774eedee90a70afab09218d8cb5a65d09ad8b3a7f80bef48b71b0babf90d87aec369db6714ef09083720fab5d50000000000000000e16a80c8c472a9f43900378a04befd6923a94a7adedae6ab926b8baf33cf72c010ba9b5a32ca96261a628033787cf445fc9e6a31cae97d4ceedd5867bc0a432d64728385bc90", 0xb8) dup2(r4, r4) listen(r2, 0x0) faccessat(0xffffffffffffffff, &(0x7f0000000000)='./file0\x00', 0x0, 0x0) 00:51:01 executing program 0: r0 = socket(0x18, 0x1, 0x0) r1 = socket(0x10, 0x1, 0x0) bind$unix(r1, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) r2 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r2, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) accept$inet6(r2, 0x0, &(0x7f0000000000)) openat$zero(0xffffffffffffff9c, &(0x7f0000000040)='/dev/zero\x00', 0x20040, 0x0) r3 = socket$inet(0x2, 0x2, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r5, 0x0, 0x9, 0x8, 0x9, 0x1}) setuid(0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) listen(r3, 0xf11) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) r6 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r6, 0x0, 0x6, 0x0, 0x0) lseek(r6, 0x0, 0x5, 0x1) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7, 0x0}, 0x8) sendto(r0, &(0x7f0000000140)="98f79f7f2da8d3c128f8f955b0f22c5061", 0x11, 0x0, 0x0, 0x0) 00:51:01 executing program 1: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="3f02e18b7f000001"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = kqueue() r1 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) close(r1) r2 = socket(0x18, 0x2, 0x0) bind(r2, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r3 = socket(0x2, 0x2, 0x0) ioctl$PCIOCGETROM(r1, 0xc0107005, &(0x7f0000000100)={{}, 0x8, &(0x7f0000000040)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]}) r4 = dup2(r2, r3) connect$unix(r3, &(0x7f0000000140)=ANY=[@ANYBLOB="d01454ac47099de36479c075fa86544014efbd5e01869da482c062de61c39156147dd5a2557dbaab0037a8210b374bbb627d2b5d893699709565ff272b7ba3ee3f1f6b97cb86c28864831e646ede43e54198928788ed8304934906f461e328d9ee11defc6263c057f63ee24384292192a73967c226462ba81a24c82a7ff54ad6"], 0x10) socket(0x20, 0x2, 0x81) sendto$unix(0xffffffffffffffff, 0x0, 0xffffffffffffff2f, 0x4, 0x0, 0xfffffffffffffe36) setsockopt$sock_int(r1, 0xffff, 0x1023, &(0x7f0000000080), 0x4) sendmsg$unix(r1, &(0x7f0000000440)={0x0, 0x0, 0x0}, 0x0) setsockopt$sock_int(r4, 0xffff, 0x1023, &(0x7f00000000c0), 0x4) 00:51:01 executing program 0: socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000080)={0xffffffffffffffff}) r1 = socket(0x2, 0x2, 0x0) connect$unix(r1, &(0x7f0000001800)=ANY=[@ANYBLOB="8202adffffffffffffffff6530130fb9aa23d0575a54d78a2a197a386207000000008284955984c87910bf093f68c11700287ead4bcb777fa69dfcbd1697790a10d9436ee14ceac24ba84e6abca64896bc57c6388bbd2ad88b2951b1d65801360bcd4c0a8419da705c62bffa4d012ae46ac41e6bf3bf554799b9b800ed52e0b85a85e25bfb258557d60f13ad3066843c10f8a4aeef9d612f871f4385f04157795ea4a5c59a1a9fa202361ca1d8cac7dbbc5b65c6593d2870b4122cd235000000000000000000000000000000000000000000000000000000e0d853fcd94c20b9ca1cdaea7be8b36019dea90d160e9b2048a3c0b5495a204b24be82ab7a1d429588e2ef4f3f7310214dd6621b471ebd14bedeb621576b1500c75ec025cd156589e86a49ae654259ccf08494247af9aedeb4efd3ee6c50ee93108376ef6994e786a04a5240b0f7bf389914bc1a7a94b7ea981b35502b868b2729cacee8e23599246be92480fd100e7db031124aaefa935c00395a3f7e2a3203ae23a28c207c50b8eb9e7636963f712823d723f3943bfb8bc326fce577cc7419ccede2c67cbca2239e9f3fbb6109b301b1a023deaa0c7b0fe1e297b41476af4cd4b4db696d7d0e76d1141d00ac5e1ffad19cd1c9a601638cb3be04e733e5e6ad37ee0654dbb8a439ab6c12a288f2a0a0ca43ad6b9c1d78e567f5661a9e97c14cbdc488683ecdf66a6e4230feb5d1251a0152aa6488c5e4584d1f7c28b7dfb721d08006c51d692e5315a1fcab1578d2a46ef1e7c4aea93460628e82676e4c27490bc5b558220588d4e58ced3c08afe5336307530380348a29003fa8672f56b76d97da917ea9e92a8b8b26b3be1ef1a709000000902a256dc07bdf926fa5ca3ff3a967b31f4467b4c8946e1500b2c6f5caae5d9c36b50fd816dbaeb940cd3a06380b77979ab4ef06bdcb00c899ff1610528c9bef98ac669e81da820920df7463bcaf2321fef89ea0c8ba473f892743feba829fd6681ece8fa614ec95b39d85"], 0x10) dup2(r1, r0) setsockopt$sock_int(r0, 0xffff, 0x1001, &(0x7f0000000000)=0x43cbc, 0x4) r2 = dup(r0) setsockopt(r0, 0x0, 0x3, &(0x7f0000000040)="6aa62e34", 0x4) sendto$inet6(r2, &(0x7f0000000040), 0xfcec, 0x0, 0x0, 0x0) 00:51:01 executing program 1: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() close(r0) syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f00000000c0)={0x0, 0x0, 0x5, 0xd72, "900a6e01ff7f0000010001000000000800"}) ioctl$FIONBIO(r0, 0x8004667e, &(0x7f0000000000)=0x1) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) getsockopt(r1, 0x6a, 0x5d, &(0x7f0000000100)=""/39, &(0x7f0000000140)=0x27) write(r0, &(0x7f0000000080)="2078f7b69541d6d97099188e90cd9c8e765f9ba2c14c0333177edf6d0f3295f5a5e8b04efdd700"/53, 0x241c5379a0e79b8e) 00:51:01 executing program 0: r0 = open(&(0x7f0000000040)='./file0\x00', 0x70e, 0x0) pwritev(r0, &(0x7f00000003c0)=[{&(0x7f0000000740)="90c3fe67eb586898600425f2f573e0d1ac83c18d65c8e22066c0d389fe894a974c8d45aaf9846f9b3aec3213d2a6ac68a0b0632688ca0fab3647175abf22fea120c9b3bb77ca60c128295bf234505356095dbf9e50a4a5079723b57fed8ef0a251b91e67e1f5d347d5b668a390a25beea3962e7c10b8d9f53f5c82b5eacc26757d14f2fa6be9a2cbb2cfacc5e906dfd1e3208364bb049bd84682cec454327b6a1522c332ea628b0cb672e9e7247818f900e017c7cb9303e6b505059f34d3fb9df3993b7535fa269859e24b2802782224d7d5c13c21d4eee4f8621037c3d78695ad9a278978b26c46049befba997acb9ac407791cdf6046f9f71e36d09827a4493c17a0921dc38af76420c885862413c6ed4f7fe335a5547ee2d7c65d735b189214606da83f9be40faef7438cbfe1ed0439c45506672cda99d1c3471259d08198e13683ef6b08d5c54bfb991dcca6919362e1a0b65844e9194c2d7fd257281fbcae0694eb4c1e7121b6a2c19d7c82054126e2146349c1c8489aada96f3a8400c78d1da37d5228e5aa36b139a8d5957e8209712744b813", 0x196}], 0x1, 0x0, 0x0) writev(r0, &(0x7f0000000000)=[{&(0x7f0000000200)="0ec465cdab1ab6925cb81235dbb17399c070dde203e502106f690d9947364fe3569560e73bfa9012263c0ef6eb626ad79d51e7b4607879072ca33809a85443bef8e011b3e2e63de6f9637ca6e422106a6a1762b67f560814eef6dcb3f39a2e51600251fbad1ee82088a75ca376da066e763d4d967ce8aadb3c3fd7f9ae4f4c83b220d59b80283161ec55078a180c86454a6af889e6877abb5119218026dd409b65c450ff09e8a2b84a3bc3e8ffeceb6761b349d9d7512b3b4bcbcf5ceb029b7740fbb949d4dd", 0xc6}], 0x1) mmap(&(0x7f0000000000/0x3000)=nil, 0x3000, 0x5, 0x10, r0, 0x0, 0x0) mkdir(&(0x7f00000000c0)='./file0/file0\x00', 0x0) mkdir(&(0x7f0000000080)='./file0\x00', 0x0) mkdir(&(0x7f0000000100)='./file1\x00', 0x0) open$dir(&(0x7f0000000200)='\x13\x13w\xc5\xfc5\xd4\x14T\xd5\xd4\x1d)\xad\x1a`)Y\x81F\xe6\xbe\x16nA\xad\r\xbd@T\x03<\x9f3\xbb\xda\x82$\xa2\xf3\xd7r\xe7cnH\xb3<\xbfp\x83r\xe8\xf1\xb9\x93>\xc5\x12wC\xbe\"\x06 \x9e\xf0-\xf9\xcb\xf2\xf6\xe8\x80\xd38/\x00', 0x400000002c4, 0x0) r1 = socket(0x6, 0x5, 0x1) bind$unix(r1, &(0x7f0000000140)=@abs={0x1, 0x0, 0x1}, 0x8) rmdir(&(0x7f0000000080)='./file1\x00') mkdir(&(0x7f00000001c0)='./file0\x00', 0x0) open(&(0x7f0000000040)='./file0\x00', 0x60e, 0x80) open$dir(&(0x7f0000000040)='./file0\x00', 0x400000002c5, 0x0) 00:51:01 executing program 1: kevent(0xffffffffffffffff, 0x0, 0x0, &(0x7f00000000c0)=[{{}, 0xfffffffffffffffe, 0x0, 0x2, 0x0, 0x8}], 0x7821, 0x0) r0 = socket(0x18, 0x1, 0x0) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7, 0x0}, 0x8) close(r0) r1 = socket(0x800000018, 0x2, 0x0) r2 = dup(r1) kevent(0xffffffffffffffff, &(0x7f0000000080)=[{{}, 0xfffffffffffffffc, 0x0, 0x0, 0x100000000000000}], 0x0, 0x0, 0x0, 0x0) bind$unix(r1, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x4}, 0x1c) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r3 = shmget$private(0x0, 0x3000, 0x682, &(0x7f0000784000/0x3000)=nil) shmat(r3, &(0x7f0000ffb000/0x2000)=nil, 0x1000) shmctl$SHM_LOCK(r3, 0x3) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000d, 0x0, 0x0) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r5, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, r4, 0x0, 0xffffffffffffffff, 0x0, 0x182}, 0x10000, 0x9f8, r6, 0x0, 0x2, 0x8, 0x9, 0x1}) ktrace(&(0x7f0000000000)='./file0\x00', 0x4, 0x1400, r6) sendmsg$unix(r2, &(0x7f0000001900)={0x0, 0x0, 0x0}, 0x0) 00:51:01 executing program 0: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) r0 = socket(0x18, 0x4, 0x25) setsockopt(r0, 0x1000000000029, 0x81003d, &(0x7f0000000040)="06000000", 0x4) r1 = socket(0x18, 0x1, 0x0) close(r1) fcntl$dupfd(r0, 0x0, r1) connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) sendmsg(r1, &(0x7f0000001340)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000200)=ANY=[@ANYBLOB="7728cc100000002900000033000000002d1698c216019adb3d04b7b6e472c5cb2490a4ba760f7b5f778b3e18bc7a24b337d3deb4ea23c0d6c40aadc270aef88dd4d1eb4887912a2f541a79272f9f563cd79b001395b1d32f4e58428d3e2ddca8bbf7b69cac1683c6c016348c0753ec2d09c4bccc6ae4ff0530925abb5c7d2e219428b31424dfb6971a6967c671f992ee3f19405353e56f34719314bf8a1c95969c57d41c507d8e4352d8efe4d0864c477f5a57657f60339a4d2b67dea8ff1b065b3d9a01332b974e5638fc679ddb885110b7c47788b8a34d417a8ae1bf7b77527f77da8b021b"], 0x10}, 0x0) r2 = kqueue() rename(&(0x7f0000000080)='./file0\x00', &(0x7f0000000100)='./file0\x00') fcntl$getflags(r2, 0x3) r3 = socket(0x10, 0x1, 0x4) setsockopt$sock_int(r3, 0xffff, 0x1001, &(0x7f0000000000)=0xeb5, 0x4) r4 = kqueue() dup2(r4, r0) 00:51:01 executing program 1: preadv(0xffffffffffffffff, &(0x7f0000002680)=[{&(0x7f0000000180)=""/122, 0x7a}, {&(0x7f0000001680)=""/4096, 0x1000}], 0x2, 0x0, 0x0) r0 = open(&(0x7f0000000040)='./file0\x00', 0x615, 0x0) pwritev(r0, &(0x7f00000003c0), 0x273, 0x0, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000)='/dev/zero\x00', 0x80, 0x0) fchmod(r1, 0x106) mmap(&(0x7f0000000000/0x3000)=nil, 0x3000, 0x2, 0x11, r0, 0x0, 0x0) getgroups(0x1, &(0x7f0000001640)=[0x0]) sync() unveil(0x0, &(0x7f0000000100)='x\x00') madvise(&(0x7f0000001000/0x4000)=nil, 0x4000, 0x4) munmap(&(0x7f0000000000/0x4000)=nil, 0x4000) 00:51:01 executing program 1: r0 = kqueue() r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) r2 = dup2(r0, r1) r3 = openat$tty(0xffffffffffffff9c, &(0x7f0000000040)='/dev/tty\x00', 0x200, 0x0) r4 = semget$private(0x0, 0x2, 0x300) semctl$SETVAL(r4, 0x2, 0x8, &(0x7f0000000200)=0xffff) select(0x40, &(0x7f0000000240)={0x3ca3, 0x8, 0x9, 0x8, 0x2, 0x0, 0x0, 0x7}, &(0x7f0000000280)={0x8, 0xffffffffffffff6c, 0x3ff, 0x3, 0x10000, 0x7, 0x3, 0x1}, &(0x7f00000002c0)={0xe290, 0x4, 0x0, 0x1, 0x7, 0xfd, 0x9, 0xbbd}, &(0x7f0000000300)={0x81, 0xf4a}) r5 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000080)='/dev/diskmap\x00', 0x10000, 0x0) kevent(r0, &(0x7f0000000000)=[{{r2}, 0xfffffffffffffffa, 0x50, 0x80, 0x8, 0x3}, {{r0}, 0xffffffffffffffff, 0x21, 0xa5d914ebcb22b1e6, 0x5, 0x5}], 0x4, &(0x7f00000000c0)=[{{}, 0xfffffffffffffff8, 0x2, 0x20000000, 0x401, 0x67c}, {{r3}, 0xfffffffffffffffe, 0x82, 0x4, 0x2, 0x65c0}, {{}, 0xfffffffffffffffc, 0x2, 0x1a0000012, 0x7, 0x4}, {{r0}, 0xfffffffffffffffe, 0x0, 0x2, 0x8000000000000000, 0x1}, {{r0}, 0xfffffffffffffffb, 0x97, 0xf0000020, 0x5, 0x3f}, {{r0}, 0xfffffffffffffffd, 0xa2, 0x1, 0x100000001, 0x7}, {{r5}, 0xfffffffffffffffe, 0x36, 0x1, 0x1, 0x4}], 0x5cbdcccd, &(0x7f00000001c0)={0x1, 0x7}) r6 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) fchflags(r6, 0x1) 00:51:01 executing program 1: ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x2003ff}) r0 = socket(0x18, 0x1, 0x0) close(r0) r1 = socket(0x18, 0x2, 0x0) connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) getsockname$unix(r1, &(0x7f00000000c0)=ANY=[@ANYPTR], &(0x7f0000000040)=0x1) close(r1) r2 = socket(0x18, 0x400000002, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) setsockopt(r2, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r0, &(0x7f0000000080)=@file={0x1, './file0\x00'}, 0xa) 00:51:01 executing program 0: ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x10000000000001}}) r0 = socket(0x18, 0x1, 0x0) close(r0) r1 = socket(0x18, 0x400000002, 0x0) close(r1) r2 = socket(0x18, 0x2, 0x0) setsockopt(r2, 0x800401, 0x35, &(0x7f0000000100)="88752081bc01000000010000002a067ca41437156b324580f69a0000d6ba421abf0275bc899030089453f7ffffff4f200a4b26c72012008287c677c6d485686c264fc9bd4f0b5484469ce22332516e552b2b9aa8b930befe78f8449c210395d866b34a0801afa3c1befe454188921c1e5638cea697854d9cef25edf9529f6fbe296094ed5a068ff47c4fcbe2bbe734fd5044d0b2dc858c595a4c6d58b2e0d89a0a3a574c6e3148317f4ac8defe559af534572989b80eed08e520cc614b2f7b56ea701f42a3f13513", 0xfed6) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) r4 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r4, 0x0, 0x6, 0x0, 0x0) sendmsg(r4, &(0x7f0000000a00)={&(0x7f0000000040)=@in6={0x18, 0x3, 0x2, 0x8000}, 0xc, &(0x7f0000000980)=[{&(0x7f00000002c0)="ce22aba0891a9c03959eefeadf169f5ef3e5d0d61d4be5307a9c0380e967d7d00311d49f7dbfec534b12828ac7ede9daa7f2d3b4907853bf2a35817e05c47282047ce66bbf3b53945fb676a79c4751a5790f8d6d399c69bb24c6d29c5aa15ab513ff55c3847a05e7f08dacb3af0d068362dd9aed6692e33ccb3c505f89325ed13dbba256bd008d8497e1ceed68801f72c0fe3567d4e30b414403f9321f3d6c041d4e01e2712ba570bc0e6423d283c72d09796146ba26e3429427dd5a824feb3fe4b343f8fe336c0f3d509e51feed6e8ac1fa9a47ccebbcc341d0de3a523c187d0fdac5880cae0335c088841225e78998a76b8a5c683d239fff09e953", 0xfc}, {&(0x7f0000000a40)="7a0cb02f13e05ba88eb88921944f6cfdbe3b5f1040f22dc9c6edba259418da844520b45f3e7a5aac30e80f4c3ee45f6492a66d5677c903dd9a2de157e382be723ac01a774ec2c1be9c03926f2454c81ed8ab8d3182de43320c7f57eb436374ce6c86589caec108413b9f56d8208d012dcf9609451826625495000d30a6d6bec450eaee534fc2d0aa404cc06e3950e3f64c7bb48b26673e00f2ef989b58f94e245d837382e71114f800b402749c29ebdd82a827c93c964ca3e34b965d12b0631614d7b15d797b8b2194c5c6ca6a76cfb2d6df1bf329fbe378d146f1e1711c801e", 0xe0}, {&(0x7f00000004c0)="18b28bea803a4768f8e4744912dbaca5f1284f9105365bbbd8efbcd2c01395e6cc3e28533e745d462f02764906343f8f2b7744a5e9411ce308bba951293d8363f5cb74a98a567f3735144ecfe99977bb769401b13b07c5e24b494fa79bb7a04be7f4b4778d043b1bf4ececc7fe1e79b12a23ce12055fbca5", 0x78}, {&(0x7f0000000540)="15c4ecfa562eba9c7b46c7ab6e42cb5903d3c251562fbafaa639bbd7a2d7c18864d130e16ba9c3d812b6a0a78297f793bf986c43bea2e3c71690d576cd3e74fec366fac861204b61bad25fa6664037a04af39e6c11e1bb837acf1cc7869ece3e83a1f081feeb4eb69c349470f84a0c20b6e679f2719fc40b5fc8edd01525549cd5a0f0918171b02a89670fb214de4af23cf2de4009dfec96972cc53d409a1822e04d3029ae886254f401c144c0dfab728300ca8df72c87650b95d39c3aa0b1516288eae783872aabb1b52692ba3507a817dceb371eaac2b7306dcc275e718750664df9733c43834304e6fc8f49f57030d83f43232ba74f31", 0xf8}, {&(0x7f0000000640)="0e256f107acc420bcea9c50a7f76a0bde9dd39831cf6d4004b0b9621e866413382d1035aa5de49f376b195a914a6d621ca24e1bb20ecf7779e37e272c6b5ade381ff6619b605fa5887bb0c65a585b29368e6f2933c1c9b1188fae3fe8e94c751b792aaa4ac6eb679f709c0a2c4c4b66e739fa62cd06b5337fac71611b10a3134a1a19e20cbe507d16745c062", 0x8c}, {&(0x7f0000000700)="15ad3f4f763892211ca51da7d9ee2a7b57a84e6dd79817997651c3f0f0018e97e0c8b2dcc303ff62f657f3ea1faff7d84d58a1d28f0e8997d77ceb70a813869f5b9966a4178103386805daac830d2383fc17742c5187c659b06350d036ad386bb4342043e5d16242f99f65659314483b42b86838b243f1ecd529ef69cfa3704c74d33d27e5598000829afa200ab069b8bda1f199e2d54533586441d70bca73bd", 0xa0}, {&(0x7f00000007c0)="e5512a8f77c0aeed45965b50ad9c04166d3062bca497c2862b97ea53bae8ff76eb52e1b423730ab1dfda77aae56f399b96eba901089668b6b58079d55c72c0f95d03a77f3108cf26c3ba49fd7f8e114a602f91a19c34a2a38aef2467abd9b7389832e064514b9009298778258c17e3ebb44d3a9f8dea7ec5690994c08a21bee9850d218cb60688337f746bd1ab5e6667801b47a4f0e4f44242a0bce48c4946a2aef246f5028a481caf7b08db737071bfbb41ed21f4cae9", 0xb7}, {&(0x7f0000000880)="0c75323610f5be1f8d7aa59aba423c67ced9fea9f5ce3865c51f926ca727c8ba8816097f029713ab3543bc79cc5676ceda3943e8af74ef7847e26be8052224cbbb668f4a77d7f941fab1316a760f038f3b373fe51fdc3f35b77788ebfdf270889b414c3de6f9879e09a200c7c26ad65d6f02e0c80e6e86661f23c0f21dcfbc5e511868ce4d721eb2e17e0253a2fed79de7bb08de43c35403e2f072a7b965d0d8611f1f4ab2f205811b88193a6c851651a4d24b2cd91d524e38dabcd9069d6fce0d2ab9f4fdd67ff16ad5b015e461c3f89d5b1241b368", 0xab}], 0x8, &(0x7f0000000b40)=ANY=[@ANYBLOB="3800000000000000ffff000008000000050000009751869adceaab0b54f3abee192deae4c37ad74dc76acf087e4412a9f100000000364a19064820836fdb79dccd000000"], 0x38}, 0x0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "b04d00f3ff0a631a00"}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) write(0xffffffffffffff9c, &(0x7f0000000200)="903a111d193201e7c74471669da351600b1d8184cad3da8bfed4912694cda65e2add79401a0e59297fffa32bf2539f19a225e13ad528b5e662825f7df9abd5c06c8217c6407b3ba92628b3dbdc0453fd929f3452f30579ffb14269ca7ea087b67f9fd159412b198647d7b85c28851fbf6657057466b7ba93e91be3f3b64083cefd997e03", 0x84) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setsockopt(r1, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) setsockopt$inet_opts(r1, 0x0, 0x1, &(0x7f00000003c0)="0b7ccf279ccc32175beef5139b2ebfcd9ba79771efd50af1963a4e980e66c808ff684e5f915dcfeff07c6cf57615692153b0b9e0a03559d12824e35cfd158cd38bea5ef3af8436326a0e312c0b304d9b21063c653433796b81d7493d613f20c892ebcae4c55d56d14340f698d4821b07ddfb6d4b69eb586efb0b0a58a34d4587fa17d385423d6ca09337e344ef4f93c5810eface53ad989e1874acefc33cda4bf409c36c1457fa668e98754f2631af41b593dec9fd27d30bb4ec161cb94430b16697ee5f723502b34e4e4547cee9194b6b0ecf5b31647aa868350ef9be7e1940944a88b5299617e26770856f6aae28cf65ef5abd5f", 0xf5) sendto$inet(r0, 0x0, 0x0, 0x0, 0x0, 0x0) 00:51:01 executing program 1: syz_extract_tcp_res(&(0x7f0000000000), 0x4, 0x7ff) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x2ff, 0x0, "003700200b0f000005000000ac39000500"}) r0 = socket(0x18, 0xc002, 0x0) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) getsockname$inet(r0, &(0x7f00000000c0), &(0x7f0000000040)=0xc) r1 = socket(0x18, 0xc002, 0x0) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) ioctl$BIOCPROMISC(r2, 0x20004269) geteuid() connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) r4 = openat$zero(0xffffffffffffff9c, &(0x7f0000000240)='/dev/zero\x00', 0x80, 0x0) r5 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) r6 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r6, 0x0, 0x6, 0x0, 0x0) r7 = fcntl$dupfd(r6, 0x0, 0xffffffffffffff9c) kevent(r2, &(0x7f0000000140)=[{{}, 0xfffffffffffffffc, 0x21, 0xfffff, 0x5, 0x5}, {{}, 0xfffffffffffffffd, 0x80, 0x2, 0x2, 0x1}, {{}, 0xfffffffffffffffb, 0xd, 0x80000000, 0x6, 0x2}, {{}, 0xfffffffffffffff9, 0x0, 0x8, 0x0, 0x9}, {{r1}, 0xffffffffffffffff, 0x24, 0x40000000, 0xf06}, {{}, 0xfffffffffffffffd, 0x1, 0x1, 0x6, 0x2c8}, {{r0}, 0xfffffffffffffffa, 0x0, 0x1, 0xf4, 0x5}], 0x9, &(0x7f0000000280)=[{{r0}, 0xffffffffffffffff, 0x50, 0x4, 0xfffffffffffffffb, 0x6}, {{r3}, 0xfffffffffffffffa, 0x40, 0x20, 0x5, 0x4}, {{r4}, 0xfffffffffffffffe, 0x2, 0x2, 0x1, 0x6}, {{r2}, 0xfffffffffffffffa, 0x1b, 0x1, 0x5f2, 0xfffffffffffffff7}, {{r5}, 0xfffffffffffffff8, 0x10, 0x10, 0x1ff, 0x10000}, {{r7}, 0xffffffffffffffff, 0x10, 0x1, 0x800, 0x6}, {{r2}, 0xfffffffffffffffc, 0x21, 0x20, 0x5, 0x906}], 0x8, &(0x7f0000000380)={0x3000, 0x1f}) 00:51:02 executing program 1: readv(0xffffffffffffffff, 0xfffffffffffffffe, 0x3a0) r0 = msgget$private(0x0, 0x2000000186) msgrcv(r0, &(0x7f0000000380)=ANY=[@ANYBLOB="00000005427093f63f000000"], 0x1, 0x1, 0x1000) r1 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r1, 0x0, 0x2001000000009, &(0x7f0000000000)="3c380652", 0x4) setsockopt$inet_opts(r1, 0x0, 0x200000000000d, 0x0, 0x0) getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r3, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000200)='/dev/wsmouse\x00', 0x1, 0x0) msgctl$IPC_SET(r0, 0x1, &(0x7f00000003c0)={{0x600, r2, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r4, 0x0, 0x9, 0x8, 0x9, 0x1}) msgsnd(r0, &(0x7f0000000040)={0x2, "ed20194cac22b32473ac85d04589266ef409f3e78b2da1c9e14cfb3536a64c34f91de09ea71e9adb75f9bfbe8b7146da34da1eb246e8b414cdcf"}, 0x42, 0x0) msgsnd(r0, &(0x7f0000000140)={0x0, "7cd27491927affd856ac32a526a61ac67ff7cc2442d0eea6327a1612dff41f4377ce36fd397c44319b038471753d2e7c8295946695b777fbb7948ab1db1db895dc6b71702c57fb610f442a44e752ef266407a977a33ec4a41eeb77bf932f2b657e5f3f1d2ebb087aaa5f698159c84647aeedd77a0cffb5441774e8c0d5bbbfa806ac9374bf049939f719853e7f4cb3f407c311db92c7f4b79cd38eeb00d05611bdc8b6"}, 0xab, 0x0) r5 = socket$inet(0x2, 0x2, 0x0) r6 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r6, 0x0, 0x6, 0x0, 0x0) r7 = dup(r6) ioctl$WSKBDIO_GETMODE(r7, 0x40045714, &(0x7f0000000240)) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) readv(r5, &(0x7f0000000100)=[{&(0x7f0000000000)=""/18, 0x12}, {&(0x7f0000000040)=""/150, 0x96}], 0x2) 00:51:02 executing program 1: r0 = open(&(0x7f00000002c0)='./file0\x00', 0x611, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) mmap(&(0x7f0000ffd000/0x3000)=nil, 0x3000, 0x3, 0x2010, r1, 0x0, 0x948) mmap(&(0x7f0000000000/0x10000)=nil, 0x10000, 0x0, 0x10, r0, 0x0, 0x0) setitimer(0x0, &(0x7f0000000100), 0x0) 00:51:03 executing program 0: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="3f02e18b7f000001"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = kqueue() r1 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) close(r1) r2 = socket(0x2, 0x2, 0x0) bind(r2, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r3 = socket(0x2, 0x2, 0x0) r4 = dup2(r2, r3) connect$unix(r3, &(0x7f0000000000)=ANY=[@ANYBLOB], 0x10) sendto$unix(r1, 0x0, 0x0, 0x0, 0x0, 0x0) setsockopt$sock_int(r1, 0xffff, 0x1023, &(0x7f0000000080), 0x4) sendmsg$unix(r1, &(0x7f0000000440)={0x0, 0x0, 0x0}, 0x0) pipe2(&(0x7f0000000040)={0xffffffffffffffff}, 0x10000) mmap(&(0x7f00006db000/0x4000)=nil, 0x4000, 0x1, 0x12, r5, 0x0, 0x3) setsockopt$sock_int(r4, 0xffff, 0x1023, &(0x7f00000000c0), 0x4) 00:51:03 executing program 1: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="6202e5fe7f000001"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x2, 0x1, 0x1) bind(r0, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) r2 = dup(r1) listen(r2, 0x0) r3 = socket(0x2, 0x1, 0x0) connect$unix(r3, &(0x7f0000000000)=@file={0x0, './file0\x00'}, 0x10) shutdown(r3, 0x2) shutdown(r3, 0x2) 00:51:03 executing program 1: r0 = socket(0x1, 0x5, 0x0) r1 = kqueue() r2 = kqueue() kevent(r2, &(0x7f0000000100), 0x6, 0x0, 0x40000009d1, &(0x7f0000000140)={0x3, 0x7ffffffe}) r3 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r3, 0x40087468, &(0x7f0000000100)) ioctl$WSKBDIO_SETMODE(r3, 0x80045713, &(0x7f00000000c0)=0x1) kevent(r1, &(0x7f00000000c0), 0x6, 0x0, 0x6, 0x0) shutdown(r0, 0x1) r4 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r4, 0x0, 0x6, 0x0, 0x0) getpeername(r4, &(0x7f0000000000)=@un=@file={0x0, ""/108}, &(0x7f0000000080)=0x6e) 00:51:03 executing program 0: socket(0x11, 0x3, 0x0) r0 = socket(0x6, 0x8000, 0x8) setsockopt(r0, 0x20000000000011, 0x3, &(0x7f0000000000)="04000000", 0x4) setsockopt(r0, 0x20000000000011, 0x800000000001, &(0x7f0000000000)="186fe65c", 0x4) r1 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r1, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) sendto$unix(r1, &(0x7f0000000240)="b100050400000000000008000101000000000000cea1fea7fef96ecfc73fd3357ae26caa0416fa4f37df5f882b297be1aa5b23ed00f4c8b2ca132e27acbdd602000d7d026ba8af63ff37282902e4fd89720fd3872babfbb770c1f5a872c881ff7cc53c8943310b4000000080000000001bc43eaea8c50000000200fb00000000020208a371a3f8000400000000000000010000000000000000000000d978e4cdf07e1fafc2f250a992b67a8458fdd4d2001623eac17d30d7dfa1c42509ec7bbeddcb6393bda155bb26480be80e03d6947044133e23f06c21353483ede34ce3f88d702ac364c37b236b1b7ce7d6102bda80ef148996a3345be7c8e203ed5ae5cde6b6d3323393091190078a9b0022240305ed7705db0ec0b27e7d3757ed64ff6f2374312807abf5d892abb189ed83e748491275121d9a8790a0c82e3a4fb74d25d4b276ecb2476f6cbf8328c7089ee7d99b47316c98217a0e472432b8c90f3885705ab9463307b5b33fd875ae6103c83a8cf20cf91464312c2675f0b37f9555796d5640456e56b18599138d50abc99eec17490f5df719de307c519988971a2f06e76e9dde69454c02f0d4d2c2041a4d6e8f8ef74103a6508f49930f21992489b2c97d99263f3221f5f8ddf82bd24279fcdef405f50000000000000000000000756088f9b83e9a2543e3f3b94f01beb12ea1df73fde97586a60a7ac8504b75721daf9303f0ea1ecb3753676381bbcd2d04d261ff5f228c9b5bf4c93ec24fa93d1b397f32f282f72f61a48a75e9fd66894654b5b06f4378736f3ee0c2e2188b01df20cc0a577c", 0x245, 0x0, 0x0, 0x0) 00:51:03 executing program 1: execve(0x0, &(0x7f0000000180)=[&(0x7f0000000100)=',.\x00'], 0x0) r0 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r0, 0x0, 0x6, 0x0, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000500)={0xffffffffffffffff}) sendmsg$unix(r2, &(0x7f0000000480)={&(0x7f0000000040)=@file={0x1, './file0\x00'}, 0xa, &(0x7f0000000400)=[{&(0x7f00000001c0)="64eaebd153696654c64de5f460522636263a6eb0545a85bae5c8ab4bcc08938afdad92251d187ba45cc27fe37239b8d5483d545ef8dfc826bc95e41de82f0cdaeaf4d0e45e2f45d5946bfa2719760ef1e55496f84f64c112a2b5402f9856eeb794d7fce1729667bef54ce789fd45c5c6ed4d255b4d50a5f40ede8fdba1380c97ee0e765820ec68e2ff07ab9bfb34fb53d4445c3e8092c2a49db9d92042ef5a139cc064f7497ca6bc79c1d4bb18b48cd50dd29cff13f6b92f1d5aef75adbc475a38f35f4d8ab25099066e1c006dac6598043d6e3b0cc539f4d470ba070d937fe9df27420eff765a1bde98bff71485fd78fafa7d798ca4fc21", 0xf8}, {&(0x7f0000000080)="0f55e23bc5f3226883c67ef373b9c502a03e581bef3a0dce16dd0c8815424ee7faa9952663998fd69ef5a6c619fe0b7b8c07bf123eedce112d6939ae7a9e42fc9720f8c74d9677dc9bc72c19902eeea20c1288767a2266ad8e719f6f2d2e99c940d3f47a26b2ce7db0b288fdde4a09477ed4", 0x72}, {&(0x7f00000002c0)="2ef2781ec17a48f08cb42096dec44e143f1693895184a5becb65c9305bcce6612eea1d29f9826391f25b7913438ad7615e4d0b01c3fa6407eb2008d91a56be09fc0ce75ac26b423b7db3cd373abebe8f037f7603b95a03053483932ba404241cf65c9b76fdb0826c0d159e1bc8473a63d3f09a8f4d95dfe0b5f76785df084df42f4435544e8635ca7e5a9d92917d71f43a399dbee95b75b3a832e3f3c9b27462133de468", 0xa4}, {&(0x7f0000000140)="5884f817f953e67fc9e3c1c5e6605a7e837c73f74bfa7c61461793bf9c716a", 0x1f}, {&(0x7f0000000380)="0ab8de643c80fcdc6901b99b5a841a3d1647b885aa47efe3c75caa5d60143b3e0ca192fdf381db650d3701f8d8f4357b138d2993fa2aa160217fd20a3842e3a7f654138667161c52c11895", 0x4b}], 0x5, 0x0, 0x0, 0x406}, 0xb) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) writev(r0, &(0x7f00000004c0)=[{&(0x7f0000000180)='x', 0x1}], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) unveil(&(0x7f0000000100)='./file0\x00', &(0x7f0000000180)='r\x00') 00:51:03 executing program 0: pipe(&(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) close(r2) ioctl$FIONBIO(r0, 0x8004667e, &(0x7f0000000100)=0x40) read(r1, &(0x7f0000000080)=""/123, 0x7b) write(r0, &(0x7f0000000040)="1a", 0xfffffddf) 00:51:03 executing program 1: r0 = open(&(0x7f0000000480)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x0, 0x7) pread(r0, 0x0, 0x2c6, 0x0, 0xeffffffffffffff8) 00:51:03 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x8}) r0 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r0, 0x40087468, &(0x7f0000000100)) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000000)={0xa607, 0x8, 0x2c, 0x10000, "14acc60f77f7fdf9f4a638bc5d94a850e0b6c380", 0x0, 0x85f6}) r1 = syz_open_pts() close(r1) r2 = syz_open_pts() ioctl$TIOCSETAF(r2, 0x802c7416, &(0x7f00000000c0)={0x0, 0x0, 0xfffffffffffffffc, 0xfffffffffffffffc, "ffffff7fffffffff186503182eab7fff0e091fe6"}) writev(r1, &(0x7f0000000380)=[{&(0x7f0000000900)="926fb7e275351ff0550ca5fa9b4470e7e04867e5619ebeaf0a", 0x19}], 0x1) readv(r2, &(0x7f0000000080)=[{&(0x7f00000004c0)=""/104, 0x68}, {&(0x7f0000000140)=""/254, 0xfe}, {&(0x7f0000000240)=""/112, 0x70}], 0x3) 00:51:03 executing program 1: r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x1, 0x80) sendto$unix(0xffffffffffffffff, &(0x7f0000000080)="b100050400000000000008000101000000000000cea1fea7fe096fcfc73fd3357ae26caa04160c4fea63369bfea37a000000004991f7c8df5f882b297be1aa5b2fe9", 0x42, 0x407, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r1 = openat(0xffffffffffffffff, &(0x7f0000000000)='./file0\x00', 0x0, 0xc8) sendto$unix(r1, &(0x7f0000000180)="1b75a1d795026a205378fc77f51b5b31efbe79687e94f0", 0x17, 0x1, &(0x7f00000001c0)=@abs={0x0, 0x0, 0x3}, 0x8) unveil(&(0x7f00000000c0)='./file0\x00', &(0x7f0000000140)='c\x00') r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) fcntl$dupfd(r0, 0xa, r2) rmdir(&(0x7f0000000100)='./file0\x00') 00:51:03 executing program 0: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f00000000c0)={0x0, 0x0, 0x90d6, 0x0, "d700060000000000005b00000000000000e74de4"}) write(r0, &(0x7f0000000180)="582720efabd16ebae63225259560f8e5815f73f2a044fd33055552fbd7e41789632dfc94ff334a5619515a4c8ab06198824b3da025bbd47b3bf579456fc7d4096e8c8b6b87cb2d72b8bcdb9ad8a4f5f728193ef16ab93f12fc4d5f16b136a5d00d1628b53a", 0x65) write(r0, &(0x7f0000000040), 0xfffffec2) execve(0x0, 0x0, 0x0) r1 = syz_open_pts() close(r0) r2 = dup(r1) ioctl$TIOCSTSTAMP(r2, 0x8008745a, &(0x7f0000000000)={0x40e, 0x1}) socket$unix(0x1, 0x5, 0x0) open$dir(&(0x7f0000000340)='./file0\x00', 0x400000002c5, 0x0) syz_open_pts() 00:51:03 executing program 1: r0 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r0, 0x40087468, &(0x7f0000000100)) ioctl$VT_SETMODE(r0, 0x80087602, &(0x7f0000000040)={0x0, 0x2, 0x40, 0x290b}) syz_emit_ethernet(0x1, &(0x7f0000000000)=ANY=[@ANYBLOB="aaaa86dd60451a0208000000000000000000e2ff0000aa330000000000007600000000000000000000000000000004000000"]) syz_emit_ethernet(0x1, &(0x7f0000000000)=ANY=[@ANYBLOB="ffffffe5ffffaaaaaaaaaa0486dd60a4f008080300000080000000fffa0000000000000000aaff020000000000000000000000000001"]) syz_emit_ethernet(0x400e, &(0x7f0000000000)="c7a895006f53dd000005ffff86dd") 00:51:03 executing program 1: r0 = socket(0x18, 0x8002, 0x0) r1 = socket$inet6(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0x2e, 0x0, 0x0) r2 = dup2(r1, r1) dup2(r0, r2) sendmsg$unix(r2, &(0x7f00000003c0)={&(0x7f0000000040)=@file={0x0, './file1\x00'}, 0x2, &(0x7f00000001c0)=[{&(0x7f0000000080)="290ece069ad17f8e8df6e6690d73f3490d6aad57bb51464d31129aee61423f14f4149999db2f2278ba446bc33de4c0dbfbe95486ef3447211fc07f4ac6d7ccfb9f6d624ac5b328f84cd2bf5f73952d875ffd8d21de7b70925f80788f426543020f99222e77688cceb2f880227ff4e9dfef3c777b0f4d17c949e8cefaf664af86fa5aeb96044060b7", 0x88}, {&(0x7f0000000140)="0d6c39cf053d7083601c6b129eef3eb62f85b0df317d6eb8863a0c7c5eec8507a9afee8bc163718ce38205641dc1ff52a509f1c73fe718ca8cbee8218bae3cc1cf3fe55fda52afdd5535821e0b72724248336746349a30d3e136c8d898361d4ed21cec4ecd74e84d2cd0ade899a0", 0x6e}], 0x2, &(0x7f0000000200)=ANY=[@ANYBLOB="43030000000073ffffffff8aece1698c58ebde6b248de4118b55761e00", @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="000000001800000000000000ffff000001000000", @ANYRES32, @ANYRES32, @ANYBLOB="2800000000000000ffff0000010000002800000000000000ffff000001000000", @ANYRES32, @ANYRES32, @ANYRES32, @ANYRES32, @ANYRES32, @ANYBLOB='\x00\x00\x00\x00'], 0x343}, 0x0) 00:51:03 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() close(r0) syz_open_pts() getegid() r1 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r1, 0x40087468, &(0x7f0000000100)) ioctl$TIOCSETAF(r1, 0x802c7416, &(0x7f0000000080)={0xfffff001, 0x7fffffff, 0x3, 0xfffffffffffffffa, "661fbef2245185a8186503182eab7fff0e091fe6"}) write(r0, &(0x7f0000000140)="2078f7b678807d89e032dc19f570fe00bac871767dbcbbff8330c22685419d5e0110188e90cd9c8e50599ba24cd7c19fe1397a431644e5976fe4bce3b20b21c3f3719d1d5de4b7586a0669cedb7237b428821c1db394acba77de083c965124aeacbcf09bd3c719ed25314dc21617d89aa9c6ffc4137067f33d5ed8d898537ed95d34e48374ae5f307c5375eaba46d8f816057b2c10d48644a54f695db32649dae31f197d94f0fbdb1796778ce098cc07acba65bddc0e2ce8b65297f80863914cb3909b299d190a11b262d4ce7f631258b396d1b74b28f6e7194f223b0a21fdd2dff2b3a19387834c9dd41e8002bd7b95f6b519d6b2c4936d7d6c409d65b0a57d8a7ae480ef96ec7b2dd3eb4ec15f57a2790f4894758152c5ffdd2bf50bbf6665e0c89ac9bb0f6d1516df31a41d428fb47f883f402fd761aa7a11e51e79bfadc4a9bcdfcca25bec457bc8aa9c294143f20a8c21b68f29a4cd5e382bbd0d123628a27507186668786713739e3b776412f39bc65485c6fba3b14d481ea264ab3149bbc0159b4fc5dc231c13cd7210d518967a7694ae21344da19ece7aabab738eb77103fe03f5ad252de156397d55121ca771b5a723607830d91de50565b80c196c0713fad218064014bd4d05087bc549b40bfa2e6930bc52f2be77a99709d1524e9389638c0cc1b3e32c177d2c0f362294e62d3eb7ad5de657c1111ec8f764b9853a2a26fc485f31b638593f29d6efa1eae9a2bdf02526805444c89b8f690afe99a287e913d7b804c51a4311b9425e0c77a4b78ec279d7a257e02a8d97a4516ce2feb3591d90b7357c829a792939200197f51dcc023a41e01cd8f187ba9f0d67646b01439a370db384ff3a51212e0c13f0f014ec85d42267fc98d699247d15c21403b454e453628af30be8eb6a7a254b138236032cdf355c4c07d9f77f7e32990b081893f292d98cb7a8089d551ee227b63a8d20b298a1689d0cea93d0ce79c1c86361507beb7966560a6ba81b7c90a7c23207d80e437ff97d7396269d5cf99fa7e8f07ea31890eccf46346164dde1ca69530fb673619306593296743052591006b4ffaad2a7a939fded389efe60c36c653fa0e7020a7447e809cf52478d673b547a85cb5a0a2f3832b619961bf37b63b230733e353bcea01e153d7e1bda3f30ec6a57582149fc233f2bffab90551fe7639817890ce12425b2e9c337dfd9de9d8b12d99dbc9826bd0defc4404919f7afe173b395b91b8ad2b2622b2f5de09471f3b98bdea79541387edcc97bb6660cc9429d43f483bcb40c0405f007652a27e9f4cf6102a588cb7ad814b17620c0c124a3982acf231c37a6eaf0d4c5aa68550aca2b41a5861b10097b11aa260b34e16d5d8fb7e716768e2bb39e290d0cc7aed9628348a228d320a216904108367374901a1d7d9ea0d765328b9dc0e00dd76b993b6c5213ac2187c1e7b06c13c9436f0082bb5c230b4bd78257e2f29e560b7a2f74793a72ff094a8905350ed8ce0dd71c474fa9effc175c22f7aa60b09fed45c9f73c94004bf7efb1cc3692698e52fcd41619a90f067f2f53e45149c7a2f50ea4218dbe14d26b13db5d0c28ed0dce7bc9872dcfc9c3e2187a01d58a54a954189151685dc76c71204fedf573e471bbed0c16aa474d577f379819a86a601f08d2eec7f5f660853bf1318e9e7e1940852cbfde119b633ce768e753c99c6c162d28268fa4dcc40731cfbca62541f5f3b67c45fbde17c779a9820da152aacfa320f7f57011e39c3a790082379b8a93873112c15b988775825d306caaf088c087690c809832b16f3179641dda933b16fff0fe22d3c88c05ab4d8a24", 0x517) mprotect(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0x0) writev(r0, &(0x7f00000000c0)=[{&(0x7f00000009c0)="dc819451d3e81fba7ef9aa1fa09e950169946d73cef042c042c5f77e617f98c83f50bb068cf28464ca91edc393239f6eb505503f15a3ccb6abeef7099780cb02ecf687a3dcc248b2d2b0cc56cf6a7c3e6799f4960000420b4335fbc00efb73bd38fdb385013f973b51848ee7e42af5eccc5bfd03c10fe08133b3ce12c6eb278295d7dd5344f27bfdb28b90209f999926a5238cf592498a29fd68c901faaa75f550391377cca79f97ffdb5b7ea0e3ac1a9a7eaf9c73d25735db491fe4bc171525789af2ad73dbc0e62cf9840b2a500ea2f43e0c378a6d396f561c79036c6318706b7d59b38c134ca63c99c6d12c042a0f2a2fb159aac7f3a7bcbe21cc7f61ed24a736f1d445b2254d1d55426acce1119dbfd34428787b18b7caefc6eb4a4ef99a5d1bf1326ef69fd0910df76bff79b7af15a0eb3b1741dfefa2c4539cbac34458399b1ecb71edb0ede28c9bea473107b82ceba78f8dd95aee79d5bfef08d48a88e25000fef2c938b135925cf03f9bdb4c45706d63dfb621d448458364e3e24007e257f0870a5eedc54f8321252bd7733be32be6e8c5d4736692129298bd2401493c723d56496ebcef63b3b10b03", 0x1ad}], 0x1) getrusage(0x0, &(0x7f0000000680)) 00:51:03 executing program 1: ioctl$KDGKBMODE(0xffffffffffffff9c, 0x40044b06) ktrace(0x0, 0x5, 0xfcfc96ac7f7865ba, 0xffffffffffffffff) utimes(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)={{0x100, 0x15}, {0xffff, 0x5}}) 00:51:03 executing program 0: r0 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r0, 0x40087468, &(0x7f0000000100)) ioctl$WSMOUSEIO_GCALIBCOORDS(r0, 0x41205725, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10}) sendto$unix(0xffffffffffffffff, &(0x7f0000000000)="b1000504000000000000080000010000000000b4cea1fea7fef96ecfc73fc3357ae26caa0416fa4f376336acf00b788b00000000000000df5f882b297be1aa5b", 0x40, 0x0, 0x0, 0x0) mmap(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1, 0x2010, 0xffffffffffffff9c, 0x0, 0x0) syz_emit_ethernet(0x1, &(0x7f0000000000)=ANY=[@ANYBLOB="060000103c000000200000000000001e00d5000000a9ff2100000000000000000000000000012c00050401b6f7033300"/63]) syz_emit_ethernet(0x400e, &(0x7f0000000000)="c7a895006f53dd000005ffff86dd") 00:51:03 executing program 1: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) r0 = socket(0x18, 0x2, 0x0) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) getsockname$unix(r0, &(0x7f0000000040)=ANY=[@ANYBLOB="000000000000000000000000cb9d37ed869002abfa412261f01bb6e100"/81], &(0x7f0000000100)=0x51) r1 = socket$inet6(0x18, 0x2, 0x0) openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x100, 0x0) pipe2(&(0x7f0000000140)={0xffffffffffffffff}, 0x10000) ioctl$WSKBDIO_SETMODE(r2, 0x80045713, &(0x7f0000000180)=0x1) sendmsg$unix(r1, &(0x7f00000001c0)={&(0x7f0000000040)=@abs={0x1800, 0x0, 0x0}, 0x1c, 0x0}, 0x0) 00:51:03 executing program 0: mkdir(&(0x7f00000001c0)='./file0\x00', 0xffffffffffffffff) unveil(&(0x7f00000000c0)='./file0\x00', &(0x7f0000000100)='x\x00') r0 = semget$private(0x0, 0x4, 0x1b2) semctl$GETNCNT(r0, 0x4, 0x3, &(0x7f0000000580)=""/170) semctl$SETVAL(r0, 0x0, 0x8, &(0x7f0000000240)=0x72) r1 = msgget$private(0x0, 0x2d2) msgctl$IPC_STAT(r1, 0x2, &(0x7f0000000280)=""/191) semctl$GETVAL(r0, 0x4, 0x5, &(0x7f0000000800)=""/210) semop(r0, &(0x7f0000000400)=[{0x3, 0x101, 0x1000}, {0x0, 0x4, 0x1000}], 0x2) r2 = getgid() getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) semctl$IPC_SET(r0, 0x0, 0x1, &(0x7f0000000080)={{0x5, 0xffffffffffffffff, r2, r3, r2, 0x10, 0x9}, 0x8, 0x1, 0x800000000009}) setregid(r2, 0xffffffffffffffff) open(&(0x7f0000000040)='./file0/file0\x00', 0x200, 0x0) 00:51:03 executing program 1: setrlimit(0x7, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() close(r0) r1 = syz_open_pts() ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000000)={0xfffffffffffffffd, 0x0, 0x3ff, 0x107fffffff, "73ffff4d4d7ee400000100000000000000000010"}) writev(r0, &(0x7f00000001c0), 0x0) 00:51:03 executing program 0: r0 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r0, 0x40087468, &(0x7f0000000100)) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f00000000c0)={0x1, &(0x7f0000000000)=[{0x0, 0x1f, 0x48, 0x6}]}) rename(&(0x7f0000000040)='.\x00', &(0x7f0000000080)='./bus\x00') 00:51:03 executing program 1: socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}) socketpair(0x20, 0x4000, 0x8, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) bind$inet(r1, &(0x7f0000000040)={0x2, 0x2}, 0xc) bind(r0, &(0x7f0000000180)=ANY=[@ANYBLOB="2d01abde48fa844f52002152b2a615661f77fb2f13db77f3937e9a1d7093c7beae7aa614b07f2da534c9aeb12a85d79e15b166b0d2148f10890163f3466a6d7cc2fd762ce316ec1e2c9a3039ee5f59aab6cc6ddc85716ae64c965febc798e8507c87be44bd89f59a12e046554f3185cb73d5a1d4863894a576cfb579831ad6db46547189957ed9274980f3dc57947a140b0eac4fb307fd35513ab52672947919ecb2cc9ec1339acb73dd0609d97c6750ec22e796c12ff826e18dd8e639ddaf5858a98d97b38379218df22281ac"], 0x3) 00:51:03 executing program 1: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="6b02731c7f000001"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x2, 0x1, 0x0) bind(r0, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r1 = dup(r0) listen(r1, 0x0) r2 = kqueue() getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r3, 0x0, 0x9, 0x8, 0x9, 0x1}) msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000180)={{0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x7ff}, 0x40, 0xac9, 0x0, r3, 0x6, 0xc9, 0x3, 0x4}) setsockopt$sock_int(r0, 0xffff, 0x1001, &(0x7f00000000c0), 0x4) r4 = fcntl$dupfd(r2, 0x2, 0xffffffffffffffff) sendto$inet(0xffffffffffffff9c, &(0x7f0000000040)="3f00f5691b31d88d25010263c6d5", 0xe, 0x408, &(0x7f0000000100)={0x2, 0x0}, 0xc) close(r4) r5 = socket(0x2, 0x1, 0x0) connect$unix(r5, &(0x7f0000000000)=ANY=[@ANYBLOB="0000ef4de294e08421e6"], 0x10) recvfrom(r4, &(0x7f0000000300)=""/180, 0xb4, 0x0, 0x0, 0x0) r6 = accept$inet(r0, 0x0, 0x0) sendto$inet(r6, &(0x7f0000000940)="1daad5cd36195d6810b318271ef9a4e226c2d78a5413faf736de6e7b07d1d62e84affdc376a493673d4195232fedc101a1d8ad376f5c1dba9d565c875025f067ef069c8b78d70a06bb9b172a2d7c03eff6b58b06bbacff74db5471704990b5bc7c583f053ce0dab8e1d855c002e5c0f21090e2672493cfcf71096ded57b5350b28f1e7ddaa45ba14ff355c5280064a77fcf0cc7510946d503350ec4e8277e807e52985f11324bb0c5d72b0f9c6e2b27671de172e8a5307791b203a90fb79bfc05002e542e32b5b78e75e1f7d9deeb76cf17582198b5056bcdc5d0d8ace2bc699a0db1e138a000000b92c28d329fb8635224fd0e41eb6d9e3de4c0122bef8eb0acc9fbb9fa70dfd265fa833f7f7788b351b9a0abf03d9e21a38de65ed7352c75d1071194a948a28b75775ade8db55259b6cf70e825b9e7675cc696e9657d9ba4ae249fbfd5ebe2c9499b26fc3462aeff27e94fe6994ffe7086d8f0c631b96880096d82665ddc95c8ed5e187c85fc07bee3f65d4b91d59436540aac4eff6f5cea6e4233587318755e8797de2e8521227ec1e7a11d2d5ab7cdae30ef53c508981eb15f187342a1bd1085698e3f5ae7cf69e79e10fc7d8f9f2fe3d1d4cf4dc054a98f9013b515452b742f911f5aa5258ea5504ec5fd23969dc552e1d6f13d86e3043a8ed35e413ea2a8c43d6c462463b88ea0a3fa87742efce671a2f79f5b66a844f9a016ba0a0eafb7f26c47f58f25808cbfc6902b0f0133039066c1b0e4b133ab19283a8447b9412faf99b67243a3fab7392f29b6d3cae0b4fc6e528f7662267692e44540bfc23ae65598b6b621eed2daac98c6f59ee7a08fca4bd017e4b6b9be821d9af3bc2fadf96cd15857a54d7e879fa9d61bf34654841f961a030f3c81f9c755a28b0ccb8fa9262c5d930c8f527d9bd5fd14ec06e29de61866bb4fb0e405b324db46fa449242b5ff6e3c66bbaa50d8736d7be3e9728bcebe3f703aa3d99b63d390759a13c2251c3ef8a3e03f42c132db4317736a807c778c6b5e72a12330acd4552f2315b02eb9ceacde4bec3b552378a1bd623c1af3f4ed230056a735d0c372b6bc122373bd05a3a8f", 0xfffffe60, 0x403, &(0x7f0000000140)={0x2, 0x3}, 0xc) setsockopt$sock_int(r4, 0xffff, 0x1023, &(0x7f0000000080), 0x4) 00:51:03 executing program 0: sendmsg$unix(0xffffffffffffffff, &(0x7f0000000300)={&(0x7f0000000080)=@abs={0x1, 0x0, 0x0}, 0x8, 0x0}, 0x0) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x1}}) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0xffffffffffffffff, 0x0, "00000000000000000000f2ffffffffffffff4000", 0xfffff757}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) ioctl$TIOCSETAF(0xffffffffffffffff, 0x802c7416, &(0x7f0000000140)={0xffffffffffffffff, 0x0, 0x0, 0x0, "010000000000000000ffffff7f00"}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x29, 0xc, &(0x7f0000000140)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r1 = socket(0x18, 0x1, 0x0) close(r1) r2 = socket(0x18, 0x4000, 0x2) close(r2) r3 = socket(0x18, 0x2, 0x0) r4 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r4, 0x0, 0x6, 0x0, 0x0) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000040), &(0x7f0000000100)=0xc) setsockopt(r3, 0x29, 0x3e, &(0x7f0000000080)='\x00\x00\x00\x00', 0x4) setsockopt(r2, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(0xffffffffffffffff, &(0x7f0000000180)=ANY=[@ANYBLOB="08971fac06aa2082c0ddbfd7f9f2a253899dece1e7393829a84a7c6cf65ceb8df6faab427d6cbfef23e6fd20d2cc1c32bb59e66d9565de495a5c833ab5ec982e765046bc2d939eb0508845b493816cc4dc9b5cb1555cd0a6ac91d209594b9dcc88d58a1623fcd60787537050264e66f598f409441c778c444472440927dd9af004cdea854429cf9a9d0021fc497ded04cb6a0c9493ee3e1400"/165], 0xa) write(r3, 0x0, 0x0) 00:51:03 executing program 0: r0 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r0, 0x0, 0x6, 0x0, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) syz_emit_ethernet(0x3, &(0x7f0000000080)=ANY=[@ANYRESOCT=r1, @ANYRESOCT=r0, @ANYRESOCT=r0]) 00:51:03 executing program 0: syz_emit_ethernet(0x1, &(0x7f0000000000)=ANY=[@ANYBLOB="ffffffff080000000000000086dd60a4060000100000000020000000000000000000000000aaff0200000000000000000000000000012c"]) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, r0, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r2, 0x0, 0x9, 0x8, 0x9, 0x1}) r3 = semget$private(0x0, 0x4, 0x1b2) semctl$GETNCNT(r3, 0x4, 0x3, &(0x7f0000000580)=""/170) semctl$SETVAL(r3, 0x0, 0x8, &(0x7f0000000240)=0x72) semctl$GETVAL(r3, 0x4, 0x5, &(0x7f0000000800)=""/210) semop(r3, &(0x7f0000000400)=[{0x3, 0x101, 0x1000}, {0x0, 0x4, 0x1000}], 0x2) r4 = getgid() getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) semctl$IPC_SET(r3, 0x0, 0x1, &(0x7f0000000080)={{0x5, 0xffffffffffffffff, r4, r5, r4, 0x10, 0x9}, 0x8, 0x1, 0x800000000009}) r6 = getpgrp() r7 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r7, 0x0, 0x6, 0x0, 0x0) r8 = fcntl$getown(r7, 0x5) msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000080)={{0x8, 0x0, 0x0, r0, r4, 0x1a0, 0x4c4}, 0x101, 0x4, r6, r8, 0x5, 0x0, 0x1, 0xdb}) rmdir(&(0x7f0000000040)='./file0\x00') syz_emit_ethernet(0x400e, &(0x7f0000000000)="c7a895006f53dd000005ffff86dd") 00:51:03 executing program 1: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x8}) r0 = syz_open_pts() close(r0) ioctl$TIOCSWINSZ(r0, 0x80087467, &(0x7f0000000000)={0x8001, 0x2, 0x100, 0x9}) r1 = syz_open_pts() ioctl$TIOCSETAF(r1, 0x802c7416, &(0x7f0000000080)={0x0, 0x3, 0x80000001, 0xfffffffffffffffa, "660400180e091fe6000002000000000800"}) r2 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r2, 0x0, 0x6, 0x0, 0x0) r3 = msgget$private(0x0, 0x2000000186) msgrcv(r3, &(0x7f0000000380)=ANY=[@ANYBLOB="0000628078e8704ca4d20000"], 0x1, 0x1, 0x1000) r4 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r4, 0x0, 0x2001000000009, &(0x7f0000000000)="3c380652", 0x4) setsockopt$inet_opts(r4, 0x0, 0x200000000000d, 0x0, 0x0) openat$klog(0xffffffffffffff9c, &(0x7f00000001c0)='/dev/klog\x00', 0x100, 0x0) getsockopt$SO_PEERCRED(r4, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r6, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(r3, 0x1, &(0x7f00000003c0)={{0x600, r5, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r7, 0x0, 0x9, 0x8, 0x9, 0x1}) fcntl$lock(r2, 0x7, &(0x7f00000000c0)={0x3, 0x1, 0x800, 0x100000000, r7}) writev(r0, &(0x7f00000006c0)=[{&(0x7f0000000c80)="aae3e6c3f01744124ce96464f9157c521949703cb9bb69323cf41195cd335e36e74866da987feeeeb097b241e19f3fa88644a1612230c806ad34071458f62751718c2d7318d6cd8bb32a75d8ef3ec8ca53550e50cd08c580866abcb4ceb0ed52cfd0b81201f04606d61424cc74d871a596a34dd2f37f2b7b251d38efbfda4c7fe8b24d0f14b2d79c90b1b13c9fb4921666a654ab580bb2422d814f990f09", 0x9e}], 0x1) 00:51:03 executing program 0: sendto$unix(0xffffffffffffffff, &(0x7f0000000080)="b100050400000000000008000101000000000000cea1fea7fe096fcfc73fd3357ae26caa04160c4fea63369bfea37a000000004991f7c8df5f882b297be1aa5b2fe9", 0x42, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r0 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r0, 0x0, 0x6, 0x0, 0x0) r1 = accept(r0, &(0x7f0000000000)=@in6, &(0x7f0000000040)=0xc) setsockopt$inet6_MRT6_ADD_MIF(r1, 0x29, 0x66, &(0x7f0000000100)={0x1f, 0x0, 0x5, 0xd7be, 0x1000}, 0xc) unveil(&(0x7f00000000c0)='./file0\x00', &(0x7f0000000140)='c\x00') 00:51:04 executing program 0: r0 = socket(0x18, 0x2, 0x0) connect$unix(r0, &(0x7f0000000080)=ANY=[@ANYBLOB="0001000000000000008006b5b70a6da71661e03beaaa62"], 0x10) setsockopt$inet_opts(r0, 0x0, 0x20000000000001, &(0x7f0000000180)="9a06e3030004015b0dbf5850a81f78e00818d23a", 0x14) r1 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000040)='/dev/speaker\x00', 0x400, 0x0) lseek(r1, 0x0, 0x7fffffff, 0x0) read(r0, &(0x7f00000000c0)=""/178, 0xb2) write(r0, &(0x7f0000000840)="71eda242cd7eafbc729f5c55e76c2ad13ef197aa24f5f03021ed1b7a0835c108021de09841caa66ec0e3b9041dd6e9330d7cfb70c750c176f542705feb44b9478d59bd4b1bd567a2ed43d8a73bd56bd16bf3888a5cbc6905b5c6dc0ca52723c7817a5222b39e1cd19eed9a5414a6699e8b39e8135f9303490ed267a539e34d4b478494c86bacda649987edcc8428029e0fc04871695a76b5143256d7866ed95656da794b740c7761adbdad6d0fce17a3e26d34e2fccceff36ab12bfc855cdb032f12112fd81819939452c3baa8bead56b6a49938fe3c923314c764bfc9402da06d8377496a93e91709639325884d512f56fa0fd5068bc447e3c19fddc24a9f80a31279bff008360e6ba38c46b49eee7fe531c58ad2fdeee8c0ac6428fd01137d7bb386751f5cbf2ec8029af737e92f16d87798691008c46e948d542e3de46a7e1dca52a6a8a38e17831d27013f6680884cdf1f8fc5f04c9a6b0e622b89821854ad415fbefce290d7bb010dfb4214bd8843d34e2a998f128eae751727a6a3881b73fc7eb9a41b8970ced4dbf12851c89ad54e9c3301fbaf0024e6eda2057dda4610c05a0e8f48cd04e2484a7ef865327ce5eafcdecca80aa7fe76211d71c40ef55ef7674a656db9b169a9beb6c3b3527e21cfadf6e432c97b5126a8b42d6163abb3dc2e20e7cdf045849ba0eb58a7972d9cff14bf5f4af6e4cb30595b711e418e500f456f73f9ee1de3a2057fc08145710789ff55446b0229164a98d9a0676bffe563d1fd5bfc196a83ce23cce2f7b832cf63916c93e4ecf99478311cc2bf1ad52fb8232cceb2aa5c9e69f9dcb25651391d9d1d2d54307b5babf15aa4be1c5cf175ee21ec0d74adbf39c7644997b454574645ec83b3ed13b2c5d67c1531031dc0a5236b90f540fed271687a35fe8fd795986e6c450966917eb33e33c735e29856f4939ab708699d9c43fd8e2978714f453a984bb6cbf84e82cabf54efa51c2cb3f6370cb07de87aa99598cb36c3db62992e470bc7de68b6c783d14ff89911fe9903b59818a3be9762033ef22ddd30ff726cfb4d977b5e820578db72265932fdee07164b88ccd7aba3a1789e692a88c124fc84f1413c63ec59ce0f9e8bdb9c84748318b9d76e5eff967cd90541974ebd21a47f9bcf3aed2f2d32e88dec0d109826b546acfbff7cfbf65c279eba6a13ef71d03f8d29b892f98e1e3d46bb2651d6f44c965c0d358a3fe7fe37370e42ad9c41223a79f3e9fc5c6d6c9def624aab32d00acdba0ce0731cdcb460ceb3ff611af6373e8c7c98b9ae925fc696b719680df460eb1415e8987e159bda40732db56ae53513225fa8550308aba52817ac90c5fc86995747985cd00984d8ba960463a56f864562a63f8f76291eacbf71d94cf7d596ad00b0e368d9849b5fc2784962abd4e89fe89a1353bebc48f1e1f8abb7761033c60adde04863654dc2596b8c8caee3d803f41731d67ea91ac3950f2d397e201c63ce57aef51455028dc5623e2d1aa643300f9e0a37d950bc258e33a2faf970fed2a0839c2a33b3c9d2d3e694a43e3426ca060c46f661c626b58310d8aba23f8116af0022a6b0dd3024bc073d6bc2dd7e4beca17937b355319711d875aead82a5f338d5f00266e03b8f6ad25903dd01339c394df0cd6db055e67c917319364aae5b6a5a2e43164cfb59a2490d6ba12a927d18684564f32907f67efe908aa7e0d457ff30d355143dd010eec0cc00e80c41731d0b35ac0e95e000eeec9a21244b93f2d557e63d61e89199e2bd01b0e28f4403f20a1774e68cc3cf27f85ae2b89f678356f103b1ef02b9d61a5969fafdb0a97e7cd5d62ecb2e24a2b1ff87b83fa51be5b37100ab801442e6f959eb90d3ad67272badbf65bc982652855f733dc71d5bdc49b35ca199dd8faf536b63a26d656b4c6a1be21e30ab8f3bf92d189293454a7153d3e3f19a023fc41eae999acf9ec37257eb640fff7feccfaf98a4c2e046f638225bff", 0x585) 00:51:04 executing program 1: setrlimit(0x8, &(0x7f0000000000)={0x7, 0x95}) r0 = syz_open_pts() close(r0) r1 = syz_open_pts() ioctl$TIOCSTOP(r1, 0x2000746f) r2 = msgget$private(0x0, 0x201) r3 = kqueue() r4 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r4, 0x0, 0x6, 0x0, 0x0) r5 = socket$inet(0x2, 0x2, 0x0) msgctl$IPC_STAT(r2, 0x2, &(0x7f0000000140)=""/136) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) r6 = open(&(0x7f0000000040)='./file0\x00', 0x10, 0x136) kevent(r3, &(0x7f00000000c0)=[{{r4}, 0xfffffffffffffffe, 0x8, 0x1, 0x0, 0x3}, {{r0}, 0xfffffffffffffffd, 0x46, 0x1, 0x426f}, {{r6}, 0xfffffffffffffff8, 0x8, 0x8, 0xa, 0x3}, {{r5}, 0xfffffffffffffff9, 0x78, 0x2, 0xc1, 0x7b}], 0x8, &(0x7f0000000080)=[{{r0}, 0xffffffffffffffff, 0x15}], 0xfffffffffffffffb, 0x0) 00:51:04 executing program 1: r0 = socket(0x800000018, 0x1, 0x0) bind$unix(r0, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) listen(r0, 0x0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) r1 = socket(0x18, 0x1, 0x0) setsockopt(r1, 0x1000000000029, 0x3e, &(0x7f00000001c0)="4b74954c", 0x4) r2 = socket(0x18, 0x2, 0x0) close(r2) fcntl$dupfd(r1, 0x0, r2) connect$unix(r2, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) 00:51:04 executing program 1: r0 = open$dir(&(0x7f00000000c0)='./file0\x00', 0x40000400000002c2, 0x0) ftruncate(r0, 0x0, 0x7fffffff) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) ioctl$WSDISPLAYIO_DELFONT(r2, 0x8058574f, &(0x7f0000000000)={'./file0\x00', 0x8, 0x7ff, 0x7, 0x0, 0x7, 0x2ae80c33, 0x7, 0x0, 0x2, 0x9, 0x101}) ftruncate(r0, 0x0, 0x2fffb) 00:51:04 executing program 0: r0 = socket(0x2, 0x2, 0x0) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e0000001"], 0x1) setsockopt$sock_int(r0, 0xffff, 0x200, &(0x7f0000000080)=0x7, 0x4) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="8b0229"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) bind(r0, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) r1 = socket(0x2, 0x8002, 0x0) r2 = socket(0x2, 0x2, 0x0) setsockopt$sock_int(r2, 0xffff, 0x200, &(0x7f0000000080), 0x4) bind(r2, &(0x7f0000000040)=@in6={0x18, 0x3, 0x40, 0x2}, 0x8) dup2(r0, r1) connect$unix(r1, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e00000012000"], 0x10) write(r1, 0x0, 0x0) 00:51:04 executing program 1: readlink(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) chdir(&(0x7f0000000100)='./file1\x00') socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000180)={0xffffffffffffffff}) sendto(r0, &(0x7f0000000580)="f864b8f338563c1b456b6b1094b0d10e7850a2664de6bd46627dabab21bf124442082a8cb4ff598d592fdf0d9de9f2a5ae4b867a95086689f7d0f874b4c9d8591fb4a303cb129e6ae65cb6c43d34bcb08083bfd42ac6fef39a3bf6c6b463034746289685a94fcbd217851acaedccd7e2a93e587aba5e032b31f40be58bc113859f6d7985e285d84d0bac7e8e8189bbf5c4014290722dee847f8f1449f96e5076da718df76d507a7f24061bf023027b655b76959f00ba2d578ed1bd2163275dd68a3ed685e4639e18c3dab5a096f2300a60d05690cd7c9c3ac690d51fe1a7266eaa9ef93771c13af068614b0da3be2274278d7b40e2be387b26f69e439d740621daa5b090e98d5ecfd827aa4fe5cc7abd82ba16b139d29c4f295e7700432a2c6fda11100d91a3101cb55092e7cd5bf8c20248efb17548f4849f824adf4473cae67c9fd668e23e8c6edf5d4e8690ff06bed9cd5bdf75f5e897d1c484c4866ce6317627dce9b7b5d1f20d71f1d9d4410a339ddc4a08a2776ea53622ff0f4587d775e3f968de7240b175819113fc87e62a07c1c8c75c2b15a5d349708d2609bfc2bb03d219994b24d15bc9a0aea7898881abe59a282d1c10def438d1cfe541a704241a4027c1a6354c2f6f768941d01f25b16b0180bdcaa57bdc56f7a4290021db95388fc4c087f23210d7dcba7b7ecd4ec40a26cb1af07fb699a0e442d5cf1ba9cb169c209d0bb8d1763867dd8a6ae00d58bf6dfc4d8b5fd15c5df14158353f356305ebb7b2b71e8bb6c4b4acb1219d4745162e05af5a06d16a5e0d902aa09a4f86185db5b09bb80a35a9e6ca773d803cfe29577cb5c7e0ef1de90fd4f7873f67fe2291c19335b1102d033dd41875577b5e81198d29d075fc3370b81d1398e6854c3bc868fe07fb04c8d4162f9df8372c85c16a73fee7d9caa8467905c8c6603f49bb65cb926ec97f8b30ff35ca5ac570433fc3a7445f4a176b96c067620a8cd0c8d37b20d27de8e2f679539cbcb1198aad6272bae21fa9617d237a5b1502e3a4c51fe4876342a2f28688d58525b3bb16a0967a2036ed7676b2a0ec25b4eace442836981d396b6affda9fbcd566d84a800542ab3b215738105f48f58941b2c7b6989696f2e0b1297795371292d74a664a96335c7b842f5359524699d38d58480cf2e41065777094f739ccaa1b33e9c20e7614939e976ed333302b482a68eb44a116a4dae8654326afc744935fb9c402fdeab93943fa66d101398c7a3d1742a1c7557091261fcde192b18402a0ea6f91a988952b79dd47fb7fa44a1ff67410c31ea92597d2563c7448a90694ff95c7cd1f1917174440875761504fb4c4bb3741f7e76a1bac5ef9313c24dd88993ba315bf6da41d83c349eb8d19187963e144888f6da7ca512d23d01fe20e3777e3fb2ceb668de640b278e7763cf615fb8ee576771972b0146b5bbed140534e93ae3d6c7929c35fc53a49495e38ac6fa1170ddd6e9b456a6de157a46880d6d2375960d878219a1753bc862c05ce8cdb3c92f826fb8226f71c03766164312e0114525aa70c1618b02b56f6272e981e0f80ea4e928e25123531a9503f4a6c9809d39549f99c6183a02773c515830db985ec94f9fa6502d670ebfa18f288c6ee382b5fb58ae7de83764181259e4cf0be142c4084be18c1e54adb14965131298a159633f44cc24801a24d9a362b9131b8da8c87d52fcb42abd8aa79f29884648e23cd3a13b2a07801f7457dd4f665acddfa9c31222962fa360c1c8abe4db3623047165c18710e50d71bc83807ed79655b14ff3d443b76a7cb5979af7bf772a63c2ce0565456b9b6dc1af474b6732a6800bab09e3b0d344da4e33142222c3fd88b482c5330978ad10e004c8c8bb8218cfa32e7393d049d9706217a965f79b28ea31101ef4d0fc792fd462e0979ed14041d54b5ff219ecf43af36e996c1f502cd54f3765935cf97d1d14e5789e2619f9262224a855dff9233f77581d99d3caaba1f4b5d36fa4491995f51f41b4e7244cf5fc2c684a7c17ccbeee9edb2161dd8189bda47160393352c5484e24ae7c9825c72b57e827795636622e90890c0e6f3d6c517945089d21a857beed3104bf4d210decb3b10dbdb07100a2817125e66a7e9af7de50bc3cbb1f725afea63853ef1fe8226bc271f371a34e8a97105ad4f967ffa5ba9c70a63548dbe10990006dc48c15a00e817974b3d24d18979eda5f29807f099f654b3fa7bd86a27a77a2eaf455852ee2970dcbf05329b602e6f5dab9a30c37216e266286b2a7e47d3f37ed5b5a9a39e9fe666c5293a4211b28ac84b2d6753b103f36b9ac793a2747032e0202dae3df60b8336a46add3b3e30ae2d4be17664997cab5ed6212c4a4a320705a30b36965cdd565df5c6b7907c556b7db2a373d07414202bb4d8957c193fe4d944b5f6281cc495a992b84862862e328a31361b66454ac77c14f7e7064a5dcda544f3ac5cb1ac8e4aefd5f0f567e8ec03d3bac0490a2bf09ac3b98b874ca93db1aa5766fddcbd69c9db8d974101c480b4b7687c13185ab074e17f1cd73544a8313e814f5a86e37ff6d6a5ff6669898c998b41d6e5273afbc937c43e1b17074de30a9f75028ccb187d15f5b1e586b265c8e21276a0684b42e1eb10dd4d6499355dd611f645c3af5a1ddcd03683f7f74febf07bf1d584f5f43c1f7b0654368668fdf3b32e22034f3e009fe86c77d3b7925e20f8b9f7694a3b1bc17579dd88cbbb664fd7dca84cd2b9affb6e284dc5e19180b831ae47974c2b652487c3fdbf86ce5891b7c0c8867336bffbf787cc65b000d9db110aea9e76fa6440638996b90f11932ac4983db1cba8c70e47ee5c8823fb0a4ffe13f7b9e8a7d2db883441ea82365e47a21a820f8fd2b1178fa87474febf5a89c3f34044f2c0fdfe08e11c234bab4a3714da32919bd146d747a106dfc6048e24154667eed76d51105b21ee397ad5816b9b20a2203716d7d148cf66332966b38bf34ef2e7988ee32f0d1a60d0e938a4bae0949c5c906a7afc20f987bf6a4685f3550b52ef8ababd726a8e461df8fe2c33b2d6f2bd9b8c3f7a434d90cd232b5b95fba3c7185803397b7852941e4ee642a4784aa821da26fb21f311d90bf8286601809a4ebf2e38e21a26ec7021b85f673661d54de77db2f08f5ec9d5b0494e1986f90a72cb79ded0878e9afb3c989020078a4f00f522ac9ecf1e9fc8c6673c5c75a02931ba5c297ee93a92398f90299e1586946fd50f459c989319b19755ffe901bb738f972fba8689ac0bc2b458d7031080eb0f05da9b53b5476a684a56d6dd80537a207d5817e53dbe4eec63ad6c4981d171f8137c225c27015189d7257da93c2be42acd10d2d9905cd01b1070db100bf1f12bb051626970c74e1c24519eef0c37f4acf60c044cf918f72fcb679b850643af91366e81916372d0f8d0aa91896e0a97fe2db965c404b95f64971a0736fb0afd309230d6192e2d5ed9478417c8541a18b3f364bb120cfe4176724155fe77f8c55efe194c15b251aae46771a350e327375942dbbad26c95b2ff5b184742cdb41b0ec20a7a7eb9f3066db3cff7b019c181b84a313d6d1348fc289382ce8c3351497504730c25ec1187571a2110e1cfc4cd2bbc017469245c91d93765ae91a1c283fa02cdefb67e10787172b432b3151a6b8a85ff3fdcb63fdd23775bea00a219912bec251f252d2c1bd70f5eb7bc4895c82ae0ba4ffde45c433b0c0d84c54c56aef4ba9fc1e96939d14419cfca64d4fe31361d714e617152e37268d09bd603e7698548c853dc939b1fd6f5d0f6bf9a4caa9e69a3c092ec84600a72a62bfc258eadb8364490360dd320928efdce932a4afde4c921140526498e2ec37f28d2a9e8b774435ddeb832058500e0b8c64954834ab4e8b9d7be7f4198c8dc659dd702ba1af5f4cf1b3415b9267f238774dc3d717c3467c543f6f70b8824bc99119c296469a392712d5f6125220820bbe9d00ccea008a43d56264bd882a8107a884743a411b5a96ef204c7ee324122857f348bac344f74e19e7644180cb50903d53a3d641a61ac329d0ffb5608a48bb4b85fa1cb4a4b8815a3095fbf65ab6739fdcd42dc059e392557e891fe0dda910cf78580bfe5462374264b9674fb859df1d3dae5c00e3610b9c404a8dcbb2dc83eae1c297e08e7de5fae919be2878283621978910b44be1b8bffe7933e0d372fef4f67280ab97ac8081d2193ddee3002690ed9841b75ad352b8a85cc7565b37f616f35099d95ae8147a9d8d0293451687b3dcc8c04158123694a3a304f3968726eef0be29ab847af5a931fed751ebd9a2bbe6fe73aa10f653ddf722355e5cfa8d46266b741175c074e83395da29b944975ba61c8d12c9f22f0520878f5bde919b4ca6c6e7bfd549163415e997aee8d5a6ac84de9a7bbf659ee5f576a4a86bf8401b3eefbbf1d6492ea9fb157f77e9b265940ecb1eb414ebe943a8f1be71680cc781acc921008c19fae8f7c4422d744403f9d994703bae814132aa45b0fe56e39d0a4e8f4504a933550957a4485ff3289b33f5035baaaf40cfe85dbbdb7b997e13b1e610d5a3525786a89e444d6791945b3b49bbed6fe731a8af2865a64220800cdcee2d7b651921e848cfcd8afe7ce831b38731d7323de76d5", 0xcdb, 0x0, 0x0, 0x0) sendmsg(r0, &(0x7f0000000140)={&(0x7f0000001780)=ANY=[@ANYBLOB="00002e2f66696c653000efec109b26a8d5eccd8b8700fbfb1f04d2"], 0xa, 0x0, 0x0, &(0x7f0000002280), 0x326}, 0x0) madvise(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x6) execve(0x0, 0x0, 0x0) writev(0xffffffffffffffff, &(0x7f0000000000)=[{&(0x7f00000016c0)="909d2d1379422f56d5cdeac47558809a95c2ef7ac348c63a89f3da8012c6f95961bb74341a6e6e4c02b7710de1c02842fe5617c40ad5433faae838f7e817437af21d95edad131eb2da79894d426f5106d2c50ee8cab54c3b25e7862b4a192cddd85449f59c4de04235491a6daceaa322c70f8edd3c4fbadb45bec53ebde46e80481f890d2f4f2a55776b49bed28b2450", 0xa3}], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) mlock(&(0x7f00005f4000/0x2000)=nil, 0x2000) mkdir(&(0x7f0000000000)='./file0\x00', 0x12d) r1 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r1, 0x0, 0x6, 0x0, 0x0) writev(r1, &(0x7f0000001540)=[{&(0x7f00000014c0)="40ddd54db6918061d2a08d0d6ba0d545cad30fe8b842eb175711373abf89af647fb4d10401639c3c214e09db2a6c4e3c302fc4c66e9e6db751827d715c708136ef591f8c20d753c0e801301fef1b39cb", 0x50}, {&(0x7f00000015c0)="808711959051cb277df53cbde0b5164765d0c62c572cbfde06e316ca0089a77ab1daea5d2b64fcf26d8bebd46de28c174fd5ca46846e821014f50948ec96ccd1f2df54df121aae27e0e81bc5009cb17070656d04aa2432ebf66bf8f1ebe810b880536d334bdeceda1daa8ea3cd5c073da0afd30264fa5cf0d16895c90a337cbb9fd02fd0655332967b9d93725f10ce498f66587660bd6824069e258b29cb735d966f4affce08e1b79dfb1fe27e656cf08afc0ae3953a249704634715c9a88ce3ccd954452382744e608062255675c23ec9b9bd0697f7b1bda3", 0xd9}], 0x2) semctl$GETVAL(0x0, 0x4, 0x5, &(0x7f0000000080)=""/119) unveil(&(0x7f0000000000)='./file0\x00', &(0x7f0000001580)='c\x00') r2 = openat$wsmuxkbd(0xffffffffffffff9c, &(0x7f0000000140)='/dev/wskbd\x00', 0x1, 0x0) writev(r2, &(0x7f0000001440)=[{&(0x7f0000000180)="f871faf5a26c527d3e5f7b9409e5e47d2561504ec69a3145251010bff7a8aa81d42475ed6654f11b89f57a93e9b068bc69a068ed8a0beb499e071b0a6af836c2e0e4c38b11a2eeb29bcf3fde454a903c0062aa95f886de6543068455e1f12422957d82318c6406f4b98bd50a84fe38afe1cc1ae041ca33536b5ea7413c2add7b4d36b8b4ab629082782b059f620ff7510da8048ea60177703261093cc23001fe5d9b8cb87df498e9845bcf306bc117316cedb4a0c74db19c4917c1c8bb2ec05a395652322d701166c361d4877db597678303bdc5c688daac27343e1ded72390d5632c221d1fe55a03b48246b52e0f0c21d4a010def0bebcabb", 0xf9}, {&(0x7f0000000280)="2ca6355a7edfbea02cfd336f70600454a640fba76d9f0d4911cb5e6cb81bceff101f7cee59d1cf51b104fbe3929a9748865eb54ff22e85b1fdfdc4c1297ce1d33d4912ff1f4b71a63c4433755f90e4453955b2617d27bf3275778670b93f948f16f055bad571bebee7164d872e290544806abf77927beb860f011212e3bab641212c2fdf7db33022bb69f593ae90c8fb5640239d71b8ea9036966184e5d4c0662992", 0xa2}, {&(0x7f0000000340)="0d61fcffb4a41e8f394eaff212ff07059fa839959d1b9c757c64e951e19ca62acade1e7d01ced426f388dae0fe12aacc8279de325a43ef318c57153f8aae85358123e500799107840a1a9682bdf9253e1303893f2372d6ef8429491f63912f321aa1d27ed341f2bc677e443308282d90b51276bd2f4d4eeb4b7559da9c2479a8b2ed2d5f019ce6203596322daa0abf1f29c6d1fc4e77a7ba7c0e05fef549782474bd34d7ed748eeca9d813ed2f4b04abf2f7d23a701149b7c8684572774faad2771d619ec8f4c5d035d39d75fb6d7a1b26bf8559195c73983ee9fdec2aeb939c076952db011d9b085e4d9ff28ae99980e5a0ba2da7b2939ac99b32f48c0204813543fc322549fc5325b206b1b9ce8da67ea35982dd19e824138f30a11735948588d1349d9b91d5284a87e8e78a907e7244aa1fe9b1553a33ce35c405be7a5fe185362441c3ddbb1b372cb92437dbbc2e390fc9e678eac4698d46ddc783bc57c0cacb817ed80df731bfb4940a3794fd1de7ba68202f6f8b0a7e2f3973f4636183e3e83fe6cf9511b0c0d2f30f7103a87c6677b3b639aec41b5f5283a467b861f1e14a98d051eeb3f0dee861e6eeb766c22682ad40c2b72f42cd4c04ba2389cae3699224d06edf81a9bc1d0e866e1ebc4ae0c12f2dfc35ade09e34e4bdf1e9c74ceb78708a55fcee0e30876f5ba17adec122b9664f9fc24718e9328be9058a08e4f28cddfe611c11247f0ed488a6ed7f2c4067b973b996023be8b4c9f60674a4ff653d8b70d06548112a570f9b608ec710700ee035b0ae758fde8ca81516690e32a3666689de4403cbfbca8b05295beb18cb156dbba248c38fdc9e554cb17bafca8f350f7d8b9679feb83d39f0c68ac1f76903601e9974827396a80675a7ddbec7fb06386aef04967e92591038859e2fe3fdc11b9a2abfc79e08d5127dbef738299f4c782d484032ce36f5d4419e8df675f56b8abb4328de38192808c4771eea8163f8008082b57497c012800de2511a80f6df50531dbdcbcd1f15f7aaabe7c76f370e2030cae356e276d1628fc8b109f012bd74bf02fdb76b1c358564a51a9f537e579053c42daff0f0fd20ba340935fadbc4c74e0fabd3da8cc4814cd751c0f74aa20582687e66370f8529c464818fcbbeeb96a4cc43fd87fb27433a86f32bcf79c2e9e2534cb6d3dd7e7e32feafeaf4d25d940d3b72dfcd662ebe17072ddd205cc84793049e9ce842e2500f1b3f212d6de9b8ec9773bb8c8de8de50255b0f49c89da1fcaf6f9dcdfb7e8f9006265002721befe9c0293764b3575eceb2e580b41a2102de77e5dbffcac1fa49597a2572396932f1170daac01513bd58fdf54ec14176e962c93a5a9dedae333f59743cd13ccc1930f00ec0f3c6f985747043d5fd6836c620e92f6d8b9f132469ae53642de7ebc459de8efeb535fa76ca472aa2ea3baa8ec5adb5ee96537e1c741c0bddc5d52c97530bf36f7c3df5b74444ffed9f8dff94352d915590f79b4bef6a949ba1b879cf02b7165e046cf3431bae2bcd7a432f75eca1bb512d0e6b83e5b564b54d88e01289a59a64a005686783bc0693dc81b05cf6294d965edc3bb66404875a1e88153c012907da849c0bd85783bf3f876bf85a8851e085e5e49d833fdfec6c8058a9d351ab25fe7c59a393a6fa1558f369d9a4cd2ec3f5322e3e5c872a9efe4cc988dca5273b75b89d1f0eacc50845b5a748e7be87900b62fd4e0384e3bfecb7c5a29483d74caef046f323db1d173c38d774370834868c534cd7320b139f27d2bf84d0f1e0b1cd7560b191e360e77c037960180c9a115d35ab0a3b14573d9f9756c666d2ee8cee08be5b439393068c41bed6ac1a097f8a308ebd0299955e7fe47fde53b2f2f95e75a5ef45f6d73204d3afd8aa99e60df9d5d6cf820ccdb71bdf38b7ee78e958276e6394cf290054b834a41934d6b7548a559d26239c8df2016fa148fe6ca1fd2822235d878eb5c57ea4c08e98a57f8f3fe90ac6cf3dd8128afd72019d27cc4f67800d28d70a330abce543428b269d61f8dbfbd8d69256e50a2b50fee6e0400e915c61ec5564b507bf5a14111ce143c323b89aee2e29ece736b29e60347f32431d994bdc9f28e0f309b454669e44f27519a96fd6842a026d1aaf53c75df7326bea40ababa6e4f1935442f4c16348d7bcb097375bfbea5e8659b66dac51301945d2734868623809a5ffe00e3f292f0d482adbb6f29b9c08cfd8c80dd7079d28ca725129143172dc6a5ce81a45fe3ce26084fe88ca59f4493b5fecbf73328828e4c22ecf4c99c9366fa1578ac67d9c2ed7ee7bed7f09ec34dd198e603c6c3fc926d0c74a546a679c7b918e6e367e2cfdf78d20bd6e4df1235166361d8f904fbbde94abdd4de27d68a68dce2de8ee3fe21e7c76ec910e8d6fe85744c655cc30c00201fe44635b9398eac28bdbadf4102ed66c6d9718515aeb10254770511345e81e47c0c37345b1e92b6ea2abf8e9865fb7280236cf1c7e154c73625d28b7496af1f2734d027d7f3f5a608488f8948cbb279e197f0732d082efdf1ecbd0668a834d744eb74507c1f3a33b01fe546bd9c125a7d0c14cec46f8f65cc482a3c2017bbb3870cfdacdb8b44508b03d45e03b23b51dbf295b1f4412043d1b6ceb36dfedafd5e5b019adbadbc63fd94cd880cd9a851a6e380a61f107d607f71df0986b291cdfadd630139cf3c11ed7640d5776bf54575f844dedffc61b5f106cc1e971255c6c330f036424242725150fc729765db4b36a7b5f5aaf358385c5851c60d7970a8de00abcba0fe1271cfb5dfa2b83854b579e2467ffe985995a63d4da19960d56f990cb1ea6072069b4e5d508f692d52708518793b01ec47329e1a4491fb5d6c638362b0dd94f88d132b7a4e94e55ab62cded4b2394d3644986b1826ed8d49a4d84ff05d56ce8d7424af430e7b2aa4da7050e3ce56ff3a82a56d96133d39d1cdfbef3ac6175cc3902abb12a21e7b5769565a7475404cf25cff45c779b3d12a70ef6c86acf4011d8674631ddcf330d9b9e470c40ac040b40357cac869e089a126cf962d69a436b9606b61537461fa5b353f8969f72cc1c6ccc8a2caf6baa7f4032a68174b6c0ca6a22037a566bfecbd1aa5af5fd69f7ae608413e4894150515b20e383b71529901fd7db108c03b88eaf86857a6014a8efecfbb57d38ca3af5aa5613a2f28ecf9b641628c89a5206178d9a76b7ff1910c95886a0d2756658b27169d3e59f691118c4514157c9928802d4533d24c8399a4938df16f80c70190f57ac611150a7b62dbe26d5625e777f06ab07ba1b17563057f8fd89ba46432c9ac99467c8828297581f17cc01d24ab9335445e1f4c2c9df8b19ad6408dae26a52a66808b3aac4d4442a85537d540c27f93a462775d09d9fc301b88611024359b75a10edff52486df8af7b377a01f178c9bfb93cbaafc3e13c61f3ca39b9fa479b61ecc4c8706d2a8161747cc8728fa7ce355df2cfdc94fbd2cea73e70658d4aec7ba6900a0fab23d3759f5d60bc090eebd7758e1b8d1906306626cff800256ee2ab8f345cab73b09bb10bd31a8a8f40fa4a01b598f0e08e95b7c427948a83c42b74facd86ba643e34f17d9caf9a9fdcb56725d44e45f918469c4a17c7732a69200d613348e083487c7054db73f337f49e5aaf4b867950903cc7188aa93c780d8c5da4978639be5e50c1ade35fc33cd601c1d1e6ef5c33a05bcb48f8704bf20090f98d7c0c029c18675c4b6409f2293716b4735653d63f98388eb036d6ec2de1c146be452d4b3d8577054bacb6f9b4eea75f601f29e4c13c1622055598add58e95a97dace91b24901a3e0ca5f45aa1afbe30c7930b1c743c4f5056d0f363afa24fdc2c265c9e1da5d33a15d81b40999be68ac3b3d1b713b76309f14ce3fec4a42058d0d864b6d1849d361d3c063e1fca2236a325d3ce788f1d673b388286340f802df0822a4eb0aaf8b8bb3e7dff884e95d6cfefcbefb2129eb8046126f1ebf138d54aa88c646e8a371d775aa3ca2bb819a692dc935c8972357826d2133e2d2d9ef46d513e1449ebf553efe124fc42909a27d35b969f4a88b6d7627f58c51bef476b94b786586d4b65ad0d9fc202d3f5d4e336b144469de55047734370790c388ec31685a6fb8d6d575f6313954d6b338cc801d95d847b947e748f06f2fa254eb73cc729a1ac7c195b2def0628e36708e3db8a726fb3fbafa9c7a2157fd6c5f35626387a3ed0f0b966d5a4d325008aa8dc9504a2f6fa3ee0a68bc027db5f9950f6f677c20619240b66df406c4ed5778e63da958b8727970de6910157f60086ba2c0efa6c9540f8f9f191e403aa122e0344de1fc05fbe498279a0f72ba40a4a74ca3c66dafe761286873d16651e30ffd6c8ae636535a56b9ef15eec705ac9390d64a8dbee87070d2523414b405ca27e28779faa06411ea3dfa3ba7a846ba7c06e0494f55916fbdd7f7934731119f8a2d0566c40e3fc7f71b4e8afc4d513ec6cf30236167e92c78f1956a522e637a86daa933d0e9cfff68cc9346fe90d4f0d5af791316087131ce2cb562b58eec92fd027108922b685d44cd8e5a4255f511ae4f702705797740bcb620cf42cab07a80edba7c97d8c517d682947170c7bc052e14bee9adb31ed3480b6e5f13876208f4d41af5616a1a7c7553a2e6b35d91923630c37e1877ea7acb8b14bf336f6b197b044ebf4a206890a7d484a4762d8675ab47ddf71047b5f7c631dbd8e78126b3da531ff8df03791122e768f798afa63e2d4202e9986c81c072a08d50e9bf3ae7a945b4308cdaebdff962a8d5f79cec791b1ff556821d454f1c99b985ef9f884f3f65644d484c048c90d7c377e969a0204e9dba5a014cc476b09a9d2600a689f3ea5859a9512aadb1b3ac4917c77362564d50c9f018f4db148e2811c24510e0a929df51f648cf7275da499a2b8abb1b4e41e1893a541a80ef320b285f344e7622510b9da39229cdd11f01caa80379c2513e09c9ebe4f2387dfeabf89ab2aa1c82b866e14ef7439b568c8fe2b75f72a7146de057d777fb74d23e1b1671d725dbc812c47e7c253f632a25c6179ed09b5cd778a066b236ee0d67ac4e31dee1b87d8f1029013e313fb759e5d09a87db65371058d9b287650f650b51e9456d0e5d8cfdb7138fbc4250ef0b3141099d66591f43435c0693e7463efb5f988bc716324e1f594f6dd742880929e74423b8f8a9d02cf68c192abae82375b4f95ba4ee3b4ca02dbb28909064a72b30afb07bfd06432d84c092d75849ab1e8415e06ddbdd4d9a38d4cab4a07d06c5427853c97a8bcb5cb01a28a14bda3f205dd1dcd16cac4a957b47585d3883d287fa809614ac857d4cf1813f0f1b8b5646d2b47c2cc676e4593be74d9ad5a4e1913a81f2f72b97aaf2323179f7477885597341f2a8363c15a416dee8e9f2d058c9afbc6558d7dc478a1792eb83e5ac802fd056955a699115ddb5232d0e8b0c05d3fa30bfb2a69dbd9b93df12bee14002ff55443fbe0f4d6e3bf473df13e18f7bda6f04c008ca9fffc33e7a9198243cdbba8656003cfcc1729a47920b40c45fd6e6cfe43d01e49ca7e95727367e2f087fdf6bb32d1b4a1f6daa800674e82e23f9465d2df0e444847979e230a4c10d122529cbcdf0aa3b27fdfc6339011fb24419a4812cebd7fab84658aa2e2b5cd1f5cc235f0bfe4358f2cb0ac2145760ed5066c0081149b64b0ccc992335a169aa0d0a932287a696bb367967954b3a8029b93d19e32bdc33a038cd31a9f5e7568fa0b97fc95c5438080c30c", 0x1000}, {&(0x7f0000001340)="7b2c6b9ee5f930d6d8d53418a5785a0193cf483bf8ac4c81ba9a75e0ea895a5468dadb37d9f31aafe98d43be243e77f1f0200b389f48fe2cb726cb3207602751e1a0", 0x42}, {&(0x7f00000013c0)="f8f480b8f30b651dc1c4c4b571f6661b9f57586a73ea6680287acf6c6c7975701709df4e0c859a8eb3abe44423ec1c7732501c31eba621bc812686577bdd66255a0064af870813fc684429de9e7833f5b2fa29aff41d182209d61ece711ec1d666ad55b67035a7b414", 0x69}], 0x5) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) 00:51:04 executing program 0: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x1, 0x208001ff, 0x0, "b000"}) mknod(&(0x7f0000000080)='./file0\x00', 0x1ffb, 0x0) r0 = open(&(0x7f0000000000)='./file0\x00', 0xc02, 0x0) ioctl$TIOCFLUSH(r0, 0xc0106978, &(0x7f00000000c0)) 00:51:04 executing program 1: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e0000001"], 0x1) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="8b0229"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x2, 0x8002, 0x0) r1 = socket(0x2, 0x2, 0x0) r2 = dup2(0xffffffffffffff9c, r1) setsockopt$sock_int(r2, 0xffff, 0x1002, &(0x7f0000000040), 0x4) bind(r1, &(0x7f0000000000)=@un=@abs={0x0, 0xd}, 0x10) connect$unix(r0, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e00000012000"], 0x10) write(r0, 0x0, 0x0) 00:51:04 executing program 0: r0 = syz_open_pts() kevent(0xffffffffffffffff, 0x0, 0x0, &(0x7f0000001300)=[{{r0}, 0xfffffffffffffffe, 0x69}], 0x0, 0x0) nanosleep(&(0x7f0000001c40)={0xf0, 0x7feffffe}, 0x0) r1 = kqueue() kevent(r1, &(0x7f00000000c0), 0xf8b4, 0x0, 0x10000fe, 0x0) kevent(r1, 0x0, 0x0, &(0x7f0000000100), 0x1f, 0x0) r2 = kqueue() r3 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r3, 0x40087468, &(0x7f0000000100)) kevent(r3, &(0x7f00000000c0), 0xf8b4, 0x0, 0x10000fe, 0x0) r4 = accept$unix(0xffffffffffffffff, &(0x7f0000000000)=@file={0x0, ""/108}, &(0x7f0000000080)=0x6e) r5 = socket$inet(0x2, 0x2, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r6, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r7, 0x0, 0x9, 0x8, 0x9, 0x1}) getpgid(r7) getpgid(0x0) getsockopt$inet_opts(r5, 0x0, 0x6, 0x0, 0x0) fcntl$dupfd(r4, 0xa, r5) kevent(r2, 0x0, 0x0, &(0x7f0000000100), 0x1f, 0x0) 00:51:05 executing program 1: pipe(&(0x7f0000000040)={0xffffffffffffffff}) getsockname$inet6(r0, &(0x7f0000000080), &(0x7f0000000100)=0xc) r1 = syz_open_pts() ioctl$TIOCSETAF(r1, 0x802c7416, &(0x7f00000000c0)={0x0, 0x0, 0x90d6, 0x0, "d730c1e7bb6fc6e23c5b00000000000000e74de4"}) write(r1, &(0x7f0000000180)="582720efabd16ebae63225259560f8e5815f73f2a044fd33055552fbd7e41789632dfc94ff334a5619515a4c8ab06198824b3da025bbd47b3bf579456fc7d4096e8c8b6b87cb2d72b8bcdb9ad8a4f5f728193ef16ab93f12fc4d5f16b136a5d00d1628b53a", 0x65) write(r1, &(0x7f00000002c0)="0e1b22f7c042ec0b8e6385debbd12955b06ee7807f09c5a54fdc6cf5ecf18cd041dea7ee306d5d527d6b31988c0c55f732913b05d19b31f7db54ddb4c6428823fac9c56c28d84842d1dbc99da9a49570c539ebf75828c8bf1b10802fb0688dc57280b453699dbcae9e979f76e880040c1dfabb5dc0ec2d42e83fd08c03abfc8179748174196549393d93d00000677d3c9bd22292017f1c2f0d000087619609910684538c6f58e0a4f3c8b08e6348beb741b6", 0xb2) r2 = syz_open_pts() close(r1) dup(r2) r3 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r3, 0x40087468, &(0x7f0000000100)) ioctl$TIOCMBIS(r3, 0x8004746c, &(0x7f0000000140)=0x5) socket$unix(0x1, 0x5, 0x0) open$dir(&(0x7f0000000000)='./file0\x00', 0x400000002c5, 0x0) syz_open_pts() unveil(&(0x7f0000000240)='./file0\x00', &(0x7f0000000280)='r\x00') r4 = openat(0xffffffffffffffff, &(0x7f000060cff8)='/', 0x0, 0x0) fchdir(r4) 00:51:05 executing program 1: r0 = socket(0x2, 0x2, 0x0) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="d4020207e0000001"], 0x1) connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="8b0229"], 0x1) r1 = socket(0x2, 0x400000000002, 0x0) setsockopt(r1, 0x0, 0x21, &(0x7f0000000040)="b1f5d915", 0x4) dup2(r1, r0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) bind(r0, &(0x7f0000000080)=@un=@abs={0x1, 0x0, 0x3}, 0x8) r2 = socket(0x2, 0x8002, 0x0) connect$unix(r2, &(0x7f0000000000)=ANY=[@ANYBLOB="62020207e00000012000"], 0x10) write(r2, 0x0, 0x0) 00:51:05 executing program 1: r0 = socket(0x18, 0x1, 0x0) r1 = socket(0x800000018, 0x4000, 0x0) bind$unix(r1, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) r2 = openat$null(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/null\x00', 0x80, 0x0) ioctl$TIOCGWINSZ(r2, 0x40087468, &(0x7f0000000100)) r3 = socket$inet(0x2, 0x4, 0x2) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) ioctl$DIOCMAP(r2, 0xc0106477, &(0x7f0000000040)={&(0x7f0000000000)='./file0\x00', r3, 0x3}) listen(r1, 0x0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) setsockopt$sock_int(r0, 0xffff, 0x1001, &(0x7f00000001c0)=0x7, 0x4) sendto(r0, &(0x7f00000002c0)="98f728f8f955b0f22c50616364ff3fb4e0", 0x11, 0x0, 0x0, 0x0) 00:51:06 executing program 0: r0 = socket(0x2, 0x1, 0x0) connect$unix(r0, &(0x7f0000000000)=@file={0xbd5699bc1ec0282, './file0\x00'}, 0x10) close(r0) fcntl$getown(r0, 0x5) execve(0x0, 0x0, 0x0) 00:51:06 executing program 1: syz_emit_ethernet(0x6f, &(0x7f0000000100)="c7a895b22a241c0a078359ff86dd6ff8972a8a308cfffe8000000000000000fc389200000000000000007bb4ca0a0ba6774800000010936ad97c7df37c9e290cd4d9dcd8a156cd3549a6f4df46da16bf9e423cc063843e3ba03291b72e7a97727920a139a406980653f21faccc01fb") openat$tty(0xffffffffffffff9c, &(0x7f0000000000)='/dev/tty\x00', 0x20000, 0x0) 00:51:06 executing program 1: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x2001000000009, &(0x7f0000000000)="3c380652", 0x4) setsockopt$inet_opts(r0, 0x0, 0x200000000000d, 0x0, 0x0) getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, r1, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r3, 0x0, 0x9, 0x8, 0x9, 0x1}) r4 = semget$private(0x0, 0x4, 0x1b2) semctl$GETNCNT(r4, 0x4, 0x3, &(0x7f0000000580)=""/170) semctl$SETVAL(r4, 0x0, 0x8, &(0x7f0000000240)=0x72) semctl$GETVAL(r4, 0x4, 0x5, &(0x7f0000000800)=""/210) semop(r4, &(0x7f0000000400)=[{0x3, 0x101, 0x1000}, {0x0, 0x4, 0x1000}], 0x2) r5 = getgid() getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) semctl$IPC_SET(r4, 0x0, 0x1, &(0x7f0000000080)={{0x5, 0xffffffffffffffff, r5, r6, r5, 0x10, 0x9}, 0x8, 0x1, 0x800000000009}) setsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000040)={0x0, r1, r5}, 0xc) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r8, &(0x7f0000000400)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="508028000000ffff00000100000008cd3fdf0000", @ANYRES32=r8, @ANYRES32=r8, @ANYRES32=r8, @ANYPTR64], 0x28}, 0x0) write(r8, 0x0, 0x0) dup2(r8, r7) 00:51:06 executing program 1: openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x0, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) recvmsg(r0, &(0x7f00000002c0)={0x0, 0x0, 0x0, 0x0, &(0x7f00000001c0)=""/210, 0xd2}, 0x800) sync() sendmsg$unix(r1, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=ANY=[@ANYBLOB="28000000ffff00000100000008cd7fdf03000000", @ANYRES32=r1, @ANYRES32=r1, @ANYRES32=r1, @ANYRES32=r0, @ANYRES32=r1], 0x28}, 0x0) 00:51:06 executing program 0: r0 = getpid() ktrace(0x0, 0x1, 0x8, r0) r1 = socket(0x18, 0x400000002, 0x0) setsockopt$sock_timeval(r1, 0xffff, 0x1005, &(0x7f00000000c0)={0xc600000000000000}, 0x10) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(0x0, 0x1, &(0x7f00000003c0)={{0x600, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x1b6, 0x400}, 0x10000, 0x9f8, r2, 0x0, 0x9, 0x8, 0x8, 0x9}) r3 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r3, 0x0, 0x6, 0x0, 0x0) getsockopt$SO_PEERCRED(r3, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, 0xc) r5 = msgget$private(0x0, 0x2000000186) msgrcv(r5, &(0x7f0000000380)=ANY=[@ANYBLOB="000000054293f63f000000"], 0x1, 0x1, 0x1000) r6 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r6, 0x0, 0x2001000000009, &(0x7f0000000000)="3c380652", 0x4) setsockopt$inet_opts(r6, 0x0, 0x200000000000d, 0x0, 0x0) getsockopt$SO_PEERCRED(r6, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r8, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000100)=0x1) msgctl$IPC_SET(r5, 0x1, &(0x7f00000003c0)={{0x600, r7, 0x0, 0xffffffffffffffff, 0x0, 0x182, 0x400}, 0x10000, 0x9f8, r9, 0x0, 0x9, 0x8, 0x9, 0x1}) shmctl$IPC_SET(0x0, 0x1, &(0x7f0000000100)={{0x1, 0x0, 0x0, 0x0, r4, 0x8, 0x5}, 0xffffff80, 0x7, r0, r9, 0x7fff, 0x1, 0x53c}) getsockname$unix(r1, &(0x7f0000000000)=@abs, &(0x7f0000000040)=0x8) login: panic: kernel diagnostic assertion "p == curproc" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/vfs_vops.c", line 169 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 16265 25810 0 0x14000 0x200 1 reaper * 41175 33056 0 0x14000 0x200 0K systq db_enter() at db_enter+0x18 panic(ffffffff821efc13) at panic+0x15c __assert(ffffffff82249f12,ffffffff822695b4,a9,ffffffff8222b23a) at __assert+0x2b VOP_CLOSE(fffffd807efc3000,1,fffffd807f7bf840,0) at VOP_CLOSE+0x12f vn_closefile(fffffd806d484600,0) at vn_closefile+0xd7 fdrop(fffffd806d484600,0) at fdrop+0xc2 closef(fffffd806d484600,0) at closef+0x11c unp_gc(0) at unp_gc+0x172 taskq_thread(ffffffff8251f4f0) at taskq_thread+0x9c end trace frame: 0x0, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel diagnostic assertion "p == curproc" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/vfs_vops.c", line 169 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff821efc13) at panic+0x15c __assert(ffffffff82249f12,ffffffff822695b4,a9,ffffffff8222b23a) at __assert+0x2b VOP_CLOSE(fffffd807efc3000,1,fffffd807f7bf840,0) at VOP_CLOSE+0x12f vn_closefile(fffffd806d484600,0) at vn_closefile+0xd7 fdrop(fffffd806d484600,0) at fdrop+0xc2 closef(fffffd806d484600,0) at closef+0x11c unp_gc(0) at unp_gc+0x172 taskq_thread(ffffffff8251f4f0) at taskq_thread+0x9c end trace frame: 0x0, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a2d1d0 rbx 0xffff800020a2d280 rdx 0xffff800020a18c30 rcx 0 rax 0 r8 0xffffffff810939af kprintf+0x16f r9 0x1 r10 0x25 r11 0x961718b672d37eb4 r12 0x3000000008 r13 0xffff800020a2d1e0 r14 0x100 r15 0x1 rip 0xffffffff81146c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a2d1c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (systq) pid=41175 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020a18ea0,0xffff800020a18280 process=0xffff800020a1a000 user=0xffff800020a28000, vmspace=0xffffffff8266bc88 estcpu=1, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62879 324011 63557 32767 2 0x10 syz-executor.0 62879 399249 63557 32767 3 0x4000090 fsleep syz-executor.0 63557 194808 93837 32767 2 0x490 syz-executor.0 93837 428582 52662 0 3 0x82 wait syz-executor.0 75671 492410 0 0 3 0x14200 bored sosplice 47703 141869 84350 32767 2 0x490 syz-executor.1 84350 17953 52662 0 3 0x82 wait syz-executor.1 52662 145652 7636 0 3 0x82 thrsleep syz-fuzzer 52662 26676 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 350858 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 26184 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 286631 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 65398 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 237296 7636 0 3 0x4000082 kqread syz-fuzzer 52662 508106 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 441381 7636 0 3 0x4000082 thrsleep syz-fuzzer 52662 132492 7636 0 3 0x4000082 thrsleep syz-fuzzer 7636 115041 93927 0 3 0x10008a pause ksh 93927 215400 10270 0 3 0x92 select sshd 72137 110163 1 0 3 0x100083 ttyin getty 10270 168026 1 0 3 0x80 select sshd 83186 464767 50461 73 3 0x100090 kqread syslogd 50461 109641 1 0 3 0x100082 netio syslogd 4021 177593 1 77 3 0x100090 poll dhclient 58409 139391 1 0 3 0x80 poll dhclient 50021 513144 0 0 3 0x14200 bored smr 41360 147134 0 0 2 0x14200 zerothread 38874 100195 0 0 3 0x14200 aiodoned aiodoned 5351 221960 0 0 3 0x14200 syncer update 27972 342078 0 0 3 0x14200 cleaner cleaner 25810 16265 0 0 7 0x14200 reaper 52624 413265 0 0 3 0x14200 pgdaemon pagedaemon 80704 104535 0 0 3 0x14200 bored crynlk 15576 339083 0 0 3 0x14200 bored crypto 50927 404669 0 0 3 0x40014200 acpi0 acpi0 91103 410784 0 0 3 0x40014200 idle1 46453 184180 0 0 3 0x14200 bored softnet 97912 398253 0 0 3 0x14200 bored systqmp *33056 41175 0 0 7 0x14200 systq 58917 34337 0 0 3 0x40014200 bored softclock 71206 6215 0 0 3 0x40014200 idle0 1 427158 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 33056 (systq) thread 0xffff800020a18c30 (41175) exclusive rrwlock inode r = 0 (0xfffffd807ecc4098) #0 witness_lock+0x4c5 #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0x4b #4 vn_lock+0x81 #5 vn_closefile+0xc6 #6 fdrop+0xc2 #7 closef+0x11c #8 unp_gc+0x172 #9 taskq_thread+0x9c #10 proc_trampoline+0x1c shared rwlock systq r = 0 (0xffffffff8251f550) #0 witness_lock+0x4c5 #1 taskq_thread+0x8f #2 proc_trampoline+0x1c exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8263a520) #0 witness_lock+0x4c5 #1 __mp_acquire_count+0x51 #2 mi_switch+0x392 #3 sleep_finish+0x113 #4 sleep_finish_all+0x32 #5 msleep+0x20e #6 taskq_next_work+0xbe #7 taskq_thread+0xe5 #8 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9469 6332K 6332K 78643K 10568 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 269 0 ifaddr 39 10K 10K 78643K 53 0 counters 43 33K 33K 78643K 47 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 16K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 76K 78643K 1263 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 7 21K 33K 78643K 149 0 proc 48 50K 70K 78643K 460 0 subproc 34 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 27 0 in_multi 33 2K 2K 78643K 61 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 215 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 100 21K 25K 78643K 1292 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 5 0K 0K 78643K 15 0 temp 70 3037K 3101K 78643K 2267 0 kqueue 3 4K 12K 78643K 12 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 67 0 23 2 0 2 2 0 8 0 unpcb 120 119 0 109 1 0 1 1 0 8 0 syncache 264 9 0 9 2 1 1 1 0 8 1 tcpcb 544 60 0 56 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 280 262 0 255 2 0 2 2 0 8 1 nd6 48 12 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 277 0 88 12 0 12 12 0 8 0 art_table 32 278 0 88 2 0 2 2 0 8 0 art_node 16 66 0 26 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1524 0 125 46 0 46 46 0 8 0 ffsino 272 1524 0 125 94 0 94 94 0 8 0 nchpl 144 1875 0 279 60 0 60 60 0 8 0 uvmvnodes 72 1601 0 0 30 0 30 30 0 8 0 vnodes 208 1601 0 0 85 0 85 85 0 8 0 namei 1024 4914 0 4914 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 scxspl 192 5543 0 5543 8 1 7 7 0 8 7 plimitpl 152 41 0 32 1 0 1 1 0 8 0 sigapl 424 331 0 299 4 0 4 4 0 8 0 futexpl 56 1417 0 1416 1 0 1 1 0 8 0 knotepl 112 89 0 70 1 0 1 1 0 8 0 kqueuepl 144 31 0 29 1 0 1 1 0 8 0 pipelkpl 48 92 0 82 1 0 1 1 0 8 0 pipepl 120 184 0 165 1 0 1 1 0 8 0 fdescpl 496 315 0 299 3 0 3 3 0 8 0 filepl 152 1796 0 1696 5 0 5 5 0 8 0 lockfpl 104 22 0 21 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 196 0 187 1 0 1 1 0 8 0 zombiepl 144 299 0 298 1 0 1 1 0 8 0 processpl 984 331 0 298 5 0 5 5 0 8 0 procpl 624 536 0 493 4 0 4 4 0 8 0 sosppl 128 7 0 7 1 0 1 1 0 8 1 sockpl 400 408 0 389 4 1 3 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 160 0 0 19 0 19 19 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 494 0 0 31 0 31 31 0 8 0 bufpl 280 4074 0 165 280 0 280 280 0 8 0 anonpl 16 44051 0 36104 43 1 42 42 0 124 8 amapchunkpl 152 1961 0 1844 8 0 8 8 0 158 2 amappl16 192 1148 0 714 30 3 27 30 0 8 5 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 50 0 46 2 1 1 1 0 8 0 amappl13 168 39 0 36 1 0 1 1 0 8 0 amappl12 160 14 0 14 2 2 0 1 0 8 0 amappl11 152 92 0 80 1 0 1 1 0 8 0 amappl10 144 15 0 9 1 0 1 1 0 8 0 amappl9 136 414 0 408 1 0 1 1 0 8 0 amappl8 128 326 0 308 1 0 1 1 0 8 0 amappl7 120 121 0 107 1 0 1 1 0 8 0 amappl6 112 44 0 41 1 0 1 1 0 8 0 amappl5 104 154 0 143 1 0 1 1 0 8 0 amappl4 96 530 0 497 1 0 1 1 0 8 0 amappl3 88 146 0 138 1 0 1 1 0 8 0 amappl2 80 1499 0 1425 3 1 2 3 0 8 0 amappl1 72 16729 0 16269 24 13 11 20 0 8 1 amappl 80 786 0 742 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 315 0 298 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 315 0 298 1 0 1 1 0 8 0 vmmpekpl 168 6355 0 6324 2 0 2 2 0 8 0 vmmpepl 168 45123 0 43385 93 4 89 90 0 357 13 vmsppl 368 314 0 298 2 0 2 2 0 8 0 pdppl 4096 638 0 596 6 0 6 6 0 8 0 pvpl 32 151326 0 139684 115 0 115 115 0 265 21 pmappl 232 314 0 298 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 183 0 3 6 0 6 6 0 8 0