OpenBSD/amd64 (worker.syzkaller) (tty00) Warning: Permanently added '100.64.58.3' (ECDSA) to the list of known hosts. 2018/10/02 21:53:42 fuzzer started 2018/10/02 21:53:48 dialing manager at 100.64.58.2:33825 2018/10/02 21:53:48 syscalls: 1 2018/10/02 21:53:48 code coverage: enabled 2018/10/02 21:53:48 comparison tracing: support is not implemented in syzkaller 2018/10/02 21:53:48 setuid sandbox: support is not implemented in syzkaller 2018/10/02 21:53:48 namespace sandbox: support is not implemented in syzkaller 2018/10/02 21:53:48 Android sandbox: support is not implemented in syzkaller 2018/10/02 21:53:48 fault injection: support is not implemented in syzkaller 2018/10/02 21:53:48 leak checking: support is not implemented in syzkaller 2018/10/02 21:53:48 net packed injection: support is not implemented in syzkaller 2018/10/02 21:53:48 net device setup: support is not implemented in syzkaller 21:54:36 executing program 0: 21:54:36 executing program 1: 21:54:38 executing program 0: r0 = socket$inet6(0xa, 0x3, 0x4) sendto$inet6(r0, &(0x7f0000000140), 0x0, 0x0, &(0x7f0000000240)={0xa, 0x0}, 0x1c) 21:54:38 executing program 1: r0 = socket$inet6(0xa, 0x1, 0x0) sendto$inet6(r0, &(0x7f00000000c0), 0x0, 0xfffffefffffffffe, &(0x7f0000f62fe4)={0xa, 0x0}, 0x1c) 21:54:39 executing program 1: mmap(&(0x7f0000000000/0xff5000)=nil, 0xff5000, 0x1, 0x4c832, 0xffffffffffffffff, 0x0, 0x0) 21:54:39 executing program 0: unveil(&(0x7f0000000080)='./file0\x00', &(0x7f00000000c0)='c\x00') mkdir(&(0x7f0000000000)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f00", 0x0) mknod(&(0x7f0000000180)='./file0\x00', 0x708e, 0x7e) open$dir(&(0x7f0000000100)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f00", 0x30090, 0x1) 21:54:39 executing program 0: r0 = accept$unix(0xffffffffffffff9c, &(0x7f0000000000)=@file={0x0, ""/69}, &(0x7f0000000080)=0x47) flock(r0, 0x6) 21:54:40 executing program 1: getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000), 0xc) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000040)={0x0, 0x0}, 0xc) setuid(r0) r1 = syz_open_pts() ioctl$TIOCCONS(r1, 0x80047462, &(0x7f0000000080)=0x7fff) 21:54:40 executing program 0: madvise(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0) r0 = getpgrp() setpgid(0x0, r0) syz_execute_func(&(0x7f0000000000)="c4827dbeca664d0f3a610a00c423c96a50020066410f0df0f2411408c4e27d792b66420f6c390fae85225600006626f2ae400f57a48404000000") 21:54:40 executing program 0: r0 = socket$unix(0x1, 0x2, 0x0) r1 = open(&(0x7f0000000140)='./file0\x00', 0x0, 0x0) linkat(r1, &(0x7f0000000080)='./file0\x00', r1, &(0x7f00000000c0)='./file0\x00', 0x4) setsockopt$sock_int(r0, 0xffff, 0x1, &(0x7f0000000000), 0x4) 21:54:41 executing program 1: getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000), 0xc) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000040)={0x0, 0x0}, 0xc) setuid(r0) r1 = syz_open_pts() ioctl$TIOCCONS(r1, 0x80047462, &(0x7f0000000080)=0x7fff) 21:54:41 executing program 0: r0 = socket$inet6(0x18, 0x1, 0x0) bind$inet6(r0, &(0x7f0000000100)={0x18, 0x2, 0xe9, 0x6}, 0xc) setsockopt$sock_int(r0, 0xffff, 0x1021, &(0x7f0000000040)=0x3f, 0x4) r1 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x80, 0x60) bind$unix(r1, &(0x7f0000000080)=@file={0x1, './file0\x00'}, 0xa) bind(r1, &(0x7f00000000c0)=@in={0x2, 0x2}, 0xc) 21:54:41 executing program 1: fchmodat(0xffffffffffffffff, &(0x7f0000000000)='./file0\x00', 0xffffffffffffffff, 0x0) pipe(&(0x7f0000000040)={0xffffffffffffffff}) fchmodat(r0, &(0x7f0000000080)='./file0\x00', 0x185, 0x2) 21:54:41 executing program 0: socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000002c0)={0xffffffffffffffff}) r1 = dup2(r0, r0) poll(&(0x7f0000000280)=[{r1, 0x44}], 0x1, 0x0) 21:54:42 executing program 1: r0 = socket$inet6(0x18, 0x2, 0x6) bind(0xffffffffffffffff, &(0x7f0000000040)=@un=@abs, 0x8) getsockopt$sock_linger(r0, 0xffff, 0x80, &(0x7f0000000000), &(0x7f0000000080)=0x8) sendto(r0, &(0x7f0000000080), 0x0, 0x401, &(0x7f00000000c0)=@in6, 0xc) socket$inet6(0x18, 0x8000, 0x9) 21:54:42 executing program 0: symlink(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00') mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x7) unveil(&(0x7f0000000180)='.\x00', &(0x7f00000001c0)="0002") mknod(&(0x7f0000000140)='./file0\x00', 0x0, 0x0) 21:54:42 executing program 1: semget(0x2, 0x0, 0x0) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000040), 0xc) r0 = socket$unix(0x1, 0x2, 0x0) getsockopt$sock_int(r0, 0xffff, 0x8, &(0x7f0000000000), &(0x7f00000000c0)=0x4) msgget(0x2, 0x1) r1 = msgget$private(0x0, 0x660) msgrcv(r1, &(0x7f0000000080)={0x0, ""/206}, 0xd6, 0x3, 0x1000) msgrcv(r1, &(0x7f00000001c0)={0x0, ""/244}, 0xfc, 0x0, 0x1800) 21:54:43 executing program 0: mkdir(&(0x7f0000000140)='./file0\x00', 0x0) chdir(&(0x7f00000000c0)='./file0/../file0\x00') mknod(&(0x7f0000000000)='\x00', 0x2048, 0x7f) mknod(&(0x7f0000000040)='./file0/../file0\x00', 0x8000, 0x5) chroot(&(0x7f0000000300)='./file0/../file0/file0\x00') unveil(&(0x7f0000000200)='./file0/../file0\x00', &(0x7f0000000240)='x\x00') open(&(0x7f0000000080)='./file0\x00', 0x400, 0x0) 21:54:43 executing program 1: mkdir(&(0x7f00000001c0)='./file0\x00', 0x0) getppid() pipe(&(0x7f0000000940)={0xffffffffffffffff}) setsockopt(r0, 0x8, 0x3, &(0x7f0000000440)="8c6a5c8dbd19c2a89b9ddd96786b308d97709fcd064268c8c6310465135fd545a506c82bc19bac006602ccb6045c6e466a86ca625312e436fb6b409e5aacc38da350b948149108e02cabb5fc349a807d32ee4d910ce9fb6a378e19f2f95f631118c1ef1ac4a4bf69d2e070e096c0a808b4f6561259c494f76811224d5f22c8a871f2a433ec2a06ed543a8c38c983ba46907ebaefeb1cdff698a8f0ee66e0b8fe6fead5df8f15b19d8c66aa77fc4640222a54d078166330810a9b7adfeb5887ad07f2e87fa95cb3703516b3f95d7ac717a8bb2a38f31f5ed953f6fb59b77771", 0xdf) open$dir(&(0x7f0000000980)='./file0/file0\x00', 0x0, 0x0) execve(&(0x7f0000000000)='./file0\x00', &(0x7f0000000300)=[&(0x7f0000000180)='\x00', &(0x7f0000000200)='\x00', &(0x7f0000000240)=')\x00', &(0x7f0000000280)='r\x00', &(0x7f00000002c0)='r\x00'], &(0x7f0000000400)=[&(0x7f0000000340)='c\x00', &(0x7f0000000380)='c\x00', &(0x7f00000003c0)='r\x00']) mkdir(&(0x7f00000000c0)='./file0/file1\x00', 0x0) unveil(&(0x7f0000000b40)='./file0/file0\x00', &(0x7f0000000b80)='c\x00') unveil(&(0x7f0000000080)='./file0/file1\x00', &(0x7f0000000100)='r\x00') getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000040), &(0x7f0000000140)=0xc) 21:54:44 executing program 0: r0 = dup(0xffffffffffffff9c) getpeername$unix(r0, &(0x7f0000000100)=@abs, &(0x7f0000000140)=0x8) mkdir(&(0x7f0000000240)='./file0\x00', 0x0) lstat(&(0x7f00000000c0)='./file0\x00', &(0x7f00000005c0)) r1 = open(&(0x7f0000000080)='./file0\x00', 0x10000, 0x14) unveil(&(0x7f0000000300)='./file0\x00', &(0x7f00000002c0)='r\x00') r2 = open(&(0x7f0000000280)='./file0\x00', 0x10080, 0x190) getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000200)={0x0, 0x0}, 0xc) fcntl$dupfd(r0, 0xa, r1) link(&(0x7f00000003c0)='./file0\x00', &(0x7f0000000400)='./file0\x00') getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000340)={0x0, 0x0, 0x0}, &(0x7f0000000380)=0xc) connect$unix(r0, &(0x7f0000000040)=@file={0x1, './file0\x00'}, 0xa) chown(&(0x7f0000000000)='./file0\x00', r3, r4) link(&(0x7f0000000180)='./file0\x00', &(0x7f00000001c0)='./file0\x00') 21:54:45 executing program 1: r0 = fcntl$dupfd(0xffffffffffffff9c, 0xa, 0xffffffffffffff9c) ioctl$TIOCCBRK(r0, 0x2000747a) getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0}, 0xc) getgroups(0x3, &(0x7f00000000c0)=[0x0, 0xffffffffffffffff, 0xffffffffffffffff]) fchownat(r0, &(0x7f0000000000)='./file0\x00', r1, r2, 0x6) getitimer(0x2, &(0x7f0000000100)) socketpair$unix(0x1, 0x400000000000007, 0x0, &(0x7f0000000040)={0xffffffffffffffff}) sendmsg$unix(r3, &(0x7f0000001800)={&(0x7f0000000380)=@abs, 0x8, &(0x7f0000001740)=[{&(0x7f0000000580)="526ca8c44771c4c7d51039d10572955a2f7b03871ffe0620bfc7d6b5c5e3ec5fa54fe37357ca8c4565851c57b734b6ceef717df471ed1094a08e164e041af81a5badddc14c24b5b0f0a2db14d97e6fb8bff4837ccb9abcf6691517e3d050a4a22dc483835753ec31d8e480c8c71669cc40f284f2a35fab9f69165e1dd14ca0f12fca924f01beb08544a8d28ba288dcdc8178b00ad88d3f17b738cef5df213c29ab4d1106cd8c858a33e2a6a2a733a9ac216d073436bb6d91ebd478da3bf03f7127a85d3643c7c2d2913cc8e3f4bbc55f4b8f040349a2cb06dba9bdda18345733c727f3ce037226d36d5569ee6d230939119a4d0cf60b0a786f75edd27a819e37a696729a604cb4f7cf36bc3dfbdba0644b992aaa213f6a09a2c3867c2af00b3d3f1096135cf9946d33c7338a73d07757ff0c71c942d2229b88100fa08926a1c67f6b6dc275b6429374c55dcf182de7a1b04f0b3e9b83427d26a3d29260068bec4149f46148d3f6dd95eb178f88a14586b3574aa6d6b3e324110e8b062c933b3538581510cc6b48b6ac7537ffc1236fdb31a4a873709b95ed0df9d0eb9e7cd35cee3c1fc8cd25928d0ce3770bbaeb494b04dc1c5735d3fa98f447866c05644acab945c42522783b18dd0f5824322d0886e56f32c60ad4037a8f717a0d76862428d38b45ab7a30eb6a1849f712013cced7ff5de25aebf8c0d78e32dc64a40736745b6c2c9c0295b6b099d96cbc5f21edbb6b50186fafb8907df6cc37ec0755756b81fdf6ad5eda8573d5d8ce64969000694b828ec19b2fe8620c0ef3e21811f8d4b5b7d6a14aa6f0448d43904ddd24ec4a373e535e5a0fb1ea640652576a3404390e591353af604b178e5f75d705f660bb6845d014604ff3b5a46ca0dc737501ebd696cba27162f949a92d65433ae2612ba6b64c86feddffe845c3c33b19b93dca880e66f598264c8690e90da96a0d34935072b8eb628a1cfca323c7485c5e8d770f885f74aa2105d37d74104e826f308abc3e386785ce17a52f3b2d2970d31f375078bf3485ba5a482361fd1c955362a5a083961d38ba48a3a2e73fd6333d6579251164b0e67082f3b935d583984db357e162a162576f26a18511b4a8ad9f931564c9865c36718a21b9beb02ca8ccb5c1fa8500404f29e0601d92b2e698edc4c8913f519233c10256b776fd6005214b096e03c4ccad551e60ba7b150acf7b5b93e1a9d9b3aa0f06802120434d320a994fd3380434931a69eddb14dca0c81133a0ccfe592d0df4bd267cd8f614aceacc00f7475f0e7493fe825ab9cdef69dca9e0971478c23d407173aea392dc68015bee19944c0278daa3722a627b6eaff6fa76dc45d301be5867b1e7bab24fe9a1e541cf5a2f35288e4616e1087b3ce1bea468e3d24e05d3cd84c41a663bee4cdfae51dcf9ec30cf1aa86742f34d9b9968af51e2c04b6343ca4854861af2f9c17d896a5541689984e108773a40a1dae7e2186d9da687c3db938804b0dd35e7d6b5257885968f91303aeb199334cc26b3ccf4884c40307b713a93f9aa14a5b42267c5c426749a3d8af399918894daa1683b96a6769a9fc6626305b73a2737752cbc37c7e3f919886b3a8cfd4d590c4aa3a8751a4cc9e5620e188d3fc6a9787231c97b7f235ac0f45df656ca3570ba0f25a5be82b7cee9aab465d88cc5ea07ab135526e01feb73d2d1ee2bd57a00fafd106c3a69472ce7fc62c4f231d29f3a81640fb163bcad5a3350b10d0c1e889625c4eb8cbbd89afda09822d7f044474bb61f42e94b1e2f584de3d3b6ca87dda155a88aaa375f43ee84561ca03851509cb7a9cefc00c39aabaeee5fc6eb784d624f574ff498f3b4b613bb89b485ec4b8e2349186dd5abd50e0d91f238b73fdd07a6baf6ed76f044cb154b8b830e7b905062791572950ce25e6936badd36e0e9ead9f188e0ead68b2580ad0de653c65d1772ef1b93770917fcf73689048bc9eed0e414bfd29b906a564ffaf65c46bcfd85b5165869709f4d0a358cef79aad179901160f6920dbf74ecf3b65f4c0d4032d1bf3071ae2d857c9b96ffd2c69207dbf5d6276fe9088af89e1de2d86f4df6bd4e2d07a9bc0da24c617a16ccb1ce45ae40039298b07d6215da68270ed88ae4159c431091eb840337a8723497a432a91237b592c823816096f1968e5447646d1ab90a560378c3cbac45675ff98fca9bcdbe4cada444d845979b6a065511aea62b9d4cf03d90c3f323eadea1019f968e68886fe1ee8050a7fadae2da16b7521e7bcc54856947ca6fdd759a2ff4f2c501c82ce9cb286754555746a2337e0f6450d3e3ac577af3352c3e24a961b68521936838ff550789301e91dad78abf8db469ffd5a69a3a37573220fb8789e510ef7a882338810be1b6b0d0c87b6f20e824bf772db37825bab98159b177e64ff1d5a11ad339fbc61825c72542fdf9058a00b93e5021935e37cc01a3810a586ed5bca60308f1d67dc408d788ae6f93a30b7878be2171cc0e17d3d82209375e7ed80dfa9e24c2e8ce14a352ece25cd70c236a1cb1bd4b0bb9a9426cd369c385ba2ac1656717ca77916dc0f0b2a8a82b522b616ad54e225b5f070186a0cbec1c146130363c5062377df8685ef0c3820079f2e4deda1ea7b2cb399f800047bdb591e03f30bfd074de30a0a70d5e62cbb7d02c44159e7fd5b7c7292bee01063402fa6a87b2b2223bfb4c13e6eae252df", 0x784}], 0x1}, 0x0) 21:54:45 executing program 0: r0 = semget$private(0x0, 0x2, 0x80) getsockopt$sock_cred(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, &(0x7f0000000040)=0xc) r2 = getgid() getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0}, 0xc) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f00000000c0)={0x0, 0x0, 0x0}, &(0x7f0000000100)=0xc) semctl$IPC_SET(r0, 0x0, 0x1, &(0x7f0000000140)={{0x0, r1, r2, r3, r4, 0x10, 0x5}, 0x10001, 0xd6a8, 0x1}) syz_open_pts() syz_open_pts() socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000440)={0xffffffffffffffff, 0xffffffffffffffff}) close(r5) shutdown(r6, 0x2) 21:54:46 executing program 0: r0 = syz_open_pts() syz_open_pts() r1 = kqueue() kevent(r1, &(0x7f0000000100)=[{{r0}, 0xffffffffffffffff, 0x5}], 0x40, &(0x7f0000000280), 0x0, &(0x7f00000001c0)) socketpair(0x1, 0x2, 0xd4f, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) getsockname$inet(r2, &(0x7f0000000080), &(0x7f00000000c0)=0xc) r4 = shmget$private(0x0, 0x1000, 0x92, &(0x7f0000ffe000/0x1000)=nil) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000180)={0x0, 0x0}, 0xc) r6 = getgid() r7 = getuid() getsockopt$sock_cred(r3, 0xffff, 0x1022, &(0x7f0000000240)={0x0, 0x0, 0x0}, &(0x7f0000000280)=0xc) r9 = getpgid(0x0) getsockopt$SO_PEERCRED(r2, 0xffff, 0x1022, &(0x7f00000002c0)={0x0}, 0xc) shmctl$IPC_SET(r4, 0x1, &(0x7f0000000300)={{0x2, r5, r6, r7, r8, 0x90, 0x200}, 0x4, 0x100000000, r9, r10, 0x4, 0x0, 0x80000001}) kevent(r1, &(0x7f0000000000)=[{}, {}], 0x0, &(0x7f0000000200)=[{}, {}], 0x20000000, &(0x7f0000000140)={0x0, 0x9}) getgid() 21:54:46 executing program 1: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000140)={0x0, 0x0, 0x0, 0x0, "a883c71fa60800"}) r1 = kqueue() kevent(r1, &(0x7f0000000000)=[{{r0}, 0xffffffffffffffff, 0xc1}], 0x2, &(0x7f0000000100), 0x0, &(0x7f0000000080)) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000180)={0x0, 0x0, 0x0, 0x3ff, "74368af9f3a652b8c6db83280b5635b37c0e4c29"}) pipe(&(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) recvfrom(r2, &(0x7f0000000080)=""/96, 0x60, 0x800, &(0x7f0000000000)=@in6={0x18, 0x2, 0x1, 0x3}, 0xc) r4 = semget$private(0x0, 0x3, 0x0) semctl$GETNCNT(r4, 0x4, 0x3, &(0x7f00000002c0)=""/88) close(r2) kevent(r3, &(0x7f0000000100)=[{{r3}, 0xffffffffffffffff, 0x48, 0x40, 0x5, 0x6}, {{r3}, 0xfffffffffffffffe, 0x4, 0x0, 0x4, 0x5}, {{r3}, 0x0, 0x81, 0x80000020, 0x1}, {{r2}, 0xfffffffffffffffd, 0x8, 0x2, 0x4, 0xf95f}], 0x7, &(0x7f0000000180)=[{{r2}, 0xfffffffffffffffe, 0x18, 0x400fffff, 0x9145, 0x1}, {{r2}, 0xfffffffffffffffd, 0x0, 0x1, 0x6, 0x6}, {{r2}, 0x0, 0x80, 0xf0000021, 0xfff, 0x200}, {{r2}, 0xffffffffffffffff, 0x40, 0x20000000, 0x10001, 0x3}, {{r2}, 0x0, 0xc0, 0x2, 0x88, 0x9}, {{r3}, 0xfffffffffffffffb, 0x0, 0x2c, 0x9, 0x4}, {{r2}, 0xfffffffffffffff9, 0x0, 0x3, 0x10001, 0x81}], 0x90df, &(0x7f0000000280)={0x8000000000000}) close(r3) 21:54:47 executing program 1: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000140)={0x0, 0x0, 0x0, 0x0, "a883c71fa60800"}) r1 = kqueue() kevent(r1, &(0x7f0000000000)=[{{r0}, 0xffffffffffffffff, 0xc1}], 0x2, &(0x7f0000000100), 0x0, &(0x7f0000000080)) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000180)={0x0, 0x0, 0x0, 0x3ff, "74368af9f3a652b8c6db83280b5635b37c0e4c29"}) pipe(&(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) recvfrom(r2, &(0x7f0000000080)=""/96, 0x60, 0x800, &(0x7f0000000000)=@in6={0x18, 0x2, 0x1, 0x3}, 0xc) r4 = semget$private(0x0, 0x3, 0x0) semctl$GETNCNT(r4, 0x4, 0x3, &(0x7f00000002c0)=""/88) close(r2) kevent(r3, &(0x7f0000000100)=[{{r3}, 0xffffffffffffffff, 0x48, 0x40, 0x5, 0x6}, {{r3}, 0xfffffffffffffffe, 0x4, 0x0, 0x4, 0x5}, {{r3}, 0x0, 0x81, 0x80000020, 0x1}, {{r2}, 0xfffffffffffffffd, 0x8, 0x2, 0x4, 0xf95f}], 0x7, &(0x7f0000000180)=[{{r2}, 0xfffffffffffffffe, 0x18, 0x400fffff, 0x9145, 0x1}, {{r2}, 0xfffffffffffffffd, 0x0, 0x1, 0x6, 0x6}, {{r2}, 0x0, 0x80, 0xf0000021, 0xfff, 0x200}, {{r2}, 0xffffffffffffffff, 0x40, 0x20000000, 0x10001, 0x3}, {{r2}, 0x0, 0xc0, 0x2, 0x88, 0x9}, {{r3}, 0xfffffffffffffffb, 0x0, 0x2c, 0x9, 0x4}, {{r2}, 0xfffffffffffffff9, 0x0, 0x3, 0x10001, 0x81}], 0x90df, &(0x7f0000000280)={0x8000000000000}) close(r3) 21:54:47 executing program 0: r0 = syz_open_pts() syz_open_pts() r1 = kqueue() kevent(r1, &(0x7f0000000100)=[{{r0}, 0xffffffffffffffff, 0x5}], 0x40, &(0x7f0000000280), 0x0, &(0x7f00000001c0)) socketpair(0x1, 0x2, 0xd4f, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) getsockname$inet(r2, &(0x7f0000000080), &(0x7f00000000c0)=0xc) r4 = shmget$private(0x0, 0x1000, 0x92, &(0x7f0000ffe000/0x1000)=nil) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000180)={0x0, 0x0}, 0xc) r6 = getgid() r7 = getuid() getsockopt$sock_cred(r3, 0xffff, 0x1022, &(0x7f0000000240)={0x0, 0x0, 0x0}, &(0x7f0000000280)=0xc) r9 = getpgid(0x0) getsockopt$SO_PEERCRED(r2, 0xffff, 0x1022, &(0x7f00000002c0)={0x0}, 0xc) shmctl$IPC_SET(r4, 0x1, &(0x7f0000000300)={{0x2, r5, r6, r7, r8, 0x90, 0x200}, 0x4, 0x100000000, r9, r10, 0x4, 0x0, 0x80000001}) kevent(r1, &(0x7f0000000000)=[{}, {}], 0x0, &(0x7f0000000200)=[{}, {}], 0x20000000, &(0x7f0000000140)={0x0, 0x9}) getgid() 21:54:47 executing program 1: mprotect(&(0x7f0000000000/0x600000)=nil, 0x600000, 0x0) r0 = shmget(0xffffffffffffffff, 0x2000, 0x0, &(0x7f0000ffb000/0x2000)=nil) shmget(0x0, 0x1000, 0x140, &(0x7f0000481000/0x1000)=nil) shmctl$IPC_SET(r0, 0x1, &(0x7f0000000340)) r1 = dup(0xffffffffffffff9c) pipe(&(0x7f0000000000)={0xffffffffffffffff}) fcntl$setstatus(r1, 0x4, 0x80) dup2(r1, r2) 21:54:48 executing program 0: socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) setsockopt$sock_timeval(r0, 0xffff, 0x1005, &(0x7f0000000200)={0x0, 0x401}, 0xfffffffffffffedf) open(&(0x7f0000000000)='./file0\x00', 0x40, 0x1) 21:54:48 executing program 1: socketpair(0x1, 0x8007, 0x4, &(0x7f0000000180)={0xffffffffffffffff}) writev(r0, &(0x7f0000002400)=[{&(0x7f0000000200)="fdfe1088ea5ba9f0b32a5f9680a346adc44cfcd7e46ba74d8d8329a3caa54953c278c9effb", 0x25}, {&(0x7f0000000300)="8036002c82f5d540d17f1f8490ba0f126c5c700d223b24278b78014a906ead3fcb84436ceb216b2886996f593619d553e761550297778515101aecd97d9d08a3155321ce1cf10ca05dab43d77f3909249eb503c541cc6b65125b76c789274c832141992daf8ac783d0d8f1c212bd9c1ef439bfa1bab145307e1bd7c2", 0x7c}, {&(0x7f0000000380)="e5a976058311f99098c87e46a46b063d4e4ac235d55a47ef2db29a482f75d570afd4d4fc3ef931d4dd6fcf2b4a76cfd15cd6c35ac132ac2211bc049d42f795ea246654538755584319b65dd7f43358af5ac28620a39f3740558fbfaf2885d8a2e76d3742975804406c011b7fc7e0be6b944b4dc5404c7ebffdc898137ac7a0a2c032dc71ede76a5c7a9eafae77dd869b785b9c9d277bba5f64e1462e91961693e545a18aee13d1723a03ae2b2d9c4715107584035e5a5d67d7bee53e0e1838f82fd18dde3ef36c73911b3c49cafbf06d67c8cbf4a761f4b0ea5b21b63399ae683ae886b5713019f34bfcb4d0dbee29b3bddb2d53e6cc10b9ffbc34d35e414c12df5f4ba041e3f557ccea368da636e31680ee2b26be7b59e641d013cabcbb6918a0a732d02b1c71cc664732af8fc09d1f397cdf56461bd6aa9b5e1cdf23bc466602fc485c276ec23671d9734dce14b4537119fad255bdc82f3a7e3a32ddf1771a8763fa3bd5bfe655f05d1b60755ba169785515e5795fa3b01d81d15960588c8977da5d5ed1e97514901ad66052876d70c053a7e8480a14b3477c17aadfca0efcc56c8ffda8a14968d90246e68b110b3998b72c579e7ca4f67039143615894537c93ad41b8301a00b2c24bbbc2379c08685b3fa30a9e33dbf350ae52c4472246ded9ec8f8769c3635816a7ba547eea8c1d4975893d7ac55417fc4fdfe614a9c687f421f993f0738393f992c8e0a78179ffa41b44e37b9680b67e6d6100b443e872bd40ffa42af87f943ec14ea4af5c58eb656aaf711f788d7dfc1befa39b70c21417a160d06d0e3597a7350dff1e058655b3bbce917d9b3f2b58cb035fa81859afde81f7de44e4d61f7b8c4de9ee42fc5654999d0961daf13088aa54ad64acb513e4d5153dfaa34811fedac1ccf302ae9603b341e907d0c87d195b81958e77191d714a72e3da14e2e6aa4530cde387968be4c8c339ce0e19ff898b16f6b63b3f3a6d0fac3b0a2bd11f88bb9dc17d4f5da8217ff146801c09ed3c4383584c31c80b96224e8171340b85ee5b85d0acb0d9dc88a3bef7430fc9b16c8990d3c5e828d06762247a6a91f90442def2b9aa85facdd04457df39c6f0ff724d83aa6437047718720f341a32dfa26a430a10bfbb2a64ff7c8b75c375f725565a34884f95d00763d0b1c282bead3d3939299e9626bcafd6fcefcd91689e316ae47af213df338c5a6dcfdcc0c3080dceb1a576cde970688290eddf83d358f320b83809908fccf6c971ac4ec08ea155a3a3a350a736a05cd1da4986fb654d0df3cccd0d816962ce6a8975b8d53b47d6044e2862d0d3be2abd1e7fcec06d088ada4d731fe555201ccb88762f38336d2fc13f926cb0ccd2c48bbb673235453da92c9e51934a35e6db4df76d1fede1551b9aa258abcf134dcd4604a6df32cc78734768f982818c7d3095887e490bd98d69d5dae241e47971a4532cdc0c44ba090c9586404b5e0e029e7b21fc97e94a79b34b2e1fbb466c9f6fa6cb7c9d77f6363040cd175133069a04518ef3e54936ce1dcd10aeb362cba3297ced1e2c97e6c6997d092f4e485cbea0d1c080d04124fc97d433c512738dced7979f413b735189866b2fb269baa66c3da9823518c8037787c47f6ce765f96b325168f2cbc74dfc9d7193574ec1794ac80e32aaa685310cf43301bbdb0307cf168a292ae3440466a0a107add07b3a739cbca4fcc4b3968c740728275152d1ab84b66881d7fa2963e5da15ecf71965d0b7a990f961d58d573c73fe6b5495f8dbea8e8fe074f0b65e7e671c37d712d830bf17b8f880e415b322b87826dd0a281861f968b24c4725c916f4fcc1a87d23a3eea40f67e62815c981b82357bd8aaba6340e6c687ca3f327b606ce765bed1e783591f54cfdd1737c148bd6adb4020ce312a8008636f512e82a976de4649b8bac0a8b916778ce90eb19686fb2c9d4431a9ef5399fcaa732247ee557de394977f4e749a6c36b7e4303e3c975407224e51b6bba24f7f88ecf38dde1f8f7ac7d35f0df03133b857a647b25c6ab31ed657e2911b4ee004c1f236277e8adf3cfaa4684198449f5fbb65c122552467e6bc9fb93062d9a8480a80c89bd2c4f31c7e11fd8750652b742569b8f17998d66943db9c2b281e317f4c7228b5b0930fbecbe08b73663f438b5a0488c52cc9f7f18aad102fddd9787b8fdec909d602b881c323a34e3fa6f97fa7fb4558a46976972754fe83faa0b31ad3b65bef62019c6a1f37176e43b7b8c566e091eb2685f6a457f3adbbe3a48c48fca59e6b38d85592f408f4d889b26599210827ccdf589afd8ee1d300f3767adac32c79d80afb8bb00c7d6d195b0e1c1891520f56fad05031495e8e7aba2c6444b61a48354b0d0c67388bee96ceabe1a413f4cdd05ee80bc6a68106f6dcc113fc36c410df82ef5f97a3a242efad245ce41611bbb36abadb0675d792e2bb8d585794d3fd27d5514b0391236393c8852b35c842f944e2c892697b15c4239edf91e7e804328f0aae0cc380d7881c0f53c99ad25c426ce6cb50c0ef47d2f415f8ee78cca06e92d6a6a7ffa432e6dbf92ca5c3b5f7a60a7b5978ceafdddbeeb4c7c478213e39a2fa0238e72e855f781c0a36d172a829232e48b6e6c9acf5bf5641be07d0cbc7785dea0368d1dbfe9f37732c9b8957d7caf3bb452634758f136f15d72a0c7e99971cac7321cfc920bd40e9f5dd5b20c4955b3f76645bc7e1aeff2296e658c3ce6fc2e2350f0231e1e79a0efb415beddc90f2b5e94d8806bc1917d70f50f5427777463d2f557f6142afb0f2399fe54576a7667e1cfcdbd54b3242472006583859aa09e89e709ef425077d28c3103cc5123abf29596d52e2d91e361705b321bccfd7647242593ddb22b454d198e88e30b78ffabecce31b6269a36bf0588a8d0983c0f7c6084b6558896a39b557aadd8dc3c4b73e8c639e5e6248b5a274af437d9278cf6e76f7dfac652b53e03ceae2da30b23bd16c7cc2cbb088974e8982449b5edab63e0781c655205bff9acd180b5991f44255db8e15e20adb79afefbc795360aecdac3c0949d7c3ceba68947e2551d73d0092449a75cd4c1b5df304c893b70f2796f7aa969b73352465b7e7fdc7e9aff4f5b8868d02b0ecc58c2757f8e7fa5915694848dd567cdf45cb7c7030581d0e56cfe03abd37526235262accfccc5e1e80a2f12e297a48eea6405e5fb259678f537a591ae7ce2d6fdf33e16c792a84fa5e47cb9191f84079a8c917bc19a8ee8c2ebf7038e9db43d1fe7568cdcead9f10397e595570855e5217c7c7d46e9b49bcee7bd3cd7d23f73b44f7920cec7ddbb5991502411e8602f22acee0d73df13cc2754161d8f20ca3cf030be4c825ef156a3b614795ec544ae7c0db60e95cdf860745a507fef6c999493553ee1299b979eb679ae95480c0fbbe04081f72a4b41f5ddc08467aebe625c578957fe0b6bd5ef4d1403979731fd446692594c57771bdda3d6f4cde734390338b6523bfb8c88f620ddef821586901502339b8c2e04fbec54cd0af6f7c53e5904e5ba2a67daef2b42b0243010a86570fa21f1b07281c90f379c019568af05bf7eec9d745b87527d65136b0691c18b01509ee2f23c7670715ed1431191998b459917fd868b15b1f65d26ceec5b84b1df382f0af08b314244676b89a563046d190945fe8ce2ca7f4f3c5d619436b7248feb86cbba249b1901575c36f70940160202842d494f8f9c11327e784bb15cd2e5723d5a3cd5656a6a464f92d2ab14fbdee53b033ea76656346ff0bae53634e530483ebab98f0277c3da3a5274df3de234473a67ccfb52247982c4b7e3d59984c501958d269c290ed112fa3acb53c3ed05dddb7af170912d097907b77cea5c864ec3226323cca115983a462ba87363a73ddcad228753b33b06d92f90db8b85317b34ab6ef21cbcf862fb5bd47dd77d7d2736d9623e39adf2cb889716ab0f1fd257f5ca6b0d40da2251bcc0abc3e6bcd0576a13045270ac2c01c7e355c0f6f9677fa250df009c1ce6a7635b2a7abfd0aad5319acbdacd41132a5e968e7c4d1793578d1f3bf9a279437486d1ff0011299e128329ad935cdcdabee5d40540068d47a08ea40feed3de685f0d298206e97599f2dcd8ba2727bf666e023be4e9eb00fa2d5b61a84a286bf2151c1d2d82c765b8997fc15f79715ccdd1553a6e745d4f5d04d13547dbac1f1e4bcda8e23714afd674f5cfd21f859d7fa287276399909872690383ea10bf68f1a153d987a6d983e12993f2039ccf543fdc01e8db63a4732f977e5e944cc295b918d75d974f89fde199049ca97a6df2ac35770ee36bafd4c1e3b98025c9b5558b96a28d64fdef48230b1e58065699d9c0432fac52b15a76c1e29af5af32677c9870ded2da5d8625427c655c8b46db8b383957878b4b132551a507334b4e5c96505ac6503be71b42d702341a93977104e6b897e1e880d1ac2afeb1762bda09dd4e398028e596e991d2e0b88c3a8b0485c4c585cc15dd8bab44c211d7d9356869f3ddd98be147fe481a037349fe9b14a7bb3e727da15449ebf594204b7b84148a6e152d8c2167b473415f990e8e975b382040ca45e4a393e79558b25ffcb774e007c5f22a0a1eae9c77579416c29177059d51920ebecdebceb429585ebb829f47281a16645dbaa196a776c1e62b8faee70f4bed8f417cd91eb2f32e81b335a36cd3bf3fb1da373f8cda9fcf3481965ae25ef4ae69fa4f4a6586e63d718bc2f7af620a894b44c62501a49e8fbd7cf2e5a28361a07fae65d2c7907717d45ea7f3c3ee33852c0562b8904c888e797184fc4f51d8f1dd0b3b06ed9adcdc9f17d4619366a37933b5cf4db1f39501c5d89c8635df162ce5e9dc9051117541979cc697eb2d2820a036c5ae3680865cedb296767b84426457f82e6f819f9712af33a104581c3200718db27de80e88cdcdded850ef3953e932dc37f50c23d00398fd6265c3972d7a4c4cde192dda62317c772466eb5e0a01d703e51f98c9c2b93c60eafd792ab96ebf918623946833eab7d82cef6d188d4474d8baf9feab88ac19b1c79ebd32cce4cfc6561cbf93b8b300a148d3231f6ae6a34b7adfa1e5ee13a945310f4c83a2de2600d3d33b8f2ae8310e5b27377b73e364bef949449922fd240a3f88aebb5acf47bf3853c4609503c15ebc9aa00965426897a5477a73f618a43326da77e5f45656daea8329f8b924e2f5a1be31d6865fcbf500360f948e8ab0f840192ea6bdf8f7337001d2cd76d1ccde6851d02484bfbbfb49eaffdb87b9a82c1f2cd6d65aa2a04f13613693c3a1b636a4a5fb00a423f9025f5ea8d6bffee9a7e8a5af28c98cded9c5c9c7ecdc5c3e23f1e83a991cf98029d8796dfffc4a0ab1ef8e5ab92795f32ef22d29ac3d0cb7c77592b8a7ad271013db622938987f663becb75d72460975ec9d3e4b5e34972ab11d0fcefdfd02d9735a3db2084608bfb81628daf90184e0b1ea17470979f4e63acc36acae25b19ce3fca28754e77993c3ad924f5191e8412f508ff0bb6b1918a3a92697ea98ea00b4984706b79f26c6f6f2296e6f49271cafd722121a433a9a4a9e09397c845e40a625500a00262ab0a5ed51203c6fd1a4822a01eaae244bf7a3ede29c90573d975d1647a249e55b3074d23c4003a9a0b51ea3da37885a012b2d185e7eafc827adeb46010c037062c98a98481c9e89e7d9b84001523de885d7763e1e84c545bf76bb6a16eb4d2e73e8f4cbed1552b9cd2045d80ef9f45cd9fc91385b129d2d8f9e118e83ccc0bedc4", 0x1000}, {&(0x7f0000001380)="daefab81eb4d291b370a1f6665e3e9ccbf0a16b78e5ade199522b51dd848d16e0a6fc68495fa78c88181439c28fd41ef186e4fad898c5d182d109c2b655c1384561561ce5431317810abb4faf41c0b30abacca606c10c295f3b796774dae042665954df68b056d147dabf6a9fc80fda2538c945ec62978f7918002dfc7fdb49da9cdc4aba6f247950df24f857390bdd24dca42fd4809ddb6e9b1dab5856373c8c9df75f9eecdfb0daa8475da6a9ed1f7245a54612485a562e5e2d910e445207904472f62ef2986e6ff9b53853587b38ca1e92ee45ece9fe5fa5e0b8997e179f6cc542be4cf2e6cd3cd4522efb4251569c019a1265b87a30d7ea81adf4f60bbe0f316d4fcdcea182c52790727512e50ec6ee531eb12104314a9a3090d00e36e43bf4ba2e4a42ab77b9762e778ff176754189b3e5e8633820fa78045e34746f5279baae8aee079af30b2f1e167a8ddb63f0fd0e8d2d092e8530b9a33aa5db2e78008cf0d61bf35e3a64bd70109235e7f001645667a8dc0a94834020c82a57ee38b51e3a5e36ae5caec672920514374c11e688c29dd7ae5bc700b5c69e8c2ae6ae1c766e8c70f3e12dcc2a0626b40c0f5dc47726e150537516b782376e14adac068dd18edc62b21f8c7838a1583b48d25b310cc8c146d527e868701fefe90945cc69068e7492d806ebd90dda3cb04d5bfa3bfd1c7055aa092e6f86b9bd5f60249d96afab4ac7846c5468504492d9221e6a3caef994fda904a29ec898033bffbb2d1b65683af8696115837872b668564c5578f13a799505acb25306a4a26084cd539aa43381163e4b371aeed4ee4ad5acca7516d82e190f861ecfcbedfa56c359b902eba52d320f9ae1f5d2b00998e477fa68a1f869bbc9e4e78c800f4d951f4cd8970dcc9fc7506892ac9779e347fe76efbf9a1912e70c7fef8fd035486ae56f81734c95a7d0eab5ecc1cbf565e04cddf158e91c754d7d1d306945817af1a44e65a729468f91b724bcf176fcc7362477c14f47276b4efa31989488669dd80692bcf80d5773306b5e78c79d687728f4d67aa90d26530520a37586f6a92282e789e888234cbb5d255ae3c6a6d460574c7f96e34bf5bd9321ea8ab295e142d73b29aeaeaf952887860764ac4400eb6ba738854bae43be27d257c0cb64311c248fe5a92abbbf776c8bc2e996b5259fe4c1eb595534b6a949807f1321ac9cc9e45683abfbd25695fcca925b36503e530d4bc2209755fa664e3630d57c36738007dfd8a3ef22c032bc67319e6dbb079f4f1b949e525ae3b502ff71531ab0f5be57b750e09a6e15071a71ff7b0eade6afd64649608e81c9c2b10f7ff6967506ab410eb4de7e49bf38689bb781edd95613a0e9a45fc9fd90ff6bac4ba7fd124f172f245d2cdf89a55e099ba9081b268d7ac524187945ba9b2f218c226f2e8e3be4920f92f2f107899756e65e7f9f8d1d5d2e92355e5fbf04ad0ed24c12760e14f90df352fd786218587fb2ae62c353fe1c9bb9865aab7770ec0daf7e7fe4bc33f9f4a173918bca22e6862ebe30ce9590f169807a1196373c051165ba327050628500095f7209008f7e2da5d4e763663f75ebf2b0c05af567443ef17d2113de537a52c868dd85ff90f2cfbf5bb45dfefcebe6542541a5199c654869299495026d78241c7f3f3295ebf9f34e368c41ef9f30840471d607629c3e06a080bf46fc984d732fff4c4c23aefbc24be165c9467e9f9fb8f92d7076b37af25d834411fd26fb32fdc23b5d969d584fc43ee84f76f5871596041cc6f89c8c5a898b38d8407ef85034b58bb5db627c19d768f42b23e41c317ff0ebdc1d7cc7147426b7b521081f017cf7ec77a64ea654238f3d8972d55b1d75c492449fdd6752b14b42eb29e1d6132e768e67f2fab1475c28460d4d335ceecb2c1c9eb22d280739a4452767c823d8e3690244e2f2893a6c5980d944b0c9c18fa032cdfebe12a00830977d54b916a115a16f7ff01dfeda4666197524b9bf219b4db48bd9bdb8c5277017289f0b216bdbfd400d5490f8f11b52c049ca92523a1f75d463f93f258a62615838eeb9839717a06da85e08890898fbc71f755fa589354086a24699fd3203216dac3cd6866f785ce84040b97fe223ebe10f299c7606d79c1496415ba057b12749a935255d4e7686ae8aebffb6fe59f499d6cef0453e9995340d8fae137b89ce0f6921df351af64e6f359b45e562dbf614810b44b8f8a5dcc1ea0895aa42afdb8c4fc899f47f7aa2a41bf9fde7030bc9567978a4a6fa3ba7bc3903221c4d69cb56d43931c55c81ce2d242859740e65b933c244c4f6b61e31b8b1599ff16b767edf8efe4dcecd148d18a4e6573dc54e6af3eb7b6144d037705cd6f0dc2bae48b64ad5a91eae60953cd98eaeb033e783684ebcc98074a1d5fd93873969a26eab4dc310bc4fa25b89917ed4e3775ccb6f59c4ce6854958647d80b631fa2478a85ca1f9562efa26df212c686433959bc8db78f5c9918ccda94c9f1f1dcb5f1d90bc880f36c91c0828606ceba723b4efe9e4d79293875a951b04c8e11172a06678f194b867f0c73752de5d167bc8b705f6cff9755d7c16eee1413cee5f9164832f6201801b7f677b6bae12a587760d57e71882b03455faf8a8397799cb87648708e4491a6e86104dbafb76d979b8f4be3b65de68ac85573355d6daa3a90ff7df8251d6e64da53c663bdfab96efffff424eab4084254496b3481b6d1b8824db9ff1091462dcd51846346b5e85fd1a21387d69ec39809060d798cb1db8bbbc6c77d8bc89fa674ed69580ad8328679c2941eb82c2717d18611220bcc5f6d93061764fbf6d719778ef5bb27a747fb811e7c8de09f3f445f12014dbba69ea033fbfe813ca4e01e67ba8498d7e4c75682c5a70d2bdc125b95becbdff85a7ac7e9a7b5b15fe67657d2cc0cb1022df4dc19a022af635628b0d61485a8c5b49827f1b9bd7380ca9bc43c5e20e73afc541f9f79086c2ed72f31ae2e0d5f42df876bb427c896a5bb316028929e16012212558c6f64a265182b60a73d9fae70d3c4ed45bf0ac5b1b5c71859fd606983cca34580865249ee49ae79a9834c7c307fd4c1f4aa3293f076f3d0dc58b8d5e725c2cba67950b5b8770aced2744bb01b02feeb71edef8d432d630cd9de628f37a9d5f3d53fd52d26cf9ad46b7ba37799c3999c167b2e1a9d87ab1555904335af247145c4d0db65cfffd2428abc5f3d2b748e48c7acccc5443b74d8530d82a67a85354d5077d371e97b51a9aedc6c6a866b6c00b03524524afeecceab381a5561672f5e3f4663251b24a4eeac784254990d81047e512aa86972fb9ba0888277bb9c4adb514b664b3b002734ecf938b5a13cfe30c581421434bfda9bd36ea08356118a09a6f32656d41ee479d5d1f45e528f33297f82d6f3bba09e9a6d1aa2cd84523b7168b61e67c5491b9ed9c8db848d42a2ac5bc8b9487a065b5670214a076d6ad85c22da28a42c2b7a49207bd34c7d50b28b31fee9df0a4a1df32fd75ffb77789a8a7abdd195eb29a82b525d13bffce1e476e343280a3a9524653831ef51624322998c0a9018cea5da0f6eb0d4c4ec70ed03937ecfebf7162daf941f2fa5e313d45feaeb24935417d37dee50871f684600e11417f56f4a7921d69708346742c8e1e5d34453ec7e7206ce44bc5a2621b0d4c25446ab6f1be24e2c7da23369fbe0f91222faef0b4798b74abdb1c63e1e5a3c7ed75fcca2f01b2e8eef719200aa688380f67c8e7de0470b605aaf4ea8edc0d973a16cb4864d5a76c735e292f67c476b5cd9a2323a49e46174bee2c368722c7a2d3b26399f22511d47fd0aa01670d15232156434e82fa947f9747d708cd6e4d68c73fb60ce6f5d8ba2ebce91e46e8fb64efaa6a15ee725aac520cf75c0df3c65e0397583835ba2420228c2b6977c902764fd459d1643e90eddf884be1fd137052743be9e909fc276a6582796cbeabf3c937ce424785301e50013efcf3aa8d20f463dca6877c0c714ad5c40dfcec94e49e610f9352c2ed55d9d423a8fce3adc550851015ee16429975c6e97f2094aa30699932fac7b6efe34c8d8ccdf6eee8a29c0beefb03346bc711a58306830b343a78cf6bad1b61e51c4cd6b4bdc187c067943b62aced96cdd05a6987504a0001d2f08ba1481cfbaf239234f78373c040d5be9bdf45a9bbd357011fd316a7ef4bcf7db789171749f49960a4125c041436f0227b367786997fa351b682500c69e60fe7d8faa4234ed53c75184d02cf473a1b935d1c19a5d0f85c017dfc38d0a131abdcea647ed48dc67412bcaf44733ea1f4c732db69e071c9f3f7eff328c1b8aa99337f16c62cabc1a0ba7223b64041cad3a7e8266b33ec270f504d773eb46a3436c7a041f6043a178e266fa6ff0cca0adb52d3938f37fb1534a95cf219bf2116d75e102e12a2d973e38f61d335cee7a27a69a08631ba3919c9dd8d80872c272b2da04abe383044b1a3a5f7adf4fc086c434bb94ec1a1c3f30285bd59fb31ee15dfc4c881a074d5b739b5a62f29b2660e4df835f6573adb1f91ea6c572e2331cfd1f7ed49d0f922474802dd3c37f88d9213bdf2b4534619fcdd8857bd3366ab9d6e0089441e558a0a35a8fcaa6cdee9767d49fea44308f8f641afd4427d6a94bdefe82e803fbe431710a7efa932bff369d37e8f4dfe70fa9f9bf3e267b0ab8154c4151e752aebda05498b3fc6fbf630051361723523ad21837ccf775c41fc293d2ec351533b5aa547d4615c45d34ba830923a5ff97a2bbf5e37b0b39b0f76d6cc812b272d64f4758c021331a8d416d391684b99fa171b9e00de4811da3ff479db6cb237e3cdb7ea5769cb1b8a7331ba4720917df145b43db6fc786904a9e090ec0aa45a4da1838e18ccd7a96656dfdfb46664d4de6fb7b66e2cff9e264fbe5c9677e72a30be0e29be6c1f773a4d1d0bd36bdde6e84c0465ea58ed85e3bf422cc70be2289fcfb52b3548b33c157fba271231aa623632b5225b649f2f4cf56ddfbb6709ea47c03eb71c8875a757b53daa697c8ac87329fb929b182f7b0651220bc3e68b08a664486593ff40063e6cc5e272773f4c95fbc46b7e57000e8fd365dc3fedeb5b165971825df9941c792b883744d08bdf6bf80c520248515e9516757c540d7d9fddce07f23370f460f70f4e17cb94b307900dd6be6983f1075a6a8dc16cc5e8616026c3dc3ebb506bc71b81bf4d8255d8a216b9dff9a8b6425a3fde66f10ec1d373f57fcbccdd6c1e681173eb6c3fdd38ea859c99c2c229cac32578f5b6127693e680482b99fd8dd3d4f43761d7ff186d5ceaf827f29bf99ffe6674493974b69b1e1991b6098f509a7ae0c8ae7013c431e94093a92ebb060d38466ed006d6fa2b03aa076c5c100bce59fe5b7c2db39c0042819b5d4907f4cdd57ae60d7c6169d4986d4c42db9df56bb2fedfb41f80d83f5ced7e44421b57fd39a41762517200846aea86cea12753aa7b6dbcdc5a89ec8f9f1f5267c40dcdd69ae3bf46272cfe0c1f2a3c2362aa38fb905509de50d39dca9d4dc9a68e27525b10a290a2dce1b229317ce8db07f5c2b803509a93d4cd371e840d4846590e32acadc444bfed10d3a814fcbc00b35b05fc16a5e70ff92b6dbb4d9fb5dd027c90072edfe83f6c97670b9cdefa299bd6f3d29fd9f8095e01ac71ab011f4909e20f6813c96e12cd8937fb3a13d55090beb784133021bc69cbf2a7e1d35747b281f955445b70b4b9146e12d36dcfac7605656c64182522366babd89bba6175985caf311e175bf2f414de", 0x1000}, {&(0x7f0000002380)="aa59c9687f2f1af286ba78594852219dd3379bc823d92bf52ba7bf02a8780f1118b38cf6586c7df4cc2a93fcd537b61f0de1334157a09fe94d784363743350ddd76fef39b4258cd78e29c2b2f472361a", 0x50}, {&(0x7f0000000240)="92253e4db360ccc5dcdb432fe5b35ca6ce2e91c7d68503191c2d4725f5e867330703528c682dda81c0284e78f690a540ed2aabd836fc888f79f03fa1", 0x3c}], 0x6) r1 = kqueue() kevent(r1, &(0x7f00000001c0)=[{{r1}, 0xfffffffffffffff9, 0x11}], 0x8, &(0x7f0000000280)=[{{r1}, 0xfffffffffffffff9, 0x16}], 0x198f3998, &(0x7f0000000140)) r2 = dup(r1) unlinkat(r2, &(0x7f0000000100)='./file0\x00', 0x8) r3 = semget$private(0x0, 0x3, 0x20) semctl$SETALL(r3, 0x0, 0x9, &(0x7f0000002480)=[0x81]) kqueue() link(&(0x7f0000000000)='./file0\x00', &(0x7f0000000080)='./file0\x00') dup(r1) kevent(0xffffffffffffffff, &(0x7f0000000040)=[{}], 0x1, &(0x7f00000002c0)=[{}], 0xf7, &(0x7f00000000c0)={0x0, 0x5}) 21:54:49 executing program 0: mknod(&(0x7f00000002c0)='./file0\x00', 0x6000, 0x7) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) r2 = semget(0x1, 0x2000000000002, 0x10) semop(r2, &(0x7f0000000200)=[{0x3, 0x400, 0x800}, {0x7, 0x8, 0x1800}], 0x2) semctl$GETVAL(r2, 0x6, 0x5, &(0x7f0000000240)=""/126) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0x0, 0x1012, r1, 0x0, 0x0) r3 = dup2(r1, r0) ioctl$TIOCSTART(r3, 0x2000746e) unveil(&(0x7f0000000140)='./file0\x00', &(0x7f0000000300)='x\x00') r4 = semget(0x2, 0x0, 0x1c0) semget$private(0x0, 0x7, 0x40) semctl$GETZCNT(r4, 0x2, 0x7, &(0x7f0000000040)=""/225) 21:54:49 executing program 0: r0 = socket(0x21, 0x8000, 0x10000) fcntl$dupfd(r0, 0xa, r0) write(r0, &(0x7f0000000000)="ceffc7e7b4306daab2737a04951e74306e4f39dceb2724f7a8b4f94f7f21accc22fa52168aae024856ebf5f27e061da397e5b50ea74e80185ced0ad53b5faa64109e56ee212955bf727729ae26a5415086f75b9a5acec81b00006f45fabd77200d8457dbdc5e52aafe103e9f3fb0725a3f2bd04e7e3a13c6ff6eaba7b66b6bcec837bcf7913ff8f3671e4034e8b3e327a3cc57b3094d73f9148ffea8cd14606bc332ac148f54caf3853fa13e725deed14be43ea8fc36baad28e373c7ee84314162afa21e10a845b494e3536b97fac7b4bb1c433b57cdbfbefa92342a0c6560ee464d893a3618b6c797625ec3dda82e864d8e0b60151df7ffd09901bfe5691ca109f24a45d04eb889eea407b0a6ff067506c68cc077fc", 0x116) 21:54:49 executing program 1: mknod(&(0x7f0000000000)='./file0\x00', 0x2002, 0x0) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x3c, 0x0) readv(r0, &(0x7f0000000680)=[{&(0x7f0000000600)=""/96, 0x60}], 0x1) sendto$unix(r0, &(0x7f0000000100)="5d045a4ed7839488bb952261da12f4f2cff8470011c3f29612ca2b9e659d609e23241ea06266b747ddf4974c58977007926e9fcf2891dc0ddb34adff9159e4e5fa73262f8425567833f20c813ab7b6779df5c3077e968f3bc02f2ef5666cb253dcc7eb639eb9f4a49bba843392b9a2ba476f930491b3ebc4d3018d27d8e1be8c69f13e10b09ffb657a2be063b6b4ec3b2077e40789a073e40a8b2c868ddf825d987532fed83c2d677f4d9e1c3831ad2af678fecc6836df38d7751aa09831abc3898e87b27ebf484588636d4fc76dcb5d54b30dc4c58f977c23b58e860f69", 0xde, 0x4, &(0x7f0000000040)=@file={0x0, './file0\x00'}, 0xa) 21:54:49 executing program 0: r0 = open$dir(&(0x7f0000000080)='./file0\x00', 0x100000000000203, 0x141) r1 = kqueue() kevent(r1, &(0x7f0000000180)=[{{r0}, 0xffffffffffffffff, 0xc1}], 0x1000, &(0x7f0000000280), 0x0, &(0x7f0000000000)) open$dir(&(0x7f0000000040)='./file0\x00', 0xc8a, 0x0) 21:54:50 executing program 1: r0 = syz_open_pts() r1 = kqueue() kevent(r1, &(0x7f00000000c0)=[{{r0}, 0xffffffffffffffff, 0x5}], 0x40, &(0x7f0000000280), 0x0, &(0x7f00000001c0)) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000040)={0x0, 0x0, 0xa57c, 0x0, "ebc1c26fad75c59d39b0ff1fd7a632fb14e2e813"}) kevent(r1, &(0x7f0000000080)=[{{r0}, 0xfffffffffffffff9, 0x50, 0x11, 0x5, 0x1ff}], 0x4, &(0x7f0000000140)=[{{r1}, 0xffffffffffffffff, 0x40, 0xfffff, 0xfd}, {{r1}, 0xffffffffffffffff, 0x1, 0x81, 0x100}], 0x1, &(0x7f0000000180)={0x8, 0xfff}) kevent(r1, &(0x7f0000000000)=[{{r0}, 0xffffffffffffffff, 0x8}], 0x29ff, &(0x7f00000002c0), 0x9, &(0x7f0000000100)) 21:54:50 executing program 0: getgid() semget(0x0, 0x3, 0x600) r0 = semget(0x3, 0x0, 0x0) rmdir(&(0x7f0000000000)='./file0\x00') semop(r0, &(0x7f0000000000), 0x0) select(0x40, &(0x7f0000000040)={0xff, 0x7, 0x16c8, 0xfffffffffffffc00, 0x8, 0x4, 0x10001, 0x3}, &(0x7f0000000080)={0x4, 0x1ff, 0x5, 0x3, 0x1ba, 0x53, 0x0, 0x1}, &(0x7f00000000c0)={0x3, 0x740, 0x0, 0xde, 0x0, 0x0, 0xae7, 0xffffffffffffd240}, &(0x7f0000000100)={0x0, 0x9}) 21:54:50 executing program 1: r0 = getuid() r1 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x1, 0x0) utimes(&(0x7f00000000c0)='./file2\x00', &(0x7f0000000100)={{0x8000, 0x7ff}, {0x3, 0xf2}}) r2 = shmget$private(0x0, 0x3000, 0x44, &(0x7f0000ffa000/0x3000)=nil) r3 = getegid() chown(&(0x7f0000000040)='./file1\x00', r0, r3) mprotect(&(0x7f0000ffe000/0x2000)=nil, 0x2000, 0x6) getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, 0xc) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000140)={0x0, 0x0, 0x0}, &(0x7f0000000180)=0xc) shmctl$IPC_SET(r2, 0x1, &(0x7f00000001c0)={{0x77e, r5, r6, r0, r7, 0xc4, 0x3}, 0x2, 0x6, r4, r4, 0x7fffffff, 0x7bd8, 0x18c}) shmctl$SHM_LOCK(r2, 0x3) 21:54:51 executing program 0: mincore(&(0x7f0000ffc000/0x3000)=nil, 0x3000, &(0x7f0000000080)=""/4096) openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x0) mlock(&(0x7f0000ffd000/0x3000)=nil, 0x3000) munlock(&(0x7f0000ffc000/0x4000)=nil, 0x4000) 21:54:51 executing program 0: setuid(0xee01) ioctl$TIOCSETD(0xffffffffffffffff, 0x8004741b, &(0x7f0000000000)=0x9) r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x100, 0x10) pipe2(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) linkat(r0, &(0x7f0000000080)='./file0\x00', r1, &(0x7f0000000100)='\x00', 0x4) 21:54:52 executing program 1: r0 = socket$unix(0x1, 0x5, 0x0) close(r0) syz_open_pts() lseek(r0, 0x0, 0x0) 21:54:52 executing program 0: unveil(&(0x7f0000000200)='.\x00', &(0x7f00000001c0)='r ') r0 = syz_open_pts() writev(r0, &(0x7f0000001280)=[{&(0x7f0000000000)="a2", 0x1}], 0x1) r1 = getgid() setegid(r1) 21:54:52 executing program 1: seteuid(0xffffffffffffffff) mknod(&(0x7f0000000100)='./file0\x00', 0x1000, 0xfffffffffffff001) setreuid(0x0, 0x0) mknod(&(0x7f0000000000)='./file0\x00', 0x1044, 0x0) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x40, 0x31) preadv(r0, &(0x7f0000000440)=[{&(0x7f0000000040)=""/5, 0xfffffffffffffed8}], 0x1, 0x0) ioctl$TIOCGETD(r0, 0x4004741a, &(0x7f0000000140)) fchmodat(r0, &(0x7f0000000080)='./file0\x00', 0x1a0, 0x4) 21:54:53 executing program 0: mkdir(&(0x7f0000000240)='./file0\x00', 0x0) pipe(&(0x7f0000000000)={0xffffffffffffffff}) getpeername$unix(r0, &(0x7f0000000080)=@abs, &(0x7f00000000c0)=0x8) unveil(&(0x7f0000000300)='./file0\x00', &(0x7f00000002c0)='r\x00') link(&(0x7f0000000100)='./file0\x00', &(0x7f0000000040)='./file0/file0\x00') 21:54:53 executing program 0: r0 = getuid() setuid(r0) mkdir(&(0x7f00000000c0)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f2f66696c653000", 0x1) r1 = syz_open_pts() ioctl$TIOCSETD(r1, 0x8004741b, &(0x7f0000000000)=0x1927) symlink(&(0x7f00000002c0)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f2f66696c653000", &(0x7f0000000340)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f2f66696c653000") geteuid() pipe2(&(0x7f0000000140)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) sendmsg(r2, &(0x7f0000000a40)={&(0x7f0000000180)=@in={0x2, 0x3}, 0xc, &(0x7f00000007c0)=[{&(0x7f00000001c0)="26b51c84735d7c982b899961d7f3a726f9a7a5b23251bf681ca09a8e5c25d86ae6ac8918833af0a0afd1054c70d7f9b7d0ec7598d8257650bf2e4a3b61c6ebcaf421441d06a3565db798de2b80cc0755922f8251edc930aa436a2749d4903c602365bacc29f6ca1bee3be500c88ecca9e0d353c59d684578879d7c0bb605714761cd0b53e92a1832c68df529b2edaf19d09d04625bf91f52290085388c8e4c7157c9565df18e35016caba8e7183e653a2d9251098300a91adec9fb950fde8af1652c532859e808487a210236779a1da7db44d51b0438d1393a115ab9d6451e572e7776", 0xe3}, {&(0x7f00000003c0)="2cf68316e3ae39d30b1ebab25716cc51", 0x10}, {&(0x7f0000000400)="66709264532d4db24e52f70b0b36a57d49efeb7b8f9f3e44a76b08fc4ec04bad32b1bc0e4720d0fa93100b06351362a9d4028deb7acc737092540d04101270693541a7a77171e1fb2f2d3aa019f7a0bf4345b6073d3cf9e872209ad3120f68fa257bb92f1f038b31d043eeccd8699b59c96f05bc38a9ec5f1d5be423b5509828931f9c17d21eec8be0b9dfee6bca824ea0d7c637e39d4101ebc295ae3422d07f4359da2d459eba3a22cb6cca0b175551a476170f9510bbf8c0e6fa79a37072e5651130809311283d290dbd22c3c5fa6de8a6247a5ac5bd7e2e", 0xd9}, {&(0x7f0000000500)="fea440834e66e51cc19f84a0704980cc74c4ee9be090230de34150604c93829ae782835571f3fec2cb434ed4f974cc825926dd4f31e0d45497b92b9b5d94bebf0c193006025f3786527aacc16245652fccf6e2d9bcca0f08c71baee8147b03ab91518bcd81eec2432541a395c4ce08f307bbe2f10355b309e8db286b484ad2bc9aa60e9b7c80e410782062ae04f694f74faa3bf1948653acd745fd32d783", 0x9e}, {&(0x7f00000005c0)="41863bf458cb2b94a38f99e836df1e1356ff692ddf9073118aefd80078910564bc89b199dc398d22ae91634509c8380592da685e6ed9a7359b30e9bd74b935fbb65bc078ee4aa84bf53320b28c0ff143be5faeca66d9be4d3df2fc91efab25673b4d98e9f35d2aeca2268b89817b40b6316bcd787719d3ccdb7021a5d2a479ebc7eeef21191cb25955991ab6", 0x8c}, {&(0x7f0000000680)="cfe9ef2efd580b3c280570e02602f7cd", 0x10}, {&(0x7f00000006c0)="a64ac6ef", 0x4}, {&(0x7f0000000700)="1f57ef85eea7c75594510838d7d2a3fa55f1967d4a9d010630f43375a154261f4a255f649a13d787d5a2b12f27954e44fc55ecda9a5a77d995486196b90737358d76be3f55ddf34023578a67fc74b0b6650a1a0df3e2b89a586da350959acca83f9143e28aab53efea5a3e814346f8081322eef63bf03184bf35aad48701e4f3851f053b19abfc04", 0x88}], 0x8, &(0x7f0000000840)=[{0xf0, 0x1, 0x200, "da476e8dffe4179ef9abc0cc012dac40919f960f25307eaa83513854517c96afc542dce6f2cd667dabdd39c8d2b571dd17f0e98aee70af2b40c72da3124d1e30af6386b0af2753a55e71861692ed129daf91411892653828b1c3154d5900b123298141ce543f2ed99f4e50439aeee324ba9325e1ec4d6e404a779c074de90523ed4c08d9e2b8ee559872279ac63a1649be62efa1118457838496777f96b9e1fe81965add4695aff2f2d99c19f5cab95cf3805428c62935ea51c062d0ea0b7cff62f7244725b7c2ee4eee5c77c7507f3cc0d89a741437b3595db67a9054"}, {0xd8, 0x0, 0x1, "69889b9dd8f0f6e942ac1375c28a5edd6fdc0d5ece69d8f8b4510a9ff74dda605c972cca9bfa18d72c858260218637c3763ea8f3a384a3edccd226d2047dfca93f26e1d13c885bb5c31b414513d15dda8f35cd11c94b477641d37a9b23cba93c4dee5990e91c165736423def0e1e01fbdaf9a270d307a6489866ed029181b0e074a7f63600e510a367e7e0f098bb19ec27dc404cd5899a098cf6e0becae0aa982cec9e2791cf6545d91eb7d55259d1c22274e2494098de90348650dec32aa10adcd9309135"}], 0x1c8, 0x2}, 0xa) rmdir(&(0x7f0000000040)="131377c5fc35d41454d5d41d29ad1a6029598146e6be166e41ad0dbd4054033c9f33bbda8224a2f3d772e7636e48b33cbf708372e8f1b9933ec5127743be2206209ef02df9cbf2f6e880d3382f00") 21:54:54 executing program 1: pipe(&(0x7f0000000140)={0xffffffffffffffff, 0xffffffffffffffff}) r2 = kqueue() kevent(r2, &(0x7f0000000240), 0x0, &(0x7f0000000340), 0x7f, &(0x7f00000001c0)={0x2}) chroot(&(0x7f0000000040)='./file0\x00') pwritev(r1, &(0x7f0000000080)=[{&(0x7f0000000240)="5415ae7f22c2a93bfe3903ea5c7277aebb077276cc1249dbd8f6bfac2e87720e4df6da47711cc43db74d2dea6b66e46c0c98511fe4c8bdab7950b575284e855a0d20bb1a260897ceaa426a5026f5db2b4c1b673295dae8a6e786fd927274b80fd5074fb8178cc5757987d24acd65f657f57df897e6b9c110aa841e428bfe1c2b239124c6e9d239d6681a29da377329", 0x8f}, {&(0x7f0000000300)="096dcc94f2df8757e711ab2361fe5d727d623074b05383ec41256c31efc7cfb2b843bd895a1d35dda44a5a0cf7441b14b7c0beb67749696d20a5095fc23b2615f7177295b4d1e6eea847b76df9f1df8c20eb046292f8811fc4be6d3563508d522be5976c7a802f2ffa0b04056a03c85a6ba7e7133ea880b2de31b1438edc1840ed4f1fc808e4898ca1363bf98f38ed91b27332f739ff5b1d857ffa2cd75b3e9de0d9b7c06874e0a68c5f0430168fa6fc5a1f8faa25262d25ad7747721a369b3d7b10f804b21dc3d0d94d30578d2c0f3cd8109e2b0075e5926a95e9154f9f2edb10d3295824010112040e87", 0xeb}, {&(0x7f0000000400)="23ca914c53428db855dacacef1269c0be1d7d0117d02451009b24583ec0f4978ecee0a0d887ed54edfd6b2a51eb8692b152f9d04d6674d9771a7ea64cccc72f764c4ae3972349075da06faa1dc9fc3ab87c353f681662eb4f0b462453a8e9ff01c8c263d7c4b14b00db07f1df16925e04e6be65bd85ee0217966e4fb848ba765df3908b4b665700b5079205d293a26400d22558edbfd57e727b58d75f8ff1015c981907ca4aba96e95bc229209ff7ab7855aeeea53707ff72a0f60ec7b7692a8910d080309d638aa9c816035c8fe2c9db0fc8cb51faa340c1e378489f862016e4b49bc9dd3a23fb157c6ba35bfa706493381b2a523e707d96ba5", 0xfa}], 0x3, 0x19) kevent(0xffffffffffffffff, &(0x7f0000000000)=[{{r1}, 0xfffffffffffffffe, 0x39}, {}], 0x0, &(0x7f0000000200)=[{{r0}, 0xfffffffffffffffe, 0x3}], 0x0, &(0x7f0000000100)) kevent(r2, &(0x7f0000000000), 0x10000, &(0x7f0000001700), 0xfffffffffffffffe, &(0x7f00000000c0)) 21:54:54 executing program 0: r0 = open$dir(&(0x7f0000001240)='./file0\x00', 0x400000002c2, 0x0) mlockall(0x2) r1 = dup(r0) writev(r1, &(0x7f0000000380)=[{&(0x7f0000000540)='F', 0x1}], 0x1) mmap(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x3, 0x10, r1, 0x0, 0x0) fcntl$dupfd(r0, 0xa, r1) accept$inet6(r1, &(0x7f0000000000), &(0x7f0000000040)=0xc) mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000, 0x0, 0x11, r0, 0x0, 0x0) 21:54:55 executing program 1: kevent(0xffffffffffffffff, &(0x7f0000000500)=[{{}, 0xffffffffffffffff, 0x21, 0x40, 0x800, 0x65}, {}, {{}, 0xfffffffffffffff9, 0x1}], 0x9, &(0x7f0000000600)=[{{}, 0x0, 0x20, 0x1, 0x8}, {{}, 0xffffffffffffffff, 0x80, 0x6, 0xffffffffffff7fff, 0x4}, {{}, 0xfffffffffffffffb, 0xb, 0x7, 0x1000, 0x7}, {{}, 0xffffffffffffffff, 0x10, 0x40, 0xc8, 0x5728}, {{}, 0xfffffffffffffffa, 0x51, 0x1, 0x2, 0x81}, {{}, 0xfffffffffffffffc, 0x2, 0x80000000, 0xfffffffffffffffc, 0x7}], 0x1, &(0x7f0000000080)={0x8000, 0x4}) r0 = kqueue() kevent(r0, &(0x7f0000000480)=[{{}, 0xfffffffffffffffb, 0x0, 0x0, 0x6217}, {{}, 0xffffffffffffffff, 0x38, 0x20, 0x80000000, 0x1}, {{r0}, 0xffffffffffffffff, 0x8, 0xfffff, 0x8001, 0x144b}], 0xcd, &(0x7f0000000040), 0xfffffffffffffffa, &(0x7f0000000000)={0x5, 0x4}) kevent(r0, &(0x7f00000000c0)=[{{r0}, 0xffffffffffffffff, 0x49, 0xf0000092, 0xf7}, {{r0}, 0xfffffffffffffffe, 0x20, 0xf0000000, 0x5f, 0x7ff8000000}, {{r0}, 0xfffffffffffffffb, 0x20, 0x45, 0x6, 0x81}, {{r0}, 0xfffffffffffffffd, 0x10, 0x41, 0x8, 0x6}, {{r0}, 0xfffffffffffffffc, 0x80, 0x81, 0x9, 0x9b39}, {{r0}, 0xfffffffffffffffa, 0x7a, 0x40000001, 0x100, 0x401}], 0xfff, &(0x7f0000000180)=[{{r0}, 0xfffffffffffffffa, 0xe1, 0x0, 0x7b3, 0x1000}, {{r0}, 0xfffffffffffffffc, 0x1, 0x80000010, 0x1ff, 0x97}, {{r0}, 0xffffffffffffffff, 0x81, 0x4, 0x8, 0x4}, {{r0}, 0xfffffffffffffff8, 0x0, 0x1, 0xcaa2, 0x7ff}], 0x6, &(0x7f0000000040)={0x800, 0x6}) mmap(&(0x7f0000ff9000/0x4000)=nil, 0x4000, 0x7, 0x1010, r0, 0x0, 0x0) r1 = dup(r0) getsockname$unix(r1, &(0x7f0000000200)=@abs, &(0x7f0000000240)=0x8) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000280)="0ebd073f0dcb4549139e7baa02dd6914e5328271a7be0a72ba99e0e3aa7f7cb2f0d0a47f1d1f240bf91f581e9f6ab63bc6d1eef9ce865dace397a01a2dcc0605a8bb647973073775b88d952573ab57c251fe154d27098a40dc5cf44225e33fc62a021e512c08e266fbea5158c944a5580271a906e08ea7e1fbf4b79f60730f184ca97f7120457a6a4c716234dd9d079b3fb53d870f491c85608a06f4aa07664ec9d048551b54117256dda0af589d4870427aebb17a03fff8e2105700cd27ac", 0xbf}], 0x1) mmap(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x7, 0x1010, r0, 0x0, 0x0) 21:54:55 executing program 0: r0 = syz_open_pts() r1 = kqueue() kevent(r1, &(0x7f00000000c0)=[{{r0}, 0xffffffffffffffff, 0x5, 0x0, 0x0, 0xfffffffffffffffe}], 0x40, &(0x7f0000000280), 0x0, &(0x7f00000001c0)) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000040)={0x0, 0x0, 0xa57c, 0x0, "ebc1c26fad75c59d39b0ff1fd7a632fb14e2e813"}) ioctl$TIOCFLUSH(r0, 0x80047410, &(0x7f0000000080)) lseek(r1, 0x0, 0x0) 21:54:56 executing program 1: unveil(&(0x7f0000000080)='./file0\x00', &(0x7f0000000000)) unveil(&(0x7f00000000c0)='./file1\x00', &(0x7f0000000140)='r\x00') chroot(&(0x7f0000000040)='./file0\x00') open$dir(&(0x7f0000000100)='.\x00', 0x200, 0x0) 21:54:56 executing program 1: setitimer(0x0, &(0x7f0000000100)={{}, {0x0, 0x100000001}}, 0x0) r0 = kqueue() kevent(r0, &(0x7f0000001140)=[{{r0}, 0xfffffffffffffffe, 0x20, 0x2, 0x8, 0xf817}, {{r0}, 0xffffffffffffffff, 0x10, 0x60000019, 0x3, 0x10000}, {{r0}, 0xfffffffffffffffa, 0x4, 0x81, 0x0, 0x69}, {{r0}, 0xfffffffffffffffe, 0x20, 0x5, 0x0, 0x2}, {{r0}, 0x0, 0xe0, 0x2, 0x6, 0x1}, {{r0}, 0xfffffffffffffffe, 0x4daafbc80d264c43, 0x1, 0xa4, 0x4}, {{r0}, 0xfffffffffffffffb, 0x1, 0x80, 0x800, 0x7}], 0x800, &(0x7f0000000040)=[{{r0}, 0xffffffffffffffff, 0x20, 0xfffff, 0x5, 0x1}, {{r0}, 0xfffffffffffffffd, 0x1, 0x5f, 0x401, 0xfffffffffffffffa}, {{r0}, 0xffffffffffffffff, 0x80, 0x8, 0x3, 0xcb}, {{r0}, 0xffffffffffffffff, 0x1, 0x40, 0x6, 0xce4}, {{r0}, 0xfffffffffffffffd, 0x80, 0xfffff, 0x1f}, {{r0}, 0x0, 0x50, 0x0, 0xb406, 0x1fffe000000000}], 0xffffffffffffffcf, &(0x7f0000001240)={0x1, 0x4}) readv(r0, &(0x7f0000000000)=[{&(0x7f0000000140)=""/4096, 0x1000}], 0x1) munlock(&(0x7f0000ffb000/0x3000)=nil, 0x3000) 21:54:56 executing program 0: r0 = open$dir(&(0x7f0000001240)='./file0\x00', 0x400000002c2, 0x0) mlockall(0x2) r1 = dup(r0) writev(r1, &(0x7f0000000380)=[{&(0x7f0000000540)='F', 0x1}], 0x1) mmap(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x3, 0x10, r1, 0x0, 0x0) ioctl$TIOCCHKVERAUTH(r1, 0x2000741e) ioctl$TIOCNXCL(r1, 0x2000740e) mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000, 0x0, 0x11, r0, 0x0, 0x0) 21:54:57 executing program 1: r0 = socket$inet(0x2, 0x2, 0x75f8) r1 = fcntl$dupfd(r0, 0x0, r0) bind$unix(r1, &(0x7f0000000040)=@abs={0x1, 0x0, 0x3}, 0x8) recvfrom$inet(r0, &(0x7f0000000000)=""/59, 0x3b, 0x40, 0x0, 0x0) 21:54:57 executing program 1: mknod(&(0x7f0000000000)='./file0\x00', 0x80000000002103, 0x805fc) open(&(0x7f00000007c0)='./file0\x00', 0x20880, 0x0) 21:54:57 executing program 0: socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r0, &(0x7f0000001040)={&(0x7f0000000500)=@abs={0x0, 0x0, 0x2}, 0x8, &(0x7f0000000fc0)=[{&(0x7f0000000d40)="fae5462fc7f998630253705135d6fb59712ca36aa6b3c9abd08899c38b43be987b014fdcf6cee4895f5c41f02005724515cb3b4d37ba014f9e1a11a1cae8b4d5fed8336642dca039dbdc53e3fce096a53653f84953f8fef476f951aa7af17dacf2fb5b284739bf2e566585028bcf46055fdcce48ef58264c7e3d9798a80cf5889b532d5e699ec791c6b7652a3fda79", 0x8f}, {&(0x7f0000001780)="acd419520feb57b1eff67d6d2ce4ecf2c8de16e42dee773298045aa1f84cd81f9101e4b4daf8fb8423f12eddea0a5e689697ffcbd9ab96a2587331eb04157c3c9c3097657243b6b694405b7c8c2b31759a1cb3159f2a9f5a0a9784db1612a9eae9b2ad1945055c029b0585c7bca308508d969ee6f75bd218bbcaaa0ea259386de0b24219ec125e5352fcc431e007c67754474d6eb2ca816c729de82eab745c5ad25b083a83ef74962ac922f99e37cca94285a9f07309f6fbd540a93d66806de52ee41dd77b94454be38519c16a53790f8c7ed54ba180d4567a0d438413ffcf66d7150dc33a7d794bee31a318bc207f2cfb712db193cfab588dc4086e8cfc06be8c84f25fe47c6c335eb628d6ef1f59e8398be5c031cacf7667590f45b25414d847dae67ac20968caea21cc4bd788faa9e61f15e5074c53ad193b309a72443eff34330fcac95444e057dbfda4ad40446b1059d3aeb06b007814ab409e4208d10b9bbd3eb7599873154a844e62a02b95a8540c5dedaa6e14d0f9a8e044cc3312166db45470b59f1cd3db488401e25a815760aa4ccf77caedb33401fee82efebb944ce3e9d635e2feff93d1d75f07a04d96d887ac30d08bc650f582e33b369f706376939a0e226e4b089475dbd5cc6065b315f6deb63b7ee8b69d185c141bdc7f1d7933319ff672096e1a0551011d8f001f42cde3f14d99dabb3c0f37155ed2ecbb79332b2f0132eabdfa57adbd438bd53925cf609299c058bf175a97be7c257351318d84e4b4a7c32120e14b8df2a44f6f018e13a5a8196eeecd76f112503665c9f1d5783b318689ea45c14825230e986b5d9dd2d65b8f0caa0b96b5761588c1f13f2aace299071cef6f92196d822efb99e9b2a26ba5d0ca0b19a52646ae794a26aa39c137e5a5f237c12886ca4f2a9ca8ae6d7f2e1c4b4174460c3388165f961d88f810be122d8181f38f7d8b135f7356b0fff88901d43c099617aded71b18b364886a0f1352d8e62557b49a0de3eeffdf9157a916af58706d33e847d2f05cd45655810cbc999d13ab3614a3c1be253d365c7a2e36978df7b0b0334fc7679e9d37b4a0866e0c13005855f08d54d2b7c2e4122249f39f82ebffda494133db071041e42a6db27de0b3c45301c0111f634ffcf06d8266488fe3e2e64665f8dc20a27850e524e2322655d20708fae33d062613a1f870c0bdddf16ae4e30d52129cd24f050fdb652c7c36a60336da4966e71fa7d25eaddad697e83497fd7cbc197074373d02c64750e9bb52de5f0fdcfa9223146bf1ec98338520c73f2c2f90f8d2ad0dcbd374982612c985044b1e1c85bcaa6775ba6c12913a6952d342dbf94e46b0e13efb6512175ea878de57a4d190759df42a5734b6049fd870b36bf16d4f0555db14e862f3087c8624e574066d7b05d2df0b2278796b64c053bb149783ad7769fb74e9ed7c66777724ce2623c9cc30fc25a277bd8f2a7122687699a3e75be8ef3c1db31470e8400c235d87a6173a26486fafdf9e25a0f94a954a14537de9113ae3300a5cf986df619447f6683ee8ee14df568009fe8fddea26c5886ee801f8bdc95654e883ff59ad96d5c0b7360f763f2f350e39776ab87dac4f7f1eaca09c0a38802099e84718a9e65950dca70110709d18775d57ee4fd682b1ef8413434721306bffb504f0c2298cebb17e608a7f9886eae9492d98e0b372f06bac66a8a4d0ad0233e40c84603162846a1b0ee8f7e55c1b55a5c22ec81032db42b28c6642d031904dd58f05381bfaf91010e41709903ca317ca27b72fc0f6f82df57c56ecee52501703ab517384095b93c5dd8ae2d269eafd7a0ac02710e89fad0d4ed28f95848fb19b006810a68a1d109797d64bc88083c6d9b3c958ad300b956a96740e8c9de0ac9c27b2b4a480a9fde601931657976d5e40f4777e9011c787bdcfdd8615c98fdcee16119026401752ed419fd4dccfeb90588806db5977e026f4824d1fb82359a2c0a7582e7cd0ae0f903e0fe098fa960286e2683b0b803cbf49a8c7a388c1723d698f8e3411ed8bacd2c119796ac338ecc072d2f23d1e6fe90390fd5cce9d86c65e75a9cf96b6a9cab5134db85cb30bb00ecaa46c94c9500116348f6d2f225ed1ad06bbda1afe91db2fad2e99574c338cd6191435ff5b1728a109c6b4176c1027aff03a70a4c542063a8b290154541ccc29a4d5cad6675c279d04144bd41165401f9169689fff30347e9db46073cfdbb467afa0408159f61e7dd6ad2c16dd68f6c9e2205f7d92b41202e59c46ed97b05925f79c83185f9541718388fd01cc714acaa76beea36e47fb418a00d9abb8413d6c189733f89cd9cb4a392a7f00fa72f00130c8130eb70f864e3eb8858f67f2e7d861a0a2b3b6f4f18d794f4ad3d904f2fc1db1d9cf437694fe3286ec82df418c3be95d686ae765fa84d4b9c732b1281160bfcc709902ef271f03073c7c039bc03dc92e277bd635c86755bf47f0dcd3959855d34e52ee1a3ca817450ffa47a9ac298b56926cdcee25fe62f44fd9b33bf881d6db4dc2eb0c85892b895f3b0245595548e0fdf3a530fe7ce32009ae6697f0d8ae15072d5ac16736760c0997ef771b123e6979ab6b31f2c0e4d094a2140db1436cd7cc3b8a6a06f284e03d68c9f5331e7101f15665b0b98e69c27a994daec404776b209c63e36b1f0c666b66ecb9fb559ade8cd7330b453a1409965e2b69ec3dc4293dce15ad71531074e30f94c14cb3da8975531a4c7a1cb24d452360049f1f9b2645236db4db03108fa6d2313755e7638c51fb96cb3454cbb89cb602bc3f924d8973a8723a433c24b996972e418099779b25f87939e3b96c22cf5fc5b66c6795e79af819e5d6067746584286df5a780080dede8fad63d57fcaddc17c85033ba7cf787ff889b0e717ec5f13029ffc6b54c9085c32c40026868857ecc1c893cf0f0877b4ad7fe601baab7cbcaa16a6bb7d1aa9d08d6be79bb5d33b3be6b11411ce1884783d4651afef7e27d0d590e3ca57a2d71752b31b10b938f79978f1a52358e1b6b6987bfb44b76b16cea619d878ea424187e89b707f33484a7ccc3cd99cbef37e7c177779d2fe848d6639efc18bee04ba87b4241b47f04c9bc0688b8b3ee43a0718172c5f5fa8f93adcd3c93a86bc2e3ea4c8bf265e9c1d9163538c020d53523fb033821cbe55956454f740184829817210824d747c5693ba911a2e52b1619aa9dcf7ff781261e1a22752bd8ede1848ab51ed1b634f55b21a215789cb6839da502255249b966c5c5dbd12f8b0fc89102a5fd5e31e95a0ef2f004b1400bc27d5621b4b59e3132dc2f45b8881f65ced26745dea65d73bb1029c59904fbf0c9ecb7d97faba040ee0c5dd82d592eaaf68507561566344c4943f57eb1cce12baa59565b213e84c46aa1873f9eec246ee1446e55be786e8ee74b1098d66a6f2868df16fac595fc1f68b4cd029e3d75f1806389ee9ae0a486ea383269163eb233e53aa4034f1bb26a0383da555c5aba9fc30d5807cd8c0aab9121392788ba7ddb1f1dcba929823de22c4f7848e2d4ed19cdbd03962bb78bc30b7fbe39fced38ddc71574f87cdf3a094f149a35f5256d22d4ae6fdb429720c3a6fb705123be1cd29f45d6c1906c82e83defc944b58bd713ef48bc5f6ed8979675f09026069528afe760cc8ac9a291f334f47764d51cbbd88474dcddb552f034f45ed12ca11f4f99c44882e9e33b06c5e8219552328eab7bf9d7d9a0d455e8f83d9ce874a07e8ce927ed0d06deb075a5ca0f3425a7b19397783bdf19886240ec2cef1f545c2829145f68bfb82cbdd98a389f17db3940d526f9137c1ed0830fb87d9c678c6eb07f92d208aa0dc3fffba27ecdb640c3247b57ad13ab192f80cdbefd92fd72e476adf02ede79c28e8d405621438e248926420b7f43364a32e18a3017b1f7450caf6eb90804a4c40ea354baab545521d7f806f6be12bef03bbe94ba0d18d0a0beaed85c657520f04e078c1b5339a93e8db66787948330234d83d16baa1605fe7d75abad481244c09790a47defcb35e09a071aab48ff82d4afa1ea575d709e8807ba47d2f22e12ac5dadd316520f8147577a0c301d4ffea1bb9a70fc2109c3abcacf452f199ed9fff21d0f4fbd0277baa42b8e557b29930a640f99cfb3bd0038d7e8bc5514ce5d93ce269473c85b35d8dd7b8df7e7c7ae9e5e8a31959b6164b0df34319f13b1edfbca71c3fec4db7495e69d5b7617da5ec073f74c45e5734b680da45025b0036ecd57b344375f85d29c5e09e58e349c34383bfd1b27a232dc658ef84eabea953efbe02f01f2e5e5b3968381a0ee1d91f23fa5b2293ff3debd6c608a2beb3062150d0ced28973de86e2dfb784d9c69be7ced7c59b21e3d8c6132f90a9186a5602c59a68a66febb235ee8d36b8e796a4ba96f772253b0fdae0431cdd3e5e1c1bdf8ffb4e9aa396bf7a593ae75dd1c81610a54437e707a12c360a406744cab76f4118f0d3e83adebea4e7937a2e23578d6fd48d78ab3843f4d297e50ccdb75b647b45cadf603cec42a21d55493c041caf0ac12e5be5b89d29a87d6f72c1552406ab191d9654f19b631b4963f8bb02a76ed51c151b369009aad4f14147387826424e03c70e89c17541a98f319a03bc860901cf63098a070267fd92ec4871e44f7f45460f5148753c6b90d15a6641f47be67b40e7fefe87e8e4d722247031373f6c79eb63fa055a70ca91e8090dbe1d9ffdc7c458dd9ac262a3b5a53a3a8697c7be2810b7abdafd462cbb0ea583b1610cadcab5f3b30bb7dafb2696b974124977d0f10b813ccddff0452d0dc2ad3c9a3f37fad33bd49a3b8513c98644287d14391a151585bd099c3b3bb01ee5a6dfbe02ea6175e12dfa92dc4f1e8cbeee24f2b48bc9695d87b08a34f752dc3856a782374391c63fd974d613e62b3298f9c65b270dc9d09bfb9d5ad9853e2df50035d32a23e0c6c2c4a61702279dc7e6685bac9c850ec43df600226031268f340a2c902acf72f454c0ab850d454536fdbd5f65097be23eb1dc50b69cc5b57b7aa517f060ba592b3ea26aa23b52b6aec4ad70332f9ac637e8042eeac5902e358bfa2792b4d558712ad8be53a1a58112c25e10192dc6daad4f8d2110babfcd7b95c88379d18af1bbc0895e451063e303ee3a6e700a608d88b8f3c23a0636349ecec38304128704fb56a3d0cd0ddc2be306656bffa06098cba21e6e1e1a0c06993dc8f233a020d8fceb10eeed65015edfaf9ecf3a1405b00bee879de655123d9bb377d5cba77f22c0eb82c2b055154a6fb976a4b39e06c38d14da8d1b858e4f6619e6db9e7147a31e0873033e771f9f7e8539dafd326b3cd19aaaff84d5a71f2142148ba33a0c698c4cd93e441742c90b8c01b18804a6054dd3b50d97c7bf529a8029c17c04043d008a9784edd0454324fe3bfa4c070bd376c193a40605469c1aa77fb017a1f4a6eb431e943885aa917f7cc4624dd502d92f8fa4aa23a55b34b2bcc61aa6122f964da6c9942378b852b9b417bcd2f926d0f10d190e9ab0b1354d7a302eea6685a17577b77bbb1edd58590f0ffab2709c7268e56bfe4197afc434f0c472fbed7824e1a93cd0c0b1dfb130d3c450c9e1d8319098b61e250a200ff45360ffcbe7debbb3beea3f78e18ba8e71fd5b14d9ca88aa3fda952b30582230d1cf600e3eb88ea0f61af06023f5f14938e86fb04a8965d38cb021f4e7a372e752554f7dde7a3e11e0f954dcbc3e433de1f6707403ef365b713fd53734b7a2f01622383f8db966c4517589b118de2e1eb945", 0x1000}, {&(0x7f0000000e00)="9ddd4c90c17f26e730e633835341f146fe7c2963b67bab63da31e8272f32c5caca0c8e4d153410469bc29d589a9549d0d58073df03b29a768ea8222601c2b1412046e4819f77020e93e23cd5edc181d9d52421fa377bb39ed775009faea635e752cbd9979a692415b4d02d4432692af97c91d9d41a3cfaff718c2968300dda0b2c815647eda5d8", 0x87}, {&(0x7f0000000ec0)="b5709674e3244d393f229f70b3e98fd33fe2eb1d10a2c655774a7811445af161a77aaa2d9d3d4a193e147ce66609f2175296278f5b14484548c1dcfcd201e35e8526c70caab2581834859b9ff745fc906de13e49f1be3a7afcfa59d7b92ee018ff745e532becf51c45149d6bdb89885d9e87816e7220f9f23811f946420afdd48fbd26fe506301cebed3c1f56797e028cf8720031518facc96d412afc806d4cd450970ea65659162d05be1f97684732b7b5e74b2159330295dae2fdc2e156cb85025c31883f284f04e8ef9ee540662c63220959281f2960c913a3577db0808981f779aaf215531c07f0b81ddf27ebfcbc8f98b56", 0xf4}, {&(0x7f0000000540)="0e89d41ebc7750b3bcb7f5cada6ffd05905cc2e02fdd633d3390f6eb63a375925d4911b2881cbe", 0x27}], 0x5, 0x0, 0x0, 0x403}, 0xb) sendmsg$unix(r0, &(0x7f0000000040)={&(0x7f0000000380)=@abs, 0x8, &(0x7f0000001740)=[{&(0x7f0000000580)="526ca8c44771c4c7d51039d10572955a2f7b03871ffe0620bfc7d6b5c5e3ec5fa54fe37357ca8c4565851c57b734b6ceef717df471ed1094a08e164e041af81a5badddc14c24b5b0f0a2db14d97e6fb8bff4837ccb9abcf6691517e3d050a4a22dc483835753ec31d8e480c8c71669cc40f284f2a35fab9f69165e1dd14ca0f12fca924f01beb08544a8d28ba288dcdc8178b00ad88d3f17b738cef5df213c29ab4d1106cd8c858a33e2a6a2a733a9ac216d073436bb6d91ebd478da3bf03f7127a85d3643c7c2d2913cc8e3f4bbc55f4b8f040349a2cb06dba9bdda18345733c727f3ce037226d36d5569ee6d230939119a4d0cf60b0a786f75edd27a819e37a696729a604cb4f7cf36bc3dfbdba0644b992aaa213f6a09a2c3867c2af00b3d3f1096135cf9946d33c7338a73d07757ff0c71c942d2229b88100fa08926a1c67f6b6dc275b6429374c55dcf182de7a1b04f0b3e9b83427d26a3d29260068bec4149f46148d3f6dd95eb178f88a14586b3574aa6d6b3e324110e8b062c933b3538581510cc6b48b6ac7537ffc1236fdb31a4a873709b95ed0df9d0eb9e7cd35cee3c1fc8cd25928d0ce3770bbaeb494b04dc1c5735d3fa98f447866c05644acab945c42522783b18dd0f5824322d0886e56f32c60ad4037a8f717a0d76862428d38b45ab7a30eb6a1849f712013cced7ff5de25aebf8c0d78e32dc64a40736745b6c2c9c0295b6b099d96cbc5f21edbb6b50186fafb8907df6cc37ec0755756b81fdf6ad5eda8573d5d8ce64969000694b828ec19b2fe8620c0ef3e21811f8d4b5b7d6a14aa6f0448d43904ddd24ec4a373e535e5a0fb1ea640652576a3404390e591353af604b178e5f75d705f660bb6845d014604ff3b5a46ca0dc737501ebd696cba27162f949a92d65433ae2612ba6b64c86feddffe845c3c33b19b93dca880e66f598264c8690e90da96a0d34935072b8eb628a1cfca323c7485c5e8d770f885f74aa2105d37d74104e826f308abc3e386785ce17a52f3b2d2970d31f375078bf3485ba5a482361fd1c955362a5a083961d38ba48a3a2e73fd6333d6579251164b0e67082f3b935d583984db357e162a162576f26a18511b4a8ad9f931564c9865c36718a21b9beb02ca8ccb5c1fa8500404f29e0601d92b2e698edc4c8913f519233c10256b776fd6005214b096e03c4ccad551e60ba7b150acf7b5b93e1a9d9b3aa0f06802120434d320a994fd3380434931a69eddb14dca0c81133a0ccfe592d0df4bd267cd8f614aceacc00f7475f0e7493fe825ab9cdef69dca9e0971478c23d407173aea392dc68015bee19944c0278daa3722a627b6eaff6fa76dc45d301be5867b1e7bab24fe9a1e541cf5a2f35288e4616e1087b3ce1bea468e3d24e05d3cd84c41a663bee4cdfae51dcf9ec30cf1aa86742f34d9b9968af51e2c04b6343ca4854861af2f9c17d896a5541689984e108773a40a1dae7e2186d9da687c3db938804b0dd35e7d6b5257885968f91303aeb199334cc26b3ccf4884c40307b713a93f9aa14a5b42267c5c426749a3d8af399918894daa1683b96a6769a9fc6626305b73a2737752cbc37c7e3f919886b3a8cfd4d590c4aa3a8751a4cc9e5620e188d3fc6a9787231c97b7f235ac0f45df656ca3570ba0f25a5be82b7cee9aab465d88cc5ea07ab135526e01feb73d2d1ee2bd57a00fafd106c3a69472ce7fc62c4f231d29f3a81640fb163bcad5a3350b10d0c1e889625c4eb8cbbd89afda09822d7f044474bb61f42e94b1e2f584de3d3b6ca87dda155a88aaa375f43ee84561ca03851509cb7a9cefc00c39aabaeee5fc6eb784d624f574ff498f3b4b613bb89b485ec4b8e2349186dd5abd50e0d91f238b73fdd07a6baf6ed76f044cb154b8b830e7b905062791572950ce25e6936badd36e0e9ead9f188e0ead68b2580ad0de653c65d1772ef1b93770917fcf73689048bc9eed0e414bfd29b906a564ffaf65c46bcfd85b5165869709f4d0a358cef79aad179901160f6920dbf74ecf3b65f4c0d4032d1bf3071ae2d857c9b96ffd2c69207dbf5d6276fe9088af89e1de2d86f4df6bd4e2d07a9bc0da24c617a16ccb1ce45ae40039298b07d6215da68270ed88ae4159c431091eb840337a8723497a432a91237b592c823816096f1968e5447646d1ab90a560378c3cbac45675ff98fca9bcdbe4cada444d845979b6a065511aea62b9d4cf03d90c3f323eadea1019f968e68886fe1ee8050a7fadae2da16b7521e7bcc54856947ca6fdd759a2ff4f2c501c82ce9cb286754555746a2337e0f6450d3e3ac577af3352c3e24a961b68521936838ff550789301e91dad78abf8db469ffd5a69a3a37573220fb8789e510ef7a882338810be1b6b0d0c87b6f20e824bf772db37825bab98159b177e64ff1d5a11ad339fbc61825c72542fdf9058a00b93e5021935e37cc01a3810a586ed5bca60308f1d67dc408d788ae6f93a30b7878be2171cc0e17d3d82209375e7ed80dfa9e24c2e8ce14a352ece25cd70c236a1cb1bd4b0bb9a9426cd369c385ba2ac1656717ca77916dc0f0b2a8a82b522b616ad54e225b5f070186a0cbec1c146130363c5062377df8685ef0c3820079f2e4deda1ea7b2cb399f800047bdb591e03f30bfd074de30a0a70d5e62cbb7d02c44159e7fd5b7c7292bee01063402fa6a87b2b2223bfb4c13e6eae252df", 0x784}]}, 0x0) r2 = getppid() r3 = getuid() r4 = getgid() r5 = getpgrp() r6 = getuid() getgroups(0x9, &(0x7f0000000400)=[0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0]) r10 = getpgrp() r11 = getuid() r12 = getegid() getgroups(0x4, &(0x7f0000001080)=[r12, r9, r4, r8]) sendmsg$unix(r0, &(0x7f00000004c0)={&(0x7f0000000080)=@file={0x0, './file0\x00'}, 0xa, &(0x7f00000003c0)=[{&(0x7f00000000c0)="f09ea4cf3cd326bdfaa69bc6a39d804737e72f7513320f2b3432acfb48b29795d5e543ced2bdff38c4ca60a513024666b1fa7680cf2e790bea605a90b075b0ff14a95fcf67fca5fe3033a88a753653368e22769ee344fc5253cdf2278991e76467730f39dac9097941396b3ce46c231c7c19ae487148e1cd635f64e12da4c593e76fce916d2d3eb32706b9e30a88258e597f2d681914000d5d9ef6fb9759d2b828f1c08019171c8c6370b1c77abb440f7ed1b54408850c4395277775558f990d21ad0f3b9a19ed4e973d6d8ac48764e4add32a3bf227b6cb78880bafd3467f14294c207828ca124b2bcb3ce512f4b61c06f8fabd9d014ec6c8", 0xf9}, {&(0x7f00000001c0)="8956effc18447ce646956cd30cb832341f572ca025762104f0c20ae933394f8f6a27416d140a0d027a912fb96a5a137e38d10e4c59f02688e1a41bd9c7fa97726e5e49bda8847511a49bd7b658d9b9eb7acd8b073556e64fde86fea1d92ad6195e7cdc9bcff410782f65f5ddc6fac428276fa28acb4f5400d195e3f6a01d79b7116d062da973fa6c1352f37afa50fe8c73fc090b6d0527a4e3c7ff00d59ce90324a267b5c3dfd00c2b44b50aea37ce8831d898c58693764a5bb8b907a75cbb2f07727dcb97e656b1b7959ff40b6f073235c58abcd4d939858bf7a882e0e081bb", 0xe0}, {&(0x7f00000002c0)="812274dcb9e47c01be4bf589aba08dedda7acc1ea2e5c23ba95fd9502d70c57f077d", 0x22}, {&(0x7f0000000300)="94f645b5db6da650fd9715a6e80db9df10a6debbe41fb56a19c8442730ec54110863dddc7a52b889c7f03590aed0c78e130053715ab295173e6b955a33a1cb9d78cafd7b994ab5838973c23c2feed3bca2174af8bcc2", 0x56}], 0x4, &(0x7f0000000440)=[@cred={0x20, 0xffff, 0x0, r2, r3, r4}, @rights={0x20, 0xffff, 0x1, [r1, r0, r1, r0]}, @cred={0x20, 0xffff, 0x0, r5, r6, r7}, @cred={0x20, 0xffff, 0x0, r10, r11, r12}], 0x80, 0x8}, 0x4) 21:54:58 executing program 1: r0 = syz_open_pts() r1 = syz_open_pts() fcntl$setflags(r0, 0x2, 0x1) ioctl$TIOCCLRVERAUTH(r0, 0x2000741d) dup2(r0, r0) fsync(r1) 21:54:58 executing program 1: mknod(&(0x7f0000000100)='./file0\x00', 0x1044, 0x0) r0 = open(&(0x7f0000000200)='./file0\x00', 0x1, 0x0) r1 = open$dir(&(0x7f0000000140)='./file0\x00', 0x0, 0x0) r2 = kqueue() r3 = dup(r0) r4 = dup(r3) writev(r3, &(0x7f0000000000)=[{&(0x7f0000000240)="cb", 0x1}], 0x1) ioctl$TIOCSETVERAUTH(r4, 0x8004741c, &(0x7f0000000080)=0x3) kevent(r2, &(0x7f0000000040)=[{{r1}, 0xffffffffffffffff, 0xfffffffffffffffd}], 0x6, &(0x7f0000000080), 0x0, &(0x7f0000000100)) 21:54:59 executing program 0: mkdir(&(0x7f0000000240)='./file0\x00', 0x0) unveil(&(0x7f0000000040)='./file0\x00', &(0x7f0000000140)='x\x00') unveil(&(0x7f0000000080)='./file0\x00', &(0x7f0000000000)) mkdir(&(0x7f00000000c0)='./file0\x00', 0x1) 21:54:59 executing program 0: socket$inet6(0x18, 0x2, 0x5) pipe2(&(0x7f00000000c0)={0xffffffffffffffff}, 0x10000) r1 = dup(r0) socketpair(0x10, 0x3, 0x40000000, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) linkat(r1, &(0x7f0000000000)='./file0\x00', r2, &(0x7f0000000080)='./file0\x00', 0x0) mlockall(0x1) 21:55:00 executing program 1: r0 = dup2(0xffffffffffffffff, 0xffffffffffffff9c) ioctl$TIOCGETA(r0, 0x402c7413, &(0x7f0000000000)) r1 = socket$inet(0x2, 0x8003, 0x0) setsockopt$inet_opts(r1, 0x0, 0x21, &(0x7f0000000080), 0x0) 21:55:00 executing program 0: mmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x3, 0x5012, 0xffffffffffffffff, 0x0, 0x0) open$dir(&(0x7f0000000000)='./file0\x00', 0x0, 0x0) munmap(&(0x7f0000ffb000/0x4000)=nil, 0x4000) mmap(&(0x7f0000ff9000/0x3000)=nil, 0x3000, 0x0, 0x1011, 0xffffffffffffffff, 0x0, 0x0) 21:55:00 executing program 1: mknod(&(0x7f0000000100)='./file0/file0\x00', 0x4, 0x4) mknod(&(0x7f00000000c0)='./file0\x00', 0x2000, 0x4502) r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) pipe2(&(0x7f0000000080), 0x10004) poll(&(0x7f0000000000)=[{r0, 0x199}, {r0}], 0x2, 0x0) 21:55:01 executing program 0: r0 = accept$inet(0xffffffffffffff9c, &(0x7f0000000200), &(0x7f0000000140)=0xc) readv(r0, &(0x7f00000006c0)=[{&(0x7f00000003c0)=""/79, 0x4f}, {&(0x7f0000000440)=""/1, 0x1}, {&(0x7f0000000480)=""/193, 0xc1}, {&(0x7f0000000580)=""/103, 0x67}, {&(0x7f0000000600)=""/134, 0x86}], 0x5) r1 = accept$inet(r0, &(0x7f0000000180), &(0x7f00000001c0)=0xc) r2 = openat(0xffffffffffffff9c, &(0x7f0000000280)='./file0\x00', 0x10, 0x2) ioctl$TIOCSCTTY(r2, 0x20007461) getpeername$inet(r0, &(0x7f0000000100), &(0x7f0000000240)=0xc) recvfrom(r1, &(0x7f00000002c0)=""/187, 0xbb, 0x841, &(0x7f0000000380)=@in6={0x18, 0x2, 0x7f}, 0xc) r3 = open(&(0x7f0000000000)='.\x00', 0x0, 0x0) fcntl$lock(r3, 0x8, &(0x7f0000000040)={0x0, 0x0, 0x8000000000000000, 0x100000001}) open(&(0x7f00000000c0)='./file0\x00', 0x8, 0x2) fcntl$lock(r3, 0x8, &(0x7f0000000080)={0x0, 0x1, 0x0, 0x100000000}) munmap(&(0x7f0000fff000/0x1000)=nil, 0x1000) 21:55:01 executing program 1: mknod(&(0x7f00000000c0)='./file0\x00', 0x2004, 0x0) r0 = open(&(0x7f00000005c0)='\x00', 0x80, 0x80) recvmsg(r0, &(0x7f0000000ac0)={&(0x7f0000000600)=@un=@abs, 0x8, &(0x7f00000009c0)=[{&(0x7f0000000640)=""/32, 0x20}, {&(0x7f0000000680)=""/111, 0x6f}, {&(0x7f0000000700)=""/148, 0x94}, {&(0x7f00000007c0)=""/60, 0x3c}, {&(0x7f0000000800)=""/97, 0x61}, {&(0x7f0000000880)=""/62, 0x3e}, {&(0x7f00000008c0)=""/218, 0xda}], 0x7, &(0x7f0000000a40)=""/87, 0x57, 0x7}, 0x1) r1 = open$dir(&(0x7f0000000000)='./file0\x00', 0x0, 0x0) r2 = open(&(0x7f0000000b00)='./file1\x00', 0x180, 0x181) r3 = dup(r1) ioctl$TIOCSPGRP(r3, 0x40047477, &(0x7f00000001c0)) r4 = fcntl$dupfd(r1, 0xa, r1) ioctl$TIOCGWINSZ(r4, 0x40087468, &(0x7f0000000040)) mknodat(r4, &(0x7f0000000140)='./file0\x00', 0x80, 0x101) ioctl$TIOCGWINSZ(r4, 0x40087468, &(0x7f0000000580)) chroot(&(0x7f0000000180)='./file0\x00') recvfrom(r2, &(0x7f0000000b40)=""/103, 0x67, 0x842, &(0x7f0000000bc0)=@in={0x2, 0x0}, 0xc) execve(&(0x7f0000000200)='./file1\x00', &(0x7f0000000380)=[&(0x7f0000000240)='\x00', &(0x7f0000000280)='\x00', &(0x7f00000002c0)='\x00', &(0x7f0000000300)='\x00', &(0x7f0000000340)='#{\\.(@\x00'], &(0x7f00000004c0)=[&(0x7f00000003c0)='\\*\x00', &(0x7f0000000400)='#.\x00', &(0x7f0000000440)='(!]\x00', &(0x7f0000000480)='.\x00']) symlinkat(&(0x7f0000000500)='./file2\x00', r3, &(0x7f0000000540)='./file1\x00') readlink(&(0x7f0000000080)='./file1\x00', &(0x7f0000000100)=""/63, 0x3f) login: panic: pool_do_put: lockfpl: double pool_put: 0xffffff001692bd18 Stopped at db_enter+0xa: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0xa panic() at panic+0x147 pool_do_put(ffffff001692bd18,ffffffff81ec0850) at pool_do_put+0x2e2 pool_put(ffffff0016933440,ffff80000e3793e8) at pool_put+0x37 lf_advlock(40,ffffff001dc251c8,2,ffff80000e3793e8,ffffffff81df26c0,200000040) a t lf_advlock+0x270 VOP_ADVLOCK(ffffff0015a96da8,ffff80000e2a3080,3,ffffff001f7ca350,3) at VOP_ADVL OCK+0x67 closef(ffff80000e2a3080,ffffff001f7ca350) at closef+0xaf fdfree(ffff80000e27c008) at fdfree+0x98 exit1(ffff80000e3795c0,ffff80000e2a3080,ffff80000e27c008) at exit1+0x226 sys_exit(ffffffff81558913,ffff80000e3794e0,ffff80000e3795c0) at sys_exit+0x13 syscall(0) at syscall+0x3e4 Xsyscall(6,1,0,1,0,7f7ffffed840) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed7f0, count: 3 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> trace db_enter() at db_enter+0xa panic() at panic+0x147 pool_do_put(ffffff001692bd18,ffffffff81ec0850) at pool_do_put+0x2e2 pool_put(ffffff0016933440,ffff80000e3793e8) at pool_put+0x37 lf_advlock(40,ffffff001dc251c8,2,ffff80000e3793e8,ffffffff81df26c0,200000040) a t lf_advlock+0x270 VOP_ADVLOCK(ffffff0015a96da8,ffff80000e2a3080,3,ffffff001f7ca350,3) at VOP_ADVL OCK+0x67 closef(ffff80000e2a3080,ffffff001f7ca350) at closef+0xaf fdfree(ffff80000e27c008) at fdfree+0x98 exit1(ffff80000e3795c0,ffff80000e2a3080,ffff80000e27c008) at exit1+0x226 sys_exit(ffffffff81558913,ffff80000e3794e0,ffff80000e3795c0) at sys_exit+0x13 syscall(0) at syscall+0x3e4 Xsyscall(6,1,0,1,0,7f7ffffed840) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed7f0, count: -12 ddb> show registers rdi 0xffffffff81e13608 kprintf_mutex rsi 0x7ffec13f rbp 0xffff80000e379180 rbx 0xffff80000e379220 rdx 0xc rcx 0xffffffff81e919f8 rdrand_tmo rax 0 r8 0xffff80000e379150 r9 0x8080808080808080 r10 0xffff80000e378fb8 r11 0x8 r12 0x3000000008 r13 0xffff80000e379190 r14 0x100 r15 0xffffffff81d3c0f9 owctr_fams+0x285 rip 0xffffffff816dce0a db_enter+0xa cs 0x8 rflags 0x246 rsp 0xffff80000e379180 ss 0x10 db_enter+0xa: popq %rbp