kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Mar 26 00:30:34 PDT 2019 OpenBSD/amd64 (ci-openbsd-setuid-1.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.10.38' (ECDSA) to the list of known hosts. 2019/03/26 00:31:00 fuzzer started 2019/03/26 00:31:05 dialing manager at 10.128.15.235:36937 2019/03/26 00:31:05 syscalls: 1 2019/03/26 00:31:05 code coverage: enabled 2019/03/26 00:31:05 comparison tracing: enabled 2019/03/26 00:31:05 extra coverage: support is not implemented in syzkaller 2019/03/26 00:31:05 setuid sandbox: enabled 2019/03/26 00:31:05 namespace sandbox: support is not implemented in syzkaller 2019/03/26 00:31:05 Android sandbox: support is not implemented in syzkaller 2019/03/26 00:31:05 fault injection: support is not implemented in syzkaller 2019/03/26 00:31:05 leak checking: support is not implemented in syzkaller 2019/03/26 00:31:05 net packet injection: enabled 2019/03/26 00:31:05 net device setup: support is not implemented in syzkaller 00:31:10 executing program 0: r0 = semget$private(0x0, 0x6, 0xba021080120dc7e6) r1 = geteuid() r2 = getgid() getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0}, &(0x7f0000000040)=0xc) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, 0xc) semctl$IPC_SET(r0, 0x0, 0x1, &(0x7f00000000c0)={{0x2, r1, r2, r3, r4, 0x2, 0xb48a}, 0x7fffffff, 0x7717, 0x401}) r5 = dup2(0xffffffffffffff9c, 0xffffffffffffff9c) getsockopt$SO_PEERCRED(r5, 0xffff, 0x1022, &(0x7f0000000140), 0xc) semop(r0, &(0x7f0000000180)=[{0x4, 0x1f, 0x1800}, {0x3, 0xff}, {0x3, 0x34, 0x800}, {0x0, 0x6, 0x1800}, {0x4, 0xfffffffffffffff7}], 0x5) ioctl$TIOCSWINSZ(r5, 0x80087467, &(0x7f00000001c0)={0xfff, 0x100000000, 0x80000000}) r6 = semget$private(0x0, 0x3, 0x506) execve(&(0x7f0000000200)='./file0\x00', &(0x7f00000002c0)=[&(0x7f0000000240)='\x00', &(0x7f0000000280)='\x00'], &(0x7f0000000480)=[&(0x7f0000000300)='\'}\x00', &(0x7f0000000340)='\x00', &(0x7f0000000380)='-\x00', &(0x7f00000003c0)='%:,\x00', &(0x7f0000000400)='\x00', &(0x7f0000000440)='[*\x00']) geteuid() getpeername(r5, &(0x7f00000004c0)=@in, &(0x7f0000000500)=0xc) setsockopt$inet_opts(r5, 0x0, 0x1, &(0x7f0000000540)="0ba4c686d5bc7449a1df68cde4dfe53f2b9df0efa4b52691f74ca7c8a517c97fbb66ca1f28ee87840643e2cae87d155c102e7d0df928fba8eccbf3229443df0c77b2d80c6ce08436388ed742dbb300e003e22bfa0d479fdbcd1da7c3379d124f23e599da471d776df89d823e1fcad2810fda2829ef968223840426915e04364e5bf94ffa6d6cb8030efd681d1c6ff7181c0ef5ab7a9a2acbbfac4e458d24f876780ac379d17f10787494ead8fefa193202e44cc678cb8cc88bdf8aaa8ab65ccbad2b8eb7524beb3472cb348db45e8b945374def6f8d4cc346252d30bd744c47b3acfd128f8f0ee86e948e5c31894b3f1701dad3664ffed5059ace93f4285a6fa9605bd8583ad456f11caef6f0ffe927401d17de0bae5f4f540212010181557deeea0fe8034b2485215d2eaf21596075958578e73e277b1b25968ff4c60ecd42fd959229b080234213b3ecaef5ef1aca9e79d9bc755c8f5ca14464cfbac5626a365666487ab2089612d057a5af6d9d2bb62842cf2aaa6626596ec2ed57dd3b525d57283b64f46ae6a95f747a6470d125c83fb6cf17606e60046466847b6ddeb89b43f715321e1367a9aafbc4e0efc192601a02f9504db3325d32be51068f3ee82afb9235451214c6e765368fe1e5bcf163919d4fdfe012e919ff7ac8e4626febc3f4856949bc0f2cac19259faae2a1944766ff83a9b34a46163a63a307e46bae8d4ba0e3ecf43b4b9ef11b0ba2e1ea9aaed7cdcc9f1cd9451ef81fa1287ed93f34ac61d764c8ccf254fd91bbe7138d32e95ece8b57245897b0834544b1717dd2e5b24a340e78b289cfe9d0d7a095ee760f6cc821d491ca2bcdd85394fe5641cb84dad237083ca1196a97c1430da919651415556093cd2b281add5ce1f71bf588e212ca454e1322b68a879b717529230c553527f7cde4aef9b358919dce92619890f5c08d8d2fa3d1f8e1d8943fab6beef6ce03a7e9bc0bc03984173f3ec204c3c0b9a7b76b37b492bc3556a05da3b74fd5cd8e212ead444d1729de4c70255aa2a0f8913416ab6053d8f0714c8fe3e3e1aca34f4d12fc68bb17710d7e61ea6a1914e39e9cab9acac18f54e7f382a9879bccc2081860a5c0c409879bb3a708ae956d57c342e14dc01071d240fae711381e76728bc164b19c0317822e4f30335b40dfe6615e1a561cc73c4eef86cdfca084e4c095a0740d5dc8148e7dd5000b0587e65b35206ca8f8cb487ccf4484d78d91d89ca8dde5677bf52b8ca8d2c45327084f140d68abb8525c85397c7e3b57819b1e5b0a086cc93e584d0a8c5170427c2091e75ee887f136c2ad9007877ce96cf0127ab235da1c8c45165db19359a215a2355d067e69f2521ea08129b6accbedcaec1378d251d15e0df18f12be8d88f604a70df8f3159993edac8ba432cd514b22e257c7a894850b64b83f84ecba6eac7f35a3b8815b265402661335ee6e237cda2327ecfeda5ecd18043da5ee72b191a2975f074d2a756cb82930178da9640a1226faa793330436ea1fec9b356d570d0c12fbdbd57d63ee382c3d11c931d1c792a7df7a0b01549c22f19fe1e77b39ab3dd085a472a4bf58ecb92f9a20b6fa95a46fb417d43d35fe07b3682df7c35e16b23e4a741da6a259d0e2bd389fe6519610671daf549cf44002dfca8e3defa93a774d588f18812f42fe422de23cf76eb87b8d5a19337a422d049af124f5edcea4e1dae4a1ca627b25f6ece7a0cf3c731729b79acd9a4b851a6cfbfd7320d2a244cfddb658c6e58497d8959d0087d7a0855b39cef5c6e7c48347463e1962d53ee9ec18a2d554d83867045690c3c498164d933d394ba24d56e68d868d5264a072f74d93dadf58269ee1895d6aedf3923a016770257025fa7ec283d1f78c97b2f406ab1ab82ece3e93680fda91391b294138b9af6238fec1d62f05a939bb73b3abeaec86466c1595cc261b77e9836490f2d567ffd8ae15287573527454e331396580030c23070911fd566fea046305090b7c8d34ca0be8df42b57153110c68c3319275f6c86bb9aaa9bb7c41bf515c3a903e1f47d3090315dee7678cc002e2380cf6aec6c27a75dc630d65816a45a9dd6b608d8e83c29721ee60517395ba7522638b564db50369429de19fa6787bbe88543d532ae7ceb59023ece4d311fe80da43c1173298a77dc81e9720d74dc5965c323efc56dad8bf61648d7d6218242d66bdb882f043a7a5949f75971eb043ff309e3de3510cad312974ace31860196b8c983ea875792895bf9e6c6f0f862a49e90e16e902d260c3534a08104f5f7de389c5c06e5d67f3941525e89528df1829a720761e147335467462e42a592dd8062632a57cb6f725c89a952d9c829be28ca53387b6fda3b63a1d58e7664c7539c05c06078f8910af894ccd8ad1be64da3e4a9ad44a5560d37d0e46ccbd1c33a6cc95d5ce0ea4ec55adc26ebba08716e0c9dcdda15652ee96b7bbca7ac0ddaf521907e42daec802a179398bbf431ebc2590c6b883e273ed09906d92a0b16a24a66b57b2db8abbb9f04fd4e3122f02c55ee5ef82cf5e715bcc21cfe51332220c33a364f12419e108954b2a975b6a6502d760a08de7701dcdede33aaf0c618491d11691856e1b99a9d392c5b15d328028f7f11c01e378776b40005a32d5a29d28e90f88d2ea3f9be83748fbba4e6eb113141609c768fd97a91a30eb0bb36f127b43c89cae7e09e8f3cb6bd565fc318547216a3027aa25a2372d20475d18ff940f239570abee927f2c61f4dd7558b1f78590531194bfb6e1c20f716f7bc3241b69e88dda35876a80b1867939246244a6af9847cf7b3dcde743018e1345b12ff56a581a2f6cd0ad7959f7b8b5023a54d530a46b2474715268d3eb70bbeefd12542b24f8d2693e8abadfa6b43a291ef270bb80d0fb95d2136db4cd161ecc4a9eef05a796e2e6219610ebc1a884dd5a949c77a6110ed58eb29db39fc7399af8def01f77f9d42bd42525112730811c3ea2da0040597adee88903686f63c6a29630547ea9c244dd2926012ee9081ee163bce062cf3541c7df310a749798ad8927a076e5308ac3c24a69414f5eaec06092d21f567a7466da81df169634f4e0725914a1aea2ae027ed01f9ecaccdcbea3cc1885be591c939794e174efefb54ee595a80175791a28d2031d2ed55614974800fc0323839fbe5043abddc6080aec2d5ecb727eb5ce7a64f7f4b51d1bac1340e243cbd7f6fd4db723de513f9415019c7876ca0f0100612c03fa63185d384e36c0ab773e696f93b6a383fb8e4ca50b06d63b26277826a6c9a4770fb3628f84da6cc1a5dfdf8464943c8474a7937d72ffae3833fe80be052c7446b53f2cd952f8ee078b25b04ea2680e48123ea194c321dda8d7806ba81c56599432f3a84456d8d1a8f5a3549955042b9a71dd40a8fd221395b92406343665d1c039afcfc23008e38cb34e55d108ab3268272f32894ddcc22763f07d1c09c4e62b88fa28fab63db4d93da99fbebfe5e7477adecb171f844669416ecde1ff8dc730d9ac38eb7f9d4456bb259b72e191dfaab6390631104ab7137756fc203e3c6a2c9fa931ed70d86ee402a3e8f5f6149a9a2bd23d53092c407642ff7d67a92c4992fac334619a5a4e700c5a6212a520e2e5bc6289cca4116adc156fcc43951b113445820785d96d5b7cdace7f3791e4878bca114175c5360a623c0dea0ee14541b5ee7c50488fad447368e859b532767eed1aa0bfd8c8400b4222a01e92a7e0e2c927b8e2ebbde2245e546851573dee69b758f019c7009167c0be9d4a477f869a4c764375c58647c6b00d6f350509b5286f73d966f95d28e7e3ac2b482a0cecd057795e5fc3a58c7fac27a459f7eae24de983e86dffad5c7e1947d77bd49bd90bf86663d6ea08834126cc10a40fa9cecec1a57144d664a73dcb3bfba06f352c0b10ea04d7d691b31cc679e1db52fab00b70b2c49e126fc9fd0082b551eb64c6342954f8beec06c544c634ac0c10ff3e1dbe82da88735730025ff575749af4a83e11cb02871104a50d6e0fa90f8a93d8b6fefa4d8ce3a33828ddfb908ce9ac89d94c98d5bd54c6a789c63a22fb37b6052392f5728151e4f8240e8279f8bad13670e1f577d8fe1f88fb82708c1fa2495b64de47646dfdf2841d4a75cc8f0810e265697abb7f9ea16d631d908e11aedbac1b1ef419c0e8c5247ffaae9e1d4a318e0bedae90a2b9e24b3063196c69ea820b34f2962ae322f58325572c834c664e448670ed3c2cb4c87f0563ccac60d0e8c7638dc5a71cc41c2c18fa4ac244ea757b8f0861753374ef5823f11981ccb91a679432402c9e25a363da70c6f70dd517e0db846aebcf445014a32aba227401d15c0daf08201fde704d3e9624f28e0b9ec67ee75abbc5f800ab86bd7580e8562cc442f44ad143a75bbbc874b50bc93db6fe0556982c2afdcc021c3b71e486730e3724052ed638b681071ddcb5b79a9463ffa81e6629e42bbc23782068e48c9debc42c2d547f348d0f7a6510e24ccfa4cd6a9fba504efa475b4e00f808e50420eca86e3f7abc3144d4abcf9f2b7a8d02f41d61f98b446250960997e8e2f8434fb0b06b268e5e796b09fd8d531327ff11db74c45cab8916910519d189bf8dea8a54a80bdf70f7032d46304fb3f106e3d0677303e9c14b7c931bd2dc26598fd75e9f9deb02d1d86e90adc74bd01c51bbc9a5eacf0d80afe043b22310022510eee8b765da6f7cd8db7ca0ce3dfb0226071feadd446412ef0a1851b173faa6d8f227ca5d881468af922a9f4e66b2a925e02d8237e53d0922a7e55a78824256806ec3fdb27eb82b264e8ac7b912aef0d3dfeb39326078fdddc23f8bd5cd4278c1c899d271ae2af8eead3b5bbe836d95ed8f813629d5e73fdb8049220cd874c9e1c7638d84598a07ed32ad7f841c0c8885dea0aac5e507053810f7fc5e7209c216b2331817b0577c1ca64758ba182a52dbb32486319250ae674c88f405700def32da487d40531bc119770925225447464e860b6cca11868af085a49aa95dd04212b5cf8c72820803923431c79bdd7ac466ca08dcab8b8993848250dbde3a554c864c4dd4daed653873c2d5c6d77a4c9561872d3d4dd6b79ba98da3fba621fa977306efd74e6b1a1b2fb316447aabceccebc367a35955f989ac247172c34f804475ef0a95166a255997485b5934f94939646576a4d946e993fa7aaeaf7ae3ccc164d5a13746e178a90dbc328cba6bf244f6cd6750416908d6ced6bdd6d27c08ee8e33ac45891e10b88372ebf4fa819d70932f8e5182dae1b622eafeaf9bcf9de10f08ece7decb03ed4dee91ff1a2b37b15cbb1632b03616815038627ac0da810eef699ef8a26ee6dfd2e45bf36916624aaee7a7a30cfaa36acb60c247361a5d2c5a6f72a3daf99c42cc356a505a48795adf25a9ecee6c1d5c75e2ca3b6f84b07317b68ab937c219d80cef9c4e69315d8d3b9817c2a93788ee4f14d7ef986139ca7ffbebd5391d47beaed6c3d43b6a22f18b436e52eb382c6587c2def910a1055e943a63058e5c37c1f83cc248cea35bd2004f84f56423fad549eb0a8e69371e6a184d2cdc7f38c3b27f671b7cdd65e5f2d874c08e8bab0457a3261df3f0b502db372e97c4e865c1a878e9760c4d95153edebbb5e43ab617436068dd64873ce82ddf571d40c04b061804bda2b7c24ab061b0ea322f5857c8e1af7d7a67cc6ca3f989f68d97d0eb3ef53e9b9420fe2e606e8e609fb8ce999eb2602c1668dbddd0441212652c0c96f290ad68d056633292e30b0b0a3898e20ec", 0x1000) ioctl$WSMOUSEIO_GETPARAMS(r5, 0x80105727, &(0x7f0000001580)={&(0x7f0000001540)=[{}, {0x0, 0x4}, {0x4, 0x2}], 0x3}) write(r5, &(0x7f00000015c0)="55815c508a255484a0a43efa778508b58a5e6bfa8384443617d220bac45a74adfd0e4e33bce99b98a6ac69b657c28ad170e8107ffbc545918a08313efe21e5e2", 0x40) mknod(&(0x7f0000001600)='./file0\x00', 0x2002, 0x9cf) socket$unix(0x1, 0x5, 0x0) r7 = openat$zero(0xffffffffffffff9c, &(0x7f0000001640)='/dev/zero\x00', 0x880, 0x0) recvmsg(r7, &(0x7f0000002c00)={&(0x7f0000001680)=@in, 0xc, &(0x7f0000002b40)=[{&(0x7f00000016c0)=""/31, 0x1f}, {&(0x7f0000001700)=""/206, 0xce}, {&(0x7f0000001800)=""/148, 0x94}, {&(0x7f00000018c0)=""/152, 0x98}, {&(0x7f0000001980)=""/148, 0x94}, {&(0x7f0000001a40)=""/229, 0xe5}, {&(0x7f0000001b40)=""/4096, 0x1000}], 0x7, &(0x7f0000002bc0)=""/32, 0x20}, 0x1) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000002c40)={0xffffffffffffffff, 0xffffffffffffffff}) r10 = openat(r7, &(0x7f0000002c80)='./file0\x00', 0x8010, 0x2) ioctl$TIOCSETAF(r10, 0x802c7416, &(0x7f0000002cc0)={0x3f, 0x7, 0x4, 0x2, "100ea795e63739063f806ee4d257b9c087c16012", 0x4, 0xbc1}) mmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x4012, r8, 0x0, 0x0) semget$private(0x0, 0x3, 0x20) r11 = dup2(r7, r9) ioctl$WSDISPLAYIO_USEFONT(r11, 0x80585750, &(0x7f0000002d00)={'./file0\x00', 0x1, 0x10001, 0x20, 0x1, 0x4, 0xffff, 0x100000000, 0x3, 0x0, 0x5, 0x9}) getsockname$inet6(r11, &(0x7f0000002d80), &(0x7f0000002dc0)=0xc) semop(r6, &(0x7f0000002e00)=[{0x3, 0xfffffffffffffff8, 0x1800}, {0x3, 0x10001, 0x800}, {0x3, 0x9, 0x1800}, {0x6, 0x3f}, {0x1, 0x1, 0x800}], 0x5) 00:31:10 executing program 1: r0 = accept(0xffffffffffffffff, &(0x7f0000000000)=@un=@file={0x0, ""/4096}, &(0x7f0000001040)=0x1002) recvfrom$inet6(r0, &(0x7f0000001080)=""/4096, 0x1000, 0x0, &(0x7f0000002080)={0x18, 0x3, 0xffffffffffffffe5, 0x1}, 0xc) semget(0x2, 0x3, 0x22) clock_getres(0x4, &(0x7f00000020c0)) setrlimit(0x4, &(0x7f0000002100)={0x4, 0xae}) pipe(&(0x7f0000002140)={0xffffffffffffffff, 0xffffffffffffffff}) ioctl$TIOCSFLAGS(r1, 0x8004745c, &(0x7f0000002180)=0x10001) ioctl$TIOCSETVERAUTH(r2, 0x8004741c, &(0x7f00000021c0)=0xffffffff) setsockopt$inet6_MRT6_ADD_MIF(r0, 0x29, 0x66, &(0x7f0000002200)={0x7fffffff, 0x1, 0x91, 0x8000, 0x1}, 0xc) socket$inet(0x2, 0x0, 0x1754) r3 = shmget$private(0x0, 0x1000, 0x2, &(0x7f0000ffc000/0x1000)=nil) shmctl$SHM_LOCK(r3, 0x3) semget$private(0x0, 0x3, 0x0) semget(0x1, 0x3, 0xc0) r4 = geteuid() getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000002280)={0x0, 0x0, 0x0}, &(0x7f00000022c0)=0xc) fchownat(r1, &(0x7f0000002240)='./file0\x00', r4, r7, 0x2) semget$private(0x0, 0x2, 0x80) shmctl$IPC_SET(r3, 0x1, &(0x7f0000002300)={{0x5, r6, r7, r4, r7, 0x8, 0x8000}, 0x3, 0x101, r5, r5, 0x6, 0x8000, 0x8}) r8 = msgget$private(0x0, 0x630) msgsnd(r8, &(0x7f0000002380)={0x3, "e9f981c3f081698868f3cca7f7a9dcc91ae25b7db806eebc5946926babc774440e4ccc9c041b12b443ebb63482846a7d0516b217434c37c6c2dcebc01176084513bea742dd5cb6e4ace6d4789422d69c556ee6ce36997d22ce3b7bdb7895c3a3b35a88854a622509414fc7acb5e239ca3cab6442fa79c425bef354faf7dc"}, 0x86, 0x800) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000002440)={0xffffffffffffffff, 0xffffffffffffffff}) semget$private(0x0, 0x2, 0x40) setrlimit(0x2, &(0x7f0000002480)={0x1, 0x6}) shmctl$IPC_SET(r3, 0x1, &(0x7f00000024c0)={{0x0, r6, r7, r6, r7, 0x40, 0x5}, 0x80000000, 0x8001, r5, r5, 0xb6f, 0x10000, 0x5}) connect$unix(r9, &(0x7f0000002540)=@file={0x1, './file0\x00'}, 0xa) r10 = shmat(r3, &(0x7f0000ffb000/0x4000)=nil, 0x3000) shmdt(r10) openat$null(0xffffffffffffff9c, &(0x7f0000002580)='/dev/null\x00', 0x400, 0x0) getsockname$inet(r2, &(0x7f00000025c0), &(0x7f0000002600)=0xc) 00:31:10 executing program 0: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f0000000140)={0x0, 0xffffffffffffffff, 0x0, 0x0, "85495500020000000000001167f5afa680400900"}) r0 = socket(0x18, 0x8833f52b21fa7b0b, 0xfffffffffffffffd) pipe2(&(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) ioctl$WSDISPLAYIO_GETSCREEN(r1, 0xc0245755, &(0x7f0000000080)={0x81, './file0\x00', './file0\x00'}) setsockopt(r0, 0x29, 0xb, &(0x7f0000000040)='\fFW}', 0x4) setsockopt(r0, 0x29, 0x80000000000000c, &(0x7f0000000140)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r3 = shmget$private(0x0, 0x3000, 0x9, &(0x7f0000ffb000/0x3000)=nil) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f00000000c0)={0x0, 0x0}, &(0x7f0000000100)=0xc) getsockopt$SO_PEERCRED(r2, 0xffff, 0x1022, &(0x7f0000000180)={0x0, 0x0, 0x0}, 0xc) getsockopt$SO_PEERCRED(r2, 0xffff, 0x1022, &(0x7f00000001c0)={0x0, 0x0}, 0xc) getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000200)={0x0, 0x0, 0x0}, &(0x7f0000000240)=0xc) r8 = getppid() getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000280)={0x0}, 0x34533c9bef3ff6c9) shmctl$IPC_SET(r3, 0x1, &(0x7f00000002c0)={{0x0, r4, r5, r6, r7, 0x0, 0x5}, 0x2, 0x9, r8, r9, 0xca84000000, 0x1ff, 0xea26}) ioctl$KDGKBMODE(r2, 0x40044b06) 00:31:10 executing program 0: r0 = socket(0x18, 0x1, 0x0) r1 = openat$null(0xffffffffffffff9c, &(0x7f0000000040)='/dev/null\x00', 0x0, 0x0) symlinkat(&(0x7f0000000000)='./file0\x00', r1, &(0x7f0000000080)='./file0\x00') getsockopt$sock_int(r0, 0xffff, 0x1021, 0x0, 0x0) 00:31:10 executing program 0: r0 = openat$wsmuxkbd(0xffffffffffffff9c, &(0x7f0000000000)='/dev/wskbd\x00', 0x400, 0x0) r1 = getuid() getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000040)={0x0, 0x0, 0x0}, &(0x7f0000000080)=0xc) fchown(r0, r1, r2) socket$inet6(0x18, 0x1001, 0x2) 00:31:11 executing program 1: mknod(&(0x7f0000000180)='./file0\x00', 0x1ffb, 0x0) r0 = open(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) r1 = open$dir(&(0x7f0000000040)='./file0\x00', 0x400000002c5, 0x0) r2 = kqueue() kevent(r0, &(0x7f0000000000)=[{{r0}, 0xfffffffffffffffe, 0xb3, 0x0, 0xa468, 0x9}, {{r0}, 0xfffffffffffffffd, 0x4, 0x4, 0x7, 0x3}], 0x2, &(0x7f0000000640)=[{{r1}, 0xfffffffffffffff8, 0x91, 0x2, 0x4, 0x7}, {{r1}, 0xfffffffffffffffc, 0x20, 0x45, 0x8, 0x8}, {{r0}, 0xfffffffffffffffb, 0x28, 0xf000000c, 0x2, 0x100}, {{r1}, 0xfffffffffffffff8, 0x2, 0x4000000f, 0x9}, {{r1}, 0xfffffffffffffff9, 0x20, 0x8, 0x3, 0x1}, {{r0}, 0xffffffffffffffff, 0x4, 0x2, 0x8000, 0x8001}, {{r0}, 0xffffffffffffffff, 0x0, 0x80000000, 0x80000001}], 0x3ff, &(0x7f00000000c0)={0x4000000000000000, 0xe000000000000}) readv(r0, &(0x7f00000005c0)=[{&(0x7f0000000100)=""/11, 0xb}, {&(0x7f0000000300)=""/96, 0x60}, {&(0x7f0000000140)=""/34, 0x22}, {&(0x7f0000000380)=""/14, 0xe}, {&(0x7f00000003c0)=""/102, 0x66}, {&(0x7f0000000440)=""/147, 0x93}, {&(0x7f0000000500)=""/101, 0x65}, {&(0x7f0000000580)}], 0x8) kevent(r2, &(0x7f00000002c0)=[{{r1}, 0xfffffffffffffffe, 0x11}], 0x3ff, 0x0, 0x0, 0x0) r3 = kqueue() kevent(r3, &(0x7f0000000040), 0x60, 0x0, 0xfffffffffffffff9, 0x0) close(r2) 00:31:11 executing program 0: r0 = socket$unix(0x1, 0x5, 0x0) r1 = fcntl$dupfd(r0, 0xfffffffffffffffd, r0) ioctl$TIOCFLUSH(r1, 0x80047308, &(0x7f00000000c0)=0x24) 00:31:11 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() syz_open_pts() close(r0) r1 = syz_open_pts() ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0xfffffffffffffffe, 0xfffffffffffffffd, "f69b2256db24ca665c6d2adfe04300"}) chmod(&(0x7f0000000000)='./file0\x00', 0x80) ioctl$TIOCSTSTAMP(r0, 0x8008745a, &(0x7f0000000080)={0x6, 0x2}) r2 = socket(0x18, 0x4, 0x2) getpeername$inet6(r2, &(0x7f0000000100), &(0x7f0000000140)=0xc) writev(r0, &(0x7f0000000200)=[{&(0x7f0000001800)="d10b01e1d680f9c6062e6d20da79547c19470756030e4e79668254e737c42132b2f88425f4eb7db503a5c03d41a893a0c73b3c38e32468b9dbf2560d6c575768760056b5d3ab2b1c57e6bc1eaa94d6cc666e8af2db19c4845ace8342f15b175474794bd7845853fc3246e1044321f2b291ad9e303905ae6eed8f620ddea01882a4fe05fb74dc3da97ab05e64632e85b80bfbc0f1db169b67eb682ab34df35e193e36a1af6d5185b6ba3ed3dcdc6d4bb18ce4d900c8e6a206c19dcc94c5275eb46fc82dd3242334b88d5580f891c20a42ad1c516658479257393e16f6c12e499c639039aef61448ac3c7e80669f5557141b711aea87b38637a1b4b65f240ec7f37a09bf59a95a65aa07fb724d671eccf12bdae8df11f389d59ea4bbd573da7bf7ef1711c5d44a8aa9ea0ddbbf0c63318fa69bef49dddd26fff091919895189b9b4174c96a31a9281eaffc5fe6b61c5d6f1bedc9809f5a9d9ad7cfaf84776eb5d5717bdfa4789922265b2f27a230372ec1aa093aefc07e28617cddca6de2941c448cc963e5cccf4dd5814f5610bb3841e0f80d44164db3840d5695ed292f054f8074bd421c42dac937a9d317b2250a8c0af2fb9fd8e9d5f41584bcc1f94f0e11cb73a63ba82a7d46d762b625ff447ec3d0f0f91afbbb99ee8ae7cdefe4674ef4f74612d573a600cae98b6fb71950a21963c56028d7857a8e4b334141107dc7f5bd617e62a25f1c6332c238dfb77ad8c4695b7da5751cd86e5c86a473c94d76b09180f348be30986df1cca9455db9777e3731ba3571995dc003b1871d1a6c3407f7eae1916bad7b1051c551667d68aceb7275ff935c1fc5fd0b1a4a0926a3724e2f7b1ccfa0009921a3c944f08afdcbebcf1d79d1e3b3c71389a9b0175e66526ae0b92f2f2eda3d332b063d1a0c157535e47fc802460a358828c8d75cc26713a1b8e14fc318c179d0dbf412b398bd06d2b6efffb01d35065e23062d16080e3d5e01833dd224313dd2265c65c1051a42c0a37911d775add8ec3367c5c404a05d0067cef5f58ed8f843693b45315212ec06fff30703b1894267b652b522050caebc5799661095290a314889061e1e7dc97882a23a7e2b88022324cf8ecca5ded98d34328850ca995090fbb1069c058b58b95dadd25aa005c2f0a72fe29f078b0214e1c86b682c86e10afc8232eebd70c449236804cb191e34b3b2057bb08a8c2fa0667c34583cb7857005078d9771447063790964fce093896ebf47851a636579c3dae62e3fa62d3e70fd96846f24c298e1117ca9790c0c013d24bd97d5b025b1117758483333f03253382427bd13dfc583bda5abcf62735e13a7aba3962b0673db4432cea429b7582dba532dcf46403cfe090abe", 0x3d2}], 0x1) writev(r0, &(0x7f0000000700)=[{&(0x7f0000003cc0)="8e8b32d50dcf5b549f7d3527fe5dc401a3cd98dd6235cb922242c3e4a2234f700491f992bd10a7ca5189ce08892ec6a4f3d02aca6f41722d7e0f0ef4152ab78347dd4f8b64c34cd40da195fb02c6014638656a4157b167d82b3cb98c8aba4ecc848aba974f248a8860ee1e018b40588afcf04ea7ef4f53c8385e0b668f1f24e142461c30cdeb0ad5bd6db6abc907d6d6bd4ba79c1897fe32c30ce644fec443df10840fd6ec882a6395eaa9b3a1ed0b1e61df37565741d2f4e7b7e0f17caff599f60d6bed6ca7c18e393704253ecb352dbca7203a6db8e9b8e0ac6224d82ec480deca97e522dafc0be738750ceeaec170250ddd33c905dbe77ac4863ecb2d5ec2878088c8ff131d0118fcad822e6f8ce6da93e8440e936f378bf2a1eb89c4d78d2880c0858f54c01286a04c966c334251962c9223a4f14c8df4c9edd0e5e216ae521df338c4c7e73367c636867a3a83b238b385e5a18aef692b03ac509658a62373ef0521e3e7c2c43ada998c9a85854a580e57e7f14d8a091e753e7cccb8409a42eb8c236a8812b2be19fd5c21adba2943900830eca5ab824650e4ca496f16fcbc99ae18da1a90422171210e4ed25deed89ed9c99085b57310e8d4a573246e8bbce8bafc0908efc5ffcd4f210a7289020213f7574f6d2ac9e549b4862959d352a8a6112e6336e1d8cca0cb6468af56872ecc8496546bf8ce46189c683cf4ca4353251f91dcc99ed1beb21fd7e787b0df75494a726e4a2e3a0ef54eceee4d823891dca54ef5fd733bdf9700552814227f45fd095461508efbc4f9be87a463420c4ddd6cb06c1a01d43102673de2f2c267f701ac839331f0ad86e1acae4d7cde123d6a8993b4fdde8fe6612aabad5b5a4af00bcc6857af7ae506fdbe3bafe9f689dc52a014f79918db92ec7dc7ab925c346b6db5fc64dcb590c1cc0e1287d9300207931c6df43979b924dc4ce7904ab64e6227db05ca42f2bc7fdb", 0x2ba}], 0x1) r3 = open(&(0x7f0000000180)='./file0\x00', 0x8, 0x4) ioctl$KDGETLED(r3, 0x40044b41, &(0x7f00000001c0)=0x1) close(r0) 00:31:11 executing program 0: mkdir(&(0x7f00000000c0)='./file0\x00', 0x100) unveil(&(0x7f0000000080)='./file0/file0\x00', &(0x7f0000000100)='x\x00') 00:31:12 executing program 1: pipe(&(0x7f0000000280)={0xffffffffffffffff, 0xffffffffffffffff}) ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f00000002c0)={0x0, 0x0, 0x0, 0x0, "44619b00000000fe3b5320000001000000000d00"}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) setitimer(0x0, &(0x7f0000000000)={{}, {0x2}}, 0x0) r2 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000200)='/dev/wsmouse\x00', 0x8000, 0x0) fcntl$getown(r2, 0x5) pipe2(&(0x7f0000000080)={0xffffffffffffffff}, 0x10004) r4 = dup(r3) ioctl$TIOCGETA(r4, 0x402c7413, &(0x7f0000000240)) ioctl$WSDISPLAYIO_GVIDEO(r4, 0x40045744, &(0x7f0000000040)) r5 = socket(0x18, 0x1, 0x0) r6 = msgget$private(0x0, 0x200) msgctl$IPC_RMID(r6, 0x0) readv(r5, &(0x7f00000003c0)=[{&(0x7f0000000300)=""/157, 0x9d}], 0x1) close(r0) r7 = socket(0x18, 0x400000002, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setsockopt(r7, 0x10000, 0x8000, &(0x7f0000000100)="97a949838dcba5a11e8b63231d8110e633d7234e7bfdde2c8a3df285cbade774d21f1b61e7df3876d8245a5fffa67a955a5b8fbde27e904a6512a0356a1e317b87f0819599a4bdd956da66e3c030bcb11005d50bd3b4e3bf57ccdba97333eaeba1b5627f327b45aae85f1f5fedd586ed81a370f94bb40d7b7e937cacfae6b6cc7f1080bf8b17f8ba73155b61165c10bba15be620edf9c0cc0bb51ba03df28298f8a5bc5dfa5f07ae8d3b8bd2bf44460911a0562fe9d5bf4566e5021b2e3f3974fa757fed2e1d68c0bcb88d97ba1c9652fb5834b7356370b3e32f24", 0xdb) setsockopt(r7, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r5, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) close(r5) socket(0x6, 0x4005, 0x7f) 00:31:12 executing program 0: r0 = kqueue() r1 = openat$null(0xffffffffffffff9c, &(0x7f0000000080)='/dev/null\x00', 0x10000000000, 0x0) r2 = socket(0x0, 0x3, 0x7ff) kevent(r1, &(0x7f0000000300)=[{{r1}, 0xffffffffffffffff, 0x1}], 0x0, 0x0, 0x0, 0x0) connect$unix(r2, &(0x7f00000000c0)=@abs, 0x8) r3 = kqueue() kevent(r3, 0x0, 0x0, &(0x7f0000000240), 0xc4e, 0x0) fcntl$setstatus(r1, 0x4, 0x4) kevent(r0, &(0x7f0000000000), 0x34, 0x0, 0xc68, 0x0) 00:31:12 executing program 1: r0 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000)='/dev/zero\x00', 0x10000, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x40, 0x101) r1 = socket(0x2, 0x400000000002, 0x0) setsockopt(r1, 0x0, 0x15, &(0x7f0000000040), 0x0) 00:31:12 executing program 1: r0 = socket(0x11, 0x3, 0x0) r1 = kqueue() r2 = fcntl$getown(r0, 0x5) r3 = getuid() getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f00000000c0)={0x0, 0x0, 0x0}, 0xc) r5 = getpid() getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000100)={0x0, 0x0}, 0xc) getegid() getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000140)={0x0, 0x0, 0x0}, &(0x7f00000011c0)=0xc) sendmsg$unix(r0, &(0x7f0000001280)={&(0x7f00000012c0)=ANY=[@ANYBLOB="01002e2f660010653000efb5fb8005e80d18825339232539383d6bec9fb1447a3e22205694a6126d254c6be14492257145b7a03a91cbe8e9c02c21c2f2998b37d01b19f11a5913b5804ba3e89504507c378f3928fcb90695f46406668ff7c6d46c2146fd406ac662cc95cac4a9a589ea7f4bb75977829429de4efb8ad988a4689331d828cc1266049b89599a41a40f01b785a9c2bea8c07068522ee92d2e67bb8ba5c2893c48b81e22c0b0235c022af4d8f561aa05003a9e0e4bfc029137833cf75463b7314f59931754943bc51cbaa5c21b4a5c23ddf1b543478bc50a40f977347a66c39f0c"], 0xa, &(0x7f0000000080)=[{&(0x7f00000001c0)="9928eb2b548b902edd20effb4dbc4afd365b0116cccde1d5b4eb934896c78f9f14a22f237b95d8a83951af2f975831a0f0a290cfb598336350e60e54115efca1df020a123f8208fb862fd21fd38073d82f39b3029b85ca6229e74d9b3c8fdca3130b42deee84731c6d03d3a664590ec793b4b69e7a791ec2e03601917e03d79b0b7f3895ebd714fa3f1f96f39e9203619a555e0f9ff030fac2042d323e624ad8e518843e884555d94e47b20a4394d001db729b92e0c4e78346622ac81e6718bb16ac471b7128f350a96f7a7c2c7fc2fec62deda696c5c8d3fe3dc5834fc1718a57ab93995ea78c7690f0530dc737f7c5c8552862a70528b346c250cbfc55cc1c6584c6fbf37deb35dfeb61617b0d9ae3fc74d25e5e3e7731e3409f21769266335c55bbefec53ba627824e5defda3420e32914f290a326158b8b9103a478f12a4b64b04a72cc554d5be3706fc4ed22b0856faa34704c21b00a1438ccd7edb2e0013ba0b7246e18edb0280163670fcd542891626711d28f86d92edf001c3cd19cb7f214b71ba10cc191a14ed37f5eeb7bbca2f7b291290702e13fdcf180f5c1df62622ebf6983b5a016ddd868261c766e4b7fe712c7b1e13b652b53a09154c8b79a4738b14f7808ee576d8a3c7e06edfbbf146cb8a2f8c4697e16de1bbe0e9669009b02c16399c6f4ee0c04eda5d1ae91a7b1be09be24c324db880344b54834c2e62443b346e93a3415a8115124299df15416373de0810503761e01a02f7ef97d44bd75dafb25f1e9a967fb0291c27c4b767f70de8e508881bf8a46d8d8b5d5af7012b1a24d53589a314ea10a82e0e1a3087f10dc5e0519f6a2c4cfe31d7d902c4304126f7d395f0f920903ed98ac9d9655b15d1d84028b643c796c8adfd009be9e5b839a206f6d031bf411c8859f46d096d10f10109ee741d002968fe95f28f96bed442baac1a8cf65de61da39883344c2fda25867b639d83e8ba79c3113e6b79eff9dc60b1ee3b81b9255b9e6323141f2d5a12058d16426e1b776a21cbb80aea3a29dcb761438785b67761804de44a01e567bfcb06699731520df28d3da8f2cf32005a69e0372580946a8a78e0248427a0fdd71bf95617e9a3854a33795a54f5c2897ee506fb60faa6db5d4682b9ee5d02387ef4757a321dd75c0300eb8db21b62fa906b8f727e190b4bb235c58223224c2a8ec22afde8d06665b60dfdfb2b7fb44eed0143cb877e558ead793f71bdfe3902a084364ac7d43ac0b2b46cf0fc36ba1604bd2bfa8b2f67ad75c650400fce7b35e143d5684f88ebd07c63186c99245572b71dc65dc433540725b6d0c1fae691611c467cc81a2d39eab39b7ec78347073b4c6c670a3ea004fff1e9bfe681f490166afa88a95ccd6eaa271f6b7dee934079cbcd1659305d8208ae600f8273d41ab552ee47d1729a82858f71dc6bda7123d15e5806616a050fd98f5455a38ca9cda42cd588f4ee7836ce74a0c46b9d299b2c12cf9b873b8ec2464d2aa25916463c8e13ad714d93416788973d2fe84af70e2e4eb791e4c813dd2637611ad4a82e37439572b8c1bf369a409606b811b08567885efd55cd3f43517b77f8a6dd116ce2282df5119302e85e7090a468d64608d597b252e454e55d54eae9cedc30a8632dc7ffeac6b31684d4d53a0024ab3711f9955ab7785e0b6372fb78ab72329c21166338986e65c8f07f5338fc90d3862b28b758f0db6dc13bbe77c33e65582cdf5cd8138c951e4d0536ccacefea5bd067acc9b971f159db1c0f8a338114d9875ca4317ad5bc8b763086eb0644529f1932a95c70fe09d4c7d080a02927f410b8094b4957d9bba4e553c0889ca192c01d7ca3a904ddc4c376a89d926dd8c3d88acb83ae32a0e5def656062c6818e2ac43506f184574f1f8d249b8c908e5217ae9305ecef9552128161b20d0b374090da3da2e91ad76a9de4254a125b8762a3d3950833fa357536db7e2c89caef153fbd3d3f6600d34f1718da9c4bbb6125e56344840538c27cd1672bcba57ebd45c8f4c0a5ebd338e5c45cc21cf860bff8247cd843b875784b5612e71c8290976a79db2507003647b63f6e41d7e2dcc786d4dd1c02dc83c8e3aa342fcfb702c2f2f618ee6f560963e87214eb5b2ac92fd2ff9294b9c8e0c8ed940e1c6ec8cee4bedaefedcce5b4e413380becb37aca2d7064c86ab93c6a3edc6230101ba343ba7ee7758bf4498b5bfe3fa44e952b1725c8714b4ad930ea48c872190e452c5b1d955b26ccb444f7c49fa153b795eb58c789b56805e06c1078c46649355cf473ae450fbeb0d01bc2600b68c2e26f4b025091795b7717e5b66356b9756792316c57de2c866d57d950e3fdf8ffc792915c6504a694110610a0e7f8184b3f5315bf9e6fba84d42768f0b1d0c962950e3f1b805a804bd834ef430eb501b7c6661658cc41133cd340c9a84ad52f4a480ec4021af54b80a94799df8760f66df438d0fd2354eb356a758e01b20e31f0096e7e43f0860d7c5bcaef44b5cf19da5228aedacb6a8670b22e0f74585ece4a454c26537617e8ad0143f07f3bda7fb703d1f70a933aa8c77af62ecb67f5a885fc0787e72a1001b56b49757254bdd31007bb6ffa05db7587b60764c7f95e5623da06f8646c5b3dc0e10fcbf2538d47146c16565fadf18b5882abb76c010610d3413f5f86f2ef5080537565896e2a49ce0eeae9151b8c934125b1a83382af8e140f30b90ee88566c93ea83af35f41dd5e502a6922da9fd8ebab029a77f007854ce6bbe3a411b61e4d8ac1070e42d4623b14a209765c1134cdfec15fb6bdac9936f1d8c1adcb7014b845074b0f2d81b0ad66c1c9b3175ab278c00f586d1eae79d0fa3ff4422318c82fc96fbe408e83756dcbaeed2b99b97ade2237ae183a7a1bebf74a996ed2ffe76eb47aa387cfbe71b566d7dcbdcdefe30db4017a48257b38b19ef6bebe816817c4ca5779e7bf1229d855a30a4ada1028f014c152d95ac6c2be7b32849fccf57e0a317ef83da59d6c7292a2c5ed23474b1b9dd6c4a0058b8923c7e6e073c002c9e601cf05e638634620eef4731a05ea54dc749cf0c187adce985329f21edd9cc7de2a56abf0fc04c89c592b9bc69433bc337d839fff82f0a584f44b8330ac9ff7eecc0723034c5640baa9db3f81f91174cf2da6937709bba7449a6fa46a07d57cbbd5d477b31d6721f0c93345197be7f682001e582f0d16717830081e3ec7cdeec37ee0b0306526e9a9341fff92b1ddadac572250601147e60a6c0aca7d7629f55303118aaccd4c31d2521da355aff62cbabf8e12fe5cef08c9b43ae9f7b309708c554dd101a92bd92cea7fe3e2137cad723a48692bf5f1023336c3f70ad0e79c74bb0416089874a114e71a0d400a5376203830f3509c73e7b1beb8f63bf51be44c5f9e45f07a75429d05cef173be78ca44dc308a6debe0f9323876dbad2a179fc015fa1f457f5abdd653c31407ea43147de58f1ea54f522892a3519ff821c204ad434985e38cca1511ab4aab212237e88a8a736324195d3991ea0962227149a1c834933ff1914379a62f7374cfe69b26a27d8e080a62ab8b213182322daee2b1352a4b01b770da74d1a2992af8ce90a999d61958b037ea73c06517c40148c02b386d5e20a3448372fabc7571169ebaf7e41452c83859668323bb13bb6ed5b4ae61b1fa9d40700d8c7f8b8dfdf1426582309badbaffa022fcd35ceec216fadbac66e1f898e7bf6b5edde223ef80b45bb5bebc591c5082b450a86f7088e03fe1b23a9adbc8b30f1e294e899b76b42bd819984dd9d67b7ba336d183b48d72ebc63d949c5618497005b94ee532c1a5bd5307b49178c36a1c42192908d852e10d585d55fcddccc432bbc4cb35693eb34f7ced927407e99b7f05fdecf89bce7b23ec2dea4990699b975f7e28866d23781cd61626653554b79f6febdcd02182426cae7940f9197f040f2b47e45ccd58d6615b162eb8ca4a94b8266f792d25c9d788c67f7590f91c950688951dab94a9bd22cd9f58df00c52a5eebc81d5a60df88fc0b76cdc89c15e59f7b574c56f02d3746cc46ae801a199a66f185cc77a9bcb5cf313901215bee101689dc20f35c7173f49877f3994258aa3f9575bae8ac9165bab9aec8c03705e99cb496a2b602d628d66cac61b8bdca159207d7ed89738329cdac547ee62eeb8f9744d02151779690ff894877ed05821e3a8248f012ec4d929d59d7c2b8b7816beecd66f04306285d3473789586e02e69381a6d83743ba523cf23b93d30ca086410b1a2f3abea0f7ce3fe20fa1ad3fe458c9091b69f520a5d8fac963c10747ad4025d363f9fe4297c95811c5ed017bece5637cdeb35ecc58aa865f859784ebdc76ecd381ab3c856fc0f714109e8f42d35e2401a8f270dc72af6c485c3ec0f02667dd881f780df30c62412ade45bd09688812a9c98de992dcc29f7f170f991d19a74ebc3386592a28b5668cb0f1a8a0c260a9a5a3148b75dca341fc0e551b9e5ad3db280223059c32010a2adb32b987f5f401fe841c67161abdd74de6e5c55fe4a232e77636b7774d58f4fecf02c911e8ba294283d00139e917cabf02a6075ed317989602b13f27cf1ee4308942bd50804103f65c660cbf6684ee6ae13714f933d775168f71eeaffd0fbe8cbf71707457417479336b8296ceb432182cd50332d7e5b35ef86e96107c7a0875137a4e3de97162b863f07f2d536c4f2d7193c9cdbf17a2af2f34464a004f786087c6161da3ccd5caa20a672337ad82d6b9a9a529fb4956068a0ec4a85e3f10cfaeaf940b691c659a5522913219d649d63a70ddae4a5b3c90ef966277f8f273026ba3b342699b0e454e06e3f6a3b41d5de6c08272f12ae9fb7f5d5f2647087c378afe616e43488f5cfea930fe2bf3b9770665f317e1edaa76c4f41e3b8b87824235e8865e0553bb8faff1d183d3406b8410e4c0ab135157eb51b8981878329e49f896cc9202cd6ef4448c7a55827bb9d0bd8db21bea4c8a6e22bc936e4ccc4eb4866c13b6535354f3ee26a9214bd7d5067b225f296dcc8e778e4ae5eba5c648ba96fc2e24157f09425f26337039511885a19ef364fbd547d1bd945304009aa3d886df95b06140be7ae772ef9887f38a0c3393669c5eaee7040560aa5ff27690927767e98a81c4527170802f698058097390b5f7414c8ff0c894546528fb72e80fc33cecca94add71a434e62ba217e51f999ef8f8fb8556e90f08b8b52b79ac92dfc750256d0152c92edf03ad1d5b350d9754aef88d621d1afd50c9c3c606d1e98bcc46e5ca0f3977304ad86fbfd2a069952cf05a0065310ee15091bf93839cd1c75b884820bbcf7fb00dc2d74bcba2fad9f14352665def671174a29ad578ca595027614a810ec4a0f8a89d3ae2c241935994bcbf859853bcb29a69df77940d5a508453348e4970e12478f84ce0270864b609d5b023cae160cf39e4d028f1e81a1c75eee74a5ffcba438ca53b989ef05850f9bd8c987d6574debd621eca8467f4a7da408bdded2281a6f87f77913248fbc687b99c06f35224be00690abe489ce1ceedef3e0b3ae4854b91382b8954a9f59a28d0aabe1365d074f8998630a99ded9bfaf0c325c8e20109a58aec300397082d6a29ffd9f271bb7a1b1999810e683ff89095659a53bbc27d1663eb613a94358089a72b8b7dc83860a67247eee702c723d05116e3b14985ff4f900bfae5597b3dcf82a75adf5b777585f03747c38f1b9ac0183786ff53af41a484855a01003abfaf68ef596bb630e04a9c45e35af664f1d20aa", 0x1000}, {&(0x7f0000000040)="14ebbcfb297038e4c4e689c8f0469a3b825fcadf", 0x14}], 0x2, &(0x7f00000013c0)=ANY=[@ANYBLOB="2000000000000000ffff000000000000", @ANYRES32=r2, @ANYRES32=r3, @ANYRES32=r4, @ANYBLOB="000000002000000000000000ffff0000010000009146e923760dc6a73fc31499dc5d56856b1fbe1605e97e9ed5cfa956e8ef81a0b9d03cc6a17158be32c11101c54143ec9c1b9c2aca66d6de23b675e32a3e0a5e02ad68", @ANYRES32=r1, @ANYRES32=r0, @ANYRES32=r0, @ANYRES32=r0, @ANYBLOB="2000000000000000ffff000000000000", @ANYRES32=r5, @ANYRES32=r6, @ANYRES32=r7, @ANYBLOB='\x00\x00\x00\x00'], 0x60, 0x4}, 0x8) kevent(r1, &(0x7f0000000180)=[{{r0}, 0xfffffffffffffffe, 0x2f, 0xffffd}], 0x34, 0x0, 0xc68, 0x0) r8 = semget(0x0, 0x1, 0x0) semctl$IPC_RMID(r8, 0x0, 0x0) 00:31:12 executing program 1: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x100000, 0x0, "00200000000000fe3b5320000001000000000d00"}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) setitimer(0x0, &(0x7f0000000000)={{}, {0x2}}, 0x0) r0 = socket(0x18, 0x1, 0x0) close(r0) r1 = socket(0x18, 0x400000002, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r2 = dup(r1) ioctl$VT_GETSTATE(r2, 0x40067664, &(0x7f0000000040)) setsockopt(r1, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) 00:31:13 executing program 0: r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x400000002c5, 0x0) r1 = kqueue() r2 = syz_open_pts() kevent(r1, &(0x7f00000000c0)=[{{r0}, 0xffffffffffffffff, 0x3, 0x6}], 0x7, 0x0, 0x0, 0x0) writev(r0, &(0x7f0000001700)=[{&(0x7f00000016c0)='y', 0x1}], 0x1) ioctl$WSDISPLAYIO_GETSCREEN(r2, 0xc0245755, &(0x7f0000000080)={0x4, './file0\x00', './file0\x00'}) pwritev(r0, &(0x7f0000000000)=[{&(0x7f0000000100)="01", 0x1}], 0x1, 0x0) 00:31:13 executing program 1: r0 = kqueue() poll(&(0x7f0000001600)=[{}, {r0, 0x44}], 0x2, 0xffff) close(r0) 00:31:13 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() close(r0) ioctl$TIOCSCTTY(r0, 0x20007461) r1 = syz_open_pts() ioctl$TIOCSTOP(r1, 0x2000746f) ioctl$TIOCFLUSH(r1, 0x80047460, &(0x7f0000000080)=0x1ff) ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000000)={0x0, 0x0, 0x3, 0x9, "3e76b5e19a0b07362f14ec2a00104d918fbbf1b8"}) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000140)="88", 0x1}], 0x1) 00:31:13 executing program 1: r0 = openat$null(0xffffffffffffff9c, &(0x7f0000000140)='/dev/null\x00', 0x10520, 0x0) ioctl$TIOCSTOP(r0, 0x2000746f) setsockopt$sock_timeval(r0, 0xffff, 0x1006, &(0x7f0000000040)={0x1ff, 0x5}, 0x10) ioctl$TIOCSFLAGS(r0, 0x8004745c, &(0x7f00000000c0)=0x2ce) r1 = syz_open_pts() fcntl$lock(r1, 0xb, &(0x7f0000000080)={0x0, 0x2, 0x1f, 0x2000900000005}) 00:31:13 executing program 1: r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x80, 0x0) readv(r0, &(0x7f00000006c0)=[{&(0x7f0000000440)=""/195, 0xc3}, {&(0x7f0000000540)=""/230, 0xe6}, {&(0x7f0000000040)=""/120, 0x78}, {&(0x7f0000000640)=""/12, 0xc}, {&(0x7f0000000680)}], 0x5) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x400000000000000, 0xff, "e84c72bc00000001000020fffffffffdfffff500", 0x0, 0x1}) r1 = socket(0x18, 0x2, 0x0) connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x8) write(r1, &(0x7f0000000100)="491fd494a9010000000000000019552a231c524c0b6906e84cd94c8fda79bba5e0d71c33c402746ab3a6cf2ab6c202c9027eff1a61598036f5cd78e4f504e2216eecf632d5d395eaf3934ed7b7d6e9f65d86d7fb501c6d544738d1e3e3781d7d82a52a7b7809da3fcb4e0aeb79b0352580a901ba3d92254c3691a7b898a404785c31bf1fcd07ddd2a95f5b4dbe3a71355508312e7c7f5f391ae6857c27e70f3324edd44a125bea3d8546564ff463e663124304c3825a61d9747284b08d3ace4aed94f96e31180c9c4e704cff540b8d9be88b0319f1e606e3d89a63a4bd169656f1269300e176834216bd2a2ac56c450c6b4c090ec293a5c0b17cd1d29803721bdf9aea960d5b35257a42c8d6d5082ef0e02772859e78b3a444271cd09ee6d617b2a3c337e9eabf6e977ef47f1751f61bf7106d2dd2c60f8354d2bebee380961f40e09793d7641d073841ff4b012d6c91777464b090f489a5ac4f1ef393943b92af2723f3bdadf33a174a23d560e23ff585f73ac23fdb7c907edd6863f7b945ec227c51c45bf4b665b58bf191e36f785b9b8f947eda2b31f537a5a7b1208e60fd7a513d34a05f29954a958ed576c88b1953f1bc7637ad6b936457065f7617b21b3e1390819f45e370da30ac037f743abe1e156c07249240c9ee9589af7dd0d3c3013568bba15c4c3d931c71140a31b81b0c255378f4f0ba40a67055cbf51c456bff999dba72cc7e83e2cca1ac4a74f98c7b03fcfc993d02c01c68cfeefb487aa75eca698703821fb4ee861d02ab3ec12fd8c310ac8e93ca452f061b5079f3dc976b7ecf0961d61b2f4cf6d705d20054b740bab451eb4bd31a1dbde637fdb20f8980f653cd5c77aaa0f1c0863a7219b390810df5d92dd85b6d81ef6d9fff8e2447633df4a99afb75c3f40862bd4671dc90a26fbffcb463fb0fec15b452a0f746893a14df1e64c1c6144baaa7939f8dce933a66c3c3e4f12b89c76d68a5392bb7058f31b5e69368cd289e994334410f434075bbc3f71ee25d9f36039ae0d8cc3850a558dcc72ce1fab399be7aecc68ab38d6bbb168c1a2665029ee81a822a60f55d54c36ed5360e6c22b02a8c34ab83ea56ed9b0acc5a09105cb78fcf07f14d01cba0cfd8792fd49f5f28595a169aecd055f228492a38666cb4bc66", 0x33a) 00:31:13 executing program 0: r0 = socket(0x18, 0x1, 0x0) pipe2(&(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}, 0x4) ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000080)={0x1, 0xff, 0x3fc0000000, 0x0, "124ef0af369b5c359db85f1ec3cfc5a6b4e3e03f", 0x7, 0x1}) setsockopt(r0, 0x29, 0x9, &(0x7f0000000000)="03000000", 0x4) setsockopt(r0, 0x29, 0x800000000000009, 0x0, 0x0) 00:31:13 executing program 1: kevent(0xffffffffffffffff, &(0x7f0000000000)=[{{}, 0x0, 0x0, 0x0, 0x1}], 0x0, 0x0, 0x0, 0x0) r0 = socket(0x18, 0x1, 0x0) close(r0) r1 = socket(0x18, 0x400000002, 0x0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x200001ff, 0x0, "a40400dea22d00000400"}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setsockopt(r1, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r2 = open(&(0x7f0000000040)='./file0\x00', 0x1c0, 0x10) ioctl$TIOCGETD(r2, 0x4004741a, &(0x7f0000000080)) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) 00:31:13 executing program 0: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000140)={0x0, 0x0, 0x1000090d2, 0x0, "d730c1e7bb6fc6e2010000807743c27c00"}) write(r0, &(0x7f0000000180)="582720efabd16ebae63225259560f8e5815f73f2a044fd33055552fbd5e41789632dfc94ff334a5619515a4c8ab06198824b3da025bbd47b3bf579456fc7d4096e8c8b6b87cb2d72b8bcdb9ad8a4f5f728193ef16ab93f12fc4d5f16b136a5d00d1628b53a", 0x65) write(r0, &(0x7f0000000200)="bdfa4d2582c321a8cf98848e4a8051bd24313dea8d0343d605e2d3280d33ee6185c6a19e1a3fbed9d7c7f5ecd505370f55d9bb05dc03e23aa168a0237f559b7cb5e32d0ff2d4e7199679daa987423cab21c6b2748aaa78947da61d75bc9028a2b887f01309bbe061a751731e5c2091f3e9bdd11c4518138f7d1d6a2e60e1f34322c0cdf8648b48935d14a79a15cecdd79cd66c31400b4dc386972d2eae1f50146ed5ead47dfc43c6c3b018be5455ba5fe808f9840f9e13da075ee54c0682247a3e405d535caab085c9a7dee598ca84b10ba7651238225996d2250f6ea821e153a6212dc30a15f3b72c37e6969b9336888fff85cc584aa9720b4a4a8c9c8161e2baf0b7ae8107ed", 0x107) r1 = openat(0xffffffffffffff9c, &(0x7f0000000340)='./file0\x00', 0x2, 0x10) setsockopt$inet6_MRT6_ADD_MFC(r1, 0x29, 0x68, &(0x7f00000003c0)={{0x18, 0x1, 0xffffffff, 0x1000000000000}, {0x18, 0x2, 0x4, 0x7fff}, 0x6, [0x4e73, 0x0, 0x1, 0x0, 0x691, 0x0, 0x95b8, 0x3]}, 0x3c) r2 = syz_open_pts() close(r0) r3 = dup(r2) ioctl$TIOCSETAF(r2, 0x802c7416, &(0x7f0000000040)={0x8, 0x3, 0x20, 0x9, "dcfd29633197f4829dd52151ccd4ffba42f1239c", 0x9, 0xfffffffffffffff9}) r4 = syz_open_pts() setsockopt(r3, 0xffffffff, 0x7, &(0x7f0000000400)="0059292764144be249047f4e9a7f3283822d72b0ed84d728ab1f52abc1c2c95a92e09aff98f0cdb516c642da675033f959d2c69d06fd3a322446979911a0778604ae6def7956488acab5169771bb862758949d21afc9926d1cc0da64562a99ae7723a2b0af663369bca7c89df33edf9fb923d4abd6bf386748574461893fca04e74a13e9b00ced772b27ab1f88338ff2d35b0fbe338ee103b4bf2cf27cb6896027210c2382c1e034ca9d1d1bdae6e7b567d3efc62f6918a4fba1f882011ad64b8f536856d08636364048a0ef2f5b68ad12081959652142b5b474690bdb124ef4e54ea83d62cec2380aafb2a5271f72fcea20f7e3afb75f939990d4a6b10b93d58c0275966c32880b998e12f113a1526dd48629c070610629ed05c05552968840f3896d846f3b88c0da94e788d7d410ba09c87cf63436a82cd4da9507811b331338d55b3fd62df32ed3d87556268e5c71e804d211b73459f4bd0acaeeb788ecad61dd616d51794e0f7869f3d67971ba28833918f991577a740fe880947fd42ab3e517e4451b6810207c2d915c7d59f0624a56377db90bcb2a1ff994cf1bf77e64f787d0567bc3a7be5a17435a65478023e0f62cb49b1742343eb9abd513fcdd2d98934074fc4d4a0d64f7dfb1c61f56ee35ea581027dc6db7da0c5e7ad22a2108447519328db604b58ba86db2a279bdecd34639fbddcfaf43f3671ce9264d3014b52d7853147f82a8b6a8c59bef54328bd17a3ea32d1f824c26a9809e585a0ceed8d40ce7536a554656a7653beb0b4796a0daf91bc0a0311b6066682a2c96582f74968fb6385382a6833ab5b88aea78809f94e15f232e63e649b5a0ec498dfb5dca122c36260316a2f83c58656de90c6fdbd48e4ef128a1f92fcb14b49942cb4c091e38b1e95e0c903a51c3e7e4b3cd8386abb4eb43569b356714c6a2fdf4dff510b845b1d4029596df3591058aa11fd6f894a97f200e30c47e347c9984fef6f74783a6dc1acf80fedc07579f13f39c96506d3f163335b59365a85969f090233d3848d4091c145498df862be6ae621df46353344dc06ebab874b79bea682cdae50edf69bbbdbe047ae01183f7cf0e0298e7a4f3a8bc2c237e4aae2ac7b6c5a0c2df39d10f2a6356c395c698aff9c0081ef7f12d710996200abac0b3404e3a002de449185be983d83bca120c8f4a9f92434f6c7a3f6d97e61b3657e166c31dc00583152a4d92ab39fc755ba6b48e9bfacfe3f4d29d982d2d03a8b991abfbf62afff94858fd897ae97c8e1653ec89aafcd51485146de7928be06ad058440318c60559e1eb8b1936856e0ddc6bed315a66c8f9e3cafde62df653a0aa24488e774f81b45901fbf86e1ea92d710bf50b3e277a315f7c3734944390e75c9cd7733ea681ae35b35b7f445532c0f605d6c3e1f26e9470c68e15e83e7392735547de2cc6147c33aab011682d14d0b7110032e950badb3a9405d3fff243348ce697f3ad3b9b2c2819f0f5073988762a60f0e60cb4d5ad3749f8eb971b31cff3406bda1ac94c941124ba280d4cabb2287255ba0c27d3731e45f52b99c6cca2e7fc32dd7ab34870c8c08ebef0409cc4fbf3d1bbf6a99180c2b9576d14f75fa5f5f9ff0e9a8ad3a3efdb2607ee7484ab0df47db6428ccbdaf263189dbb9549e3f7418082e2d9716ba43b4cc06a390f1b2089e32f7c98669a3a410fb97c1dce23aec9b57b2cb731da2519f100fcd0ef8ff90f92329be62a5542a8f3249a684d744226a438d78b30986911669640257ee2aa44808a41c12d2d6221f6b21b79bc46879903cba2d70326d9219a91ab7f1ea92379dfe9fd03bfa925b3cbbe422cab494c5196fe28e1973e8217afd454fecf4b8b2cfa8a8f438c086b3e4c25ab9b9e30cf9350810a4aec1e8241660d3f30fbb7fadaefcef70e2ca0c85ee529e2c6c0634e13db8294f135b3ddda03b32f14a7dd26decb41e0139bed64707dbbe26e8a4beec3a9965bb988cb51d1e3bbc3d78c253ea5f3c016b882c4d061e5bd27f82f445f4e43b7b76f7114f24e4d9b76f6605cf0868b1f152529dee6e4a9e3a7867066fc874c00ef811c7cc487d3baf279922aca62575176fc9b25adc2b21e2e0078a821a40a885c9adf73ad3f326d0d17f664c82eb04e34ac9fb5acd7f9f92221904f3aee479851471a0f19ed3a2d37898798b174ca5d316bd1e6f1d607c887fe20c8cd6c0857397eb719ab21ac3addeb5a1d54415cd526a212f7bab94b4318e4e52ce7639f383111f1c2bbc7be917add5c9536a657327378de5ce510564f4bb2c26e0d42b81b940c8b604b79704d56f79677754e45c4d24fcd6f47e2ad03a6724934c4bdd1787c7b40c306546684f56ae5b4abdfa9b54a3166c0144abc7ad7f5a78066aa7f0d89634d93e98b8af309d2ab57b6b4084fde8be3905ae879e76242994758226406d25d95f19e75a29924444a6c59cd4243a98002de361cf4e8b2511f8823ca70f1db499f8a01d4caa092b2ac869d9e5b4d142775d1d7c6dded0257faeda548b19227a61844f0f9976332313db1d91e1ec331b8e1545028a6b74b06ad356266eff6156345f600e2d70498768d19d85f9fa33d63d3f9c19e4546a22a5f9c44f97a3460563a7b0820508c6997c6907067ede0fa5e3e54e3b279d90b3723e32e3972fa09769fb87e80a101ce6a5ce6e8ed2bb51e54b6b1131638b27a0240e2c90b4d6da5698d4f87f6b7010176bdd460be4761bc0984ac025379111f949bb448fb60b3003750e9017b57fcaad2ada15b5678771cb60316f2ceb46cb9ca35f96b92379d41133fc06a5d9ca9fb0a20bf25246345196e4af9621b308408ae8f382f03649efc324c54af19d7b8c03f775e2e168a86aa5d0e70ece691f198c2f60bd4e05612bc863c671f246254e363b3ea743067c7b85184fe2899dd3fe9a2983a38261e0d454e34a6dc24e39931de307898b9b765f2b088f2b9b2000505111eafbde3e8fc3e1cd78039f40b525e998e28cbf447afe0000be753011a72aefae7017fb7003e27146d58421edfb16393cfd558f997a365da5d908e864829ffee332953f0446433d56d61d2bf50159dd41f952426e17310b8604709d33acfe6e7a2a53700f77873aecb4073c0e4f4ef7c29d15b9f2ed42cde9435f957caa3af6d40bae413710c84a7164f8f621b0b645041aa47b05709ec0f8386a31860421c453fe47cf79de0c05932514ec9a026eeed623a18d8b8afcf63f2609e6c94afae67c0de08ae2413e9f7f1f7fc76da9bc44319adc0dc30349ea0169650990cc4977daa0c0dd9363a244d422373ca330183330ef2087b69c88e472c6ac2d00d95eb5066544208ab93af923b89c6835293b8b297bb4d1830fd23b3eeae4617e10ea9588733707c866f55f945fce1ea654ca4ebabc01f9d7b32f60969be80e9d62ab710c9313b48f0ac07aad15d73668be1a08d070b89f29381c807cf2eff1706f33ffd70638f9f5a42c94b346968595fa467ac77120c25e1f1d7b203aff2ed99f02b125f580bcd99384bcc9612b59b58980d0b5428a710c98f613a582965c714950da5330bb6951efd73795e0b7d5b1962b9da19a0a2c3595aea450634a5c8dac0ba8aa1ab36788cb8e7204cf3dcf6683f815b091b34802541c9ed0de3c5b0e39365fa3d843ff77a7248dd6181f3ec4208cfb73cd030711e50a96f47a53fa44f3baf136c3df56c1966fbda9cdb849a89cdd563ae946bcd8f56f1bd0327705875eb55aebd6b9ca32bed83601b0ed2a86bc5715d43fc64d8433fc0daf76d96be2a4eef3c25e3e63eaac1802baf45e364820708e88961ebf3ade35c8f9d8b10746c91f3bf3cc5ee71eed29ea08708230b6a648cce253b58d74e3b43d533876a83cc0d9e4eaef6ca0d640805450a46ced29efc83fbe7b752a271fe12a85c2598fec558874035a719ec75fd65ce9c2be9b6dcb26a2d3b573198082eb5d4c168deb82bff495b7f51a0993ccc08b68579f48abdc93ce45bfc4a644cb8977b55464ba69918acc216ed2ea68daae9e03c9d45e1bc48e3a7a4853596016681cb640499542f5e4d0f9bb9c7ce52dfaadbc1966ee0ca3e28124d8416ae1ce9caed3b3a48194937349541b64290e1794de2b5009e4af4392f6f5b7e48ccd8c98d9af66ba7df6d02421c6951d59a12688d03fe6b38c9c0ae82fd2e2d5f50073809ac967216f0fa6e576f3ccc6a96865d769719640f620824438a7b8add1e6f12858d4ece1f041a14bd130296b8df47a43488d21472d0cf70f84a0ecd9346405a126e038b2fa4fc560d4d2d23ff424e78a9e406d08c24e065e58f4cbe9aad6e3e0434fd9b42f0a91cb0da91caf68bdbd27ae93d2ac23d5c92acc06e8c77818a137e0c6677668e7ae8dc9c3d66cae49d97842e8d0be2a43fa72300ebbefdf836eee5420aa2645a77c9ed16b25b1a539374e0e0d6e25fb3b6e83967af3e7d21283c24b00f665e49a085c8cabd84fda266030917e11730b058ca933db1763768d1aa675bc57bb182de59336cf49a76c23f20a7ee1bea57eae73db97fec9ac3f4ebbbd8d4a93d0f870470c1ef3b239a79b60213a5881b0ca0bdcfd10604a799f9ec771a7abf89bc844e5ed201f6172e080cf372a19c21778aca8b71010f666efc1e077e2bf568d39c1ebfac1e2ef50c3d07c086c1b4e7efb2ac053e97ae1817ad26aa0746701644f8b5d32521543a30887f0cde8c3c20a6ad5435ead616e9a145c61ea8ad70a8ad8e4afbe15ab63899db8a905988523449048afee4c4548f083be3af40e154260aa7fcc7e858a804aa72f59bbc816df358400ce1f7286ee3f422824848a148b49a8bb3ff43b8b950d8b9ed31f2aa2a04f01b13dd6924c708e94a5bfe7e5f5d2dbecac8058da92bdf1dc413ba8aa3f80b5c6dcac201d8f12a317729c0ec0bf3b53e8749344c5538b46916d39697996a181dd9c62d820f7452d1b76281f04edfd03456d7f26513bd47377b733a59d07a5ed4b1be7dcd2e7f3fe406d2998d690c4400e58d0da8db53e5018165ab0b7c962d32934aa1bddb4b8d451376106d1c33cad7e92004757a6418af9d0b9c4220ab7f794c1cf85ea0ac31599f9b059a2c5b5c25c1c11249ec6ccfc8e8e9faa77ac2e2787dfe4345ef284a7ed9369cff5d1481d9465b984b11e853d257b38c9446b1e04aeb0de256341642b118b0f9d0ba1db0e4015dbcbc88f3656fcff5fc3285cc0af2f71d5fc0b14430d163cd6c3d582190926a04f079a78a91ec86e1df2d0c6b3fd1fe71ec06786829d753b2f8fd95465d65d437b8d9b3340b7dc5eb09a0c3ee5368f56f829bfc93b6d59152f846a6ffc962be5e8ef7409371f438ba6c98d26610818d216b30168af4af0925da961f4b2be1b30af2eac2c9f50123277a88a953642ee723468c957616d9ec3d3d80b5baa6b537040c90f8fee606fc1689b5f638406a94b8f20b7922fd129c15261601aa6804c7aaeff954b8da3a66930da6364ed2e6ef4d32135953dbcce6f067269de3957e973cab6173e53487869abc5eb3440334864c992ff92aff01f802bad3045cf5d9ffbe3204aa6f47cb31258f860ddac45d38374793d37294ab35ee9daaa22e79993df2feba76eadd0b5cf326f58f8d6b951d69e8b5cd3693cccf3622c1813375e7cdc55944ae7d139ccdef6f7a6a889e9e72b62ee14897282e000e34aae97888de1bf4b33a544c6c6fc3c245a270abf0e4769bc8b3be497dbb503739cbf5ff24da4992ae155bf6a7b9c2c4b07e8f2aa899ab750bcbdbecfa6d2ae414867b5e92ec781b6f9cc549df2dad82d4d7eacd", 0x1000) ioctl$TIOCSETA(r4, 0x802c7414, &(0x7f0000000000)={0x0, 0x5d, 0x20003, 0xffffffffffff07da, "b08d9e7fed29000000000000975b6222e5000bb5"}) chroot(&(0x7f0000000080)='./file0\x00') write(r0, &(0x7f0000000380)="fb151a8f8fd5c1d556e1a71340a52cd8cbe2e0ebf0361de102c1fc3eb9441d3b17e95b46", 0xfffffffffffffc93) readv(r4, &(0x7f0000000100)=[{&(0x7f00000000c0)=""/45, 0x2d}], 0x1) 00:31:13 executing program 1: r0 = kqueue() r1 = open(&(0x7f0000000040)='.\x00', 0x0, 0x0) kevent(r0, &(0x7f0000000100)=[{{r1}, 0xffffffffffffffff, 0x9}, {{r1}, 0xfffffffffffffffe, 0x1}], 0x9130dbf, 0x0, 0xfffffffffffffffe, 0x0) kevent(r0, 0x0, 0x0, &(0x7f0000000100), 0x7, 0x0) 00:31:15 executing program 0: r0 = open(&(0x7f0000000000)='./file0\x00', 0x802, 0x181) r1 = socket$inet(0x2, 0x7ffffffffffffffd, 0x4) getsockopt$inet_opts(r0, 0x0, 0x1, 0x0, 0x0) fchflags(r1, 0x1) fcntl$getflags(r1, 0x1) 00:31:15 executing program 0: r0 = openat(0xffffffffffffffff, &(0x7f0000000000)='./file0\x00', 0x8008, 0x20) ioctl$WSKBDIO_SETMODE(r0, 0x80045713, &(0x7f0000000040)=0x1) pipe(&(0x7f0000000080)={0xffffffffffffffff}) close(r1) socket(0x2, 0x1, 0x0) ioctl$TIOCFLUSH(r1, 0x4004667f, &(0x7f00000000c0)) ioctl$WSKBDIO_SETMODE(r0, 0x80045713, &(0x7f0000000100)=0x1) 00:31:15 executing program 1: r0 = socket$inet6(0x18, 0x8001, 0x0) shutdown(r0, 0x2) socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000001c0)) close(r0) pipe2(&(0x7f0000000040)={0xffffffffffffffff}, 0x10000) ioctl$TIOCSETVERAUTH(r1, 0x8004741c, &(0x7f0000000080)=0x9) write(r0, &(0x7f00000000c0)="5eebb82bca731072d548215a57e736006fa0eb8652ba6c72beef774a017670bf83b7866b0711eb2634f805171907ac7a9613c5cde3b21b64e18f179b39876da50e7cf79b87ff9b801e88989a8b070f911ef29b1bdaaea197974cd0d38b24adb03cf3fd9fa9a4fb32ec18eb94edb8944464ff462bf017669aff41841d37c4907671bedc9260b12a7dbb500ead570be49d2afd5deb69a14b4505274c304a83f6761c06e4edc6f27f5146533b5faa2840babb9cbc14930cac986fe9b563a4b4714e55d741694a804a8c1104806fa5fcfb5b1feae091b47c2262457e8f9bae5eb5dbdc32d39ae2a13ede1af76e80ba142dd4882f6c8433", 0xf5) open(&(0x7f0000000000)='./file0\x00', 0x1, 0x0) 00:31:16 executing program 0: r0 = socket(0x800000018, 0x1, 0x0) kevent(0xffffffffffffffff, &(0x7f0000000080)=[{{r0}, 0x0, 0x0, 0x0, 0x100000000000000}], 0x0, 0x0, 0x0, 0x0) fcntl$setstatus(r0, 0x4, 0xc0) bind$unix(r0, &(0x7f0000000080)=@abs={0x1f95d27d48731892}, 0x1c) 00:31:16 executing program 1: socket$inet(0x2, 0x2, 0x0) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(0xffffffffffffffff, &(0x7f0000000400)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="28010000ffff000001"], 0x9}, 0x0) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000080)={'./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffffffffff80, 0x3}) read(r1, &(0x7f0000000100)=""/220, 0xdc) sendmsg(r0, &(0x7f0000000380)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000), 0x128}, 0x0) 00:31:16 executing program 0: unveil(&(0x7f0000000040)='./file0\x00', &(0x7f0000000080)='x\x00') link(&(0x7f0000000000)='./file0/file0\x00', &(0x7f0000000100)='./file0\x00') unveil(&(0x7f00000000c0)='./control\x00', &(0x7f0000000180)='x\x00') 00:31:16 executing program 0: socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) fsync(r0) r1 = dup2(r0, r0) getdents(r1, &(0x7f0000000140)=""/48, 0x30) getsockopt(r0, 0x10, 0xfff, &(0x7f0000000080)=""/133, &(0x7f0000000000)=0x85) getsockopt$sock_int(r0, 0xffff, 0x4, 0x0, 0x0) 00:31:16 executing program 0: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() close(r0) syz_open_pts() r1 = syz_open_pts() syz_open_pts() ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000000)={0x77, 0x4, 0x1, 0x6, "36dbba898a847e18419a6f11b19f63804c2dd5c8", 0x80010000}) 00:31:16 executing program 1: r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x208, 0x0) renameat(r0, &(0x7f0000000080)='./file0\x00', 0xffffffffffffffff, &(0x7f0000000140)='./file0\x00') mkdir(&(0x7f00000000c0)='./file0\x00', 0xfffffffffffffff4) open(&(0x7f0000000240)='./file0\x00', 0x10, 0x0) open$dir(&(0x7f0000000040)='./file0\x00', 0x10, 0x0) open$dir(&(0x7f0000000100)='./file0\x00', 0x13, 0xfffffffffffffffd) 00:31:16 executing program 0: r0 = open(&(0x7f0000000040)='./file0\x00', 0x70e, 0x0) pwritev(r0, &(0x7f0000000000)=[{&(0x7f00000005c0)="90c3fe67eb586898600425f2f573e0d1ac83c18d65c8e22066c0d289fe894a974c8d45aaf9d23b6d7cf71183db070015873b9c0916e7ae9fed58938ea6ac68a0b06326abca0fab3647175abf22fea120c9b3bb77ca4c205380c660c128295bf234505356095dbf9e50a4a5079723b57fed8ef0a251b91e67e1f5d347d5b668a390a25beea3962e7c10b5eacc26757d14f2e3208364bbc454327b6a1522c332ea628b8cb672e9e70f7818f970e017c7cb9303e6b505059f34d3fb9df3993b7535fa0000000000000000000000000000000000000063e6ec8b7858bb", 0xdb}], 0x1, 0x0) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000100)={0x0, 0x0}, &(0x7f0000000140)=0xc) getgroups(0x1, &(0x7f0000000180)=[0xffffffffffffffff]) chown(&(0x7f0000000080)='./file0\x00', r1, r2) r3 = shmget$private(0x0, 0x3000, 0x411, &(0x7f0000011000/0x3000)=nil) shmctl$IPC_STAT(r3, 0x2, &(0x7f00000001c0)=""/4) mmap(&(0x7f0000000000/0x13000)=nil, 0x13000, 0x5, 0x10, r0, 0x0, 0x0) utimes(0x0, &(0x7f00000000c0)) 00:31:16 executing program 0: r0 = open(&(0x7f0000000100)='.\x00', 0x0, 0x0) r1 = accept$inet6(r0, &(0x7f0000000000), &(0x7f0000000240)=0xc) connect$inet6(r1, &(0x7f0000000340)={0x18, 0x0, 0x2}, 0xc) getrusage(0x0, &(0x7f0000000180)) symlinkat(&(0x7f0000000040)='\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', r0, &(0x7f00000000c0)='./file0\x00') readlinkat(r0, &(0x7f0000000140)='./file0\x00', &(0x7f0000000280)=""/183, 0xb7) 00:31:16 executing program 1: r0 = socket(0x800000018, 0x2, 0x0) r1 = socket(0x18, 0x1, 0x0) close(r0) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "000000000000000100002000"}) r2 = socket(0x18, 0x2, 0x0) connect$unix(r2, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) pipe2(&(0x7f0000000000), 0x4) dup2(r0, r1) getpeername$inet(r1, &(0x7f0000000040), &(0x7f0000000080)=0xc) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0xfffffffffffffffe, 0x0, "b04d00f3ff0a631a00"}) read(r0, &(0x7f0000000100)=""/4096, 0x1000) connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) 00:31:16 executing program 0: r0 = kqueue() r1 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) mmap(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x10, r1, 0x0, 0x0) mprotect(&(0x7f0000ff6000/0x9000)=nil, 0x9000, 0x2) mmap(&(0x7f0000ffb000/0x2000)=nil, 0x2000, 0x4, 0x10, r1, 0x0, 0x0) accept$unix(r1, &(0x7f0000000100)=@abs, &(0x7f0000000140)=0x8) kevent(r0, &(0x7f0000000080), 0x6, &(0x7f0000000180)=[{{r1}, 0x0, 0x28, 0x8, 0x7, 0x8f}, {{r1}, 0xfffffffffffffff9, 0x8, 0x47, 0xffffffff}, {{r0}, 0xffffffffffffffff, 0x2, 0x40, 0x7fffffff, 0x5}, {{r1}, 0xfffffffffffffffd, 0x1c, 0x2, 0x80000001, 0x101}, {{r1}, 0xfffffffffffffffc, 0x20, 0x5, 0x7fff, 0x3}, {{r0}, 0xfffffffffffffffb, 0x4, 0x1, 0x1, 0xffffffffffff7fff}, {{r0}, 0x8b95771b71563a15, 0x40, 0x80, 0x3, 0x2}], 0x3f, &(0x7f0000000280)={0x80000001, 0x1}) mlock(&(0x7f0000ffb000/0x3000)=nil, 0x3000) ioctl$WSDISPLAYIO_USEFONT(r1, 0x80585750, &(0x7f0000000000)={'./file0\x00', 0x8cf4, 0x3, 0x8, 0x0, 0x3dd, 0x9, 0xe0, 0x1, 0x1, 0x0, 0xf8}) munmap(&(0x7f0000ffb000/0x4000)=nil, 0x4000) link(&(0x7f0000000080)='./file1\x00', &(0x7f00000000c0)='./file0\x00') mlock(&(0x7f0000ffc000/0x4000)=nil, 0x4000) 00:31:17 executing program 0: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f0000000140)={0x0, 0x9, 0x0, 0x0, "85495500020000000000001167f5afa680400900"}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = semget(0x2, 0x4, 0x204) semctl$GETPID(r0, 0x3, 0x4, &(0x7f0000000040)=""/10) r1 = socket(0x18, 0x1, 0x0) setsockopt(r1, 0x29, 0xa, &(0x7f0000000000)="d5ff9668", 0x4) setsockopt(r1, 0x29, 0x80000000000000d, &(0x7f0000000140)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) munlock(&(0x7f0000072000/0xd000)=nil, 0xd000) 00:31:17 executing program 0: socket$inet6(0x18, 0x2, 0x0) 00:31:17 executing program 1: r0 = syz_open_pts() ioctl$TIOCGFLAGS(r0, 0x4004745d, &(0x7f00000000c0)) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000000)={0x0, 0x0, 0x7, 0xffffffffffffff01, "90de290e7989a23ff89c16723f911a1d962f681f"}) r1 = openat$null(0xffffffffffffff9c, &(0x7f0000000240)='/dev/null\x00', 0x1, 0x0) ioctl$VT_GETACTIVE(r1, 0x40047607, &(0x7f0000000280)) r2 = fcntl$dupfd(r0, 0x0, r0) r3 = syz_open_pts() r4 = kqueue() kqueue() kevent(r4, &(0x7f0000000000)=[{{r3}, 0xffffffffffffffff, 0x5}], 0x80, 0x0, 0x0, 0x0) close(r3) ioctl$WSMUXIO_LIST_DEVICES(r2, 0xc1045763, &(0x7f0000000100)={0xae, [{0x3, 0x80000001}, {0x2, 0x2}, {0x3, 0x6}, {0x2}, {0x2, 0xbb}, {0x3, 0x3}, {0x3}, {0x3, 0x6}, {0x3, 0x9}, {0x3, 0x7}, {0x3, 0x401}, {0x1, 0x3f}, {0x2, 0x200}, {0x3}, {0x3, 0xc551}, {0x3, 0x7}, {0x3, 0x7}, {0x3, 0x8}, {0x3, 0x6}, {0x1, 0x401}, {0x2, 0x401}, {0x2, 0x10001}, {0x3, 0x1d}, {0x3, 0x100000001}, {0x0, 0xfffffffffffffff8}, {0x3, 0xe42}, {0x3, 0x542}, {0x2, 0x1}, {0x3, 0x4}, {0x1, 0x1}, {0x3, 0x8000}, {0x2, 0x8000}]}) kqueue() ioctl$TIOCFLUSH(r0, 0x4004667f, &(0x7f0000000080)) ioctl$TIOCGETA(r0, 0x402c7413, &(0x7f0000000040)) lseek(r0, 0x26, 0x2) syz_open_pts() 00:31:17 executing program 0: preadv(0xffffffffffffffff, &(0x7f00000004c0)=[{&(0x7f0000001640)=""/247, 0xffffffcc}], 0x1, 0x0) r0 = open(&(0x7f0000000040)='./file0\x00', 0x611, 0x0) pwritev(r0, &(0x7f0000000480)=[{&(0x7f00000002c0)}], 0x1, 0x0) fsync(r0) ioctl$TIOCSTSTAMP(r0, 0x8008745a, &(0x7f0000000000)={0xfff}) lseek(r0, 0x0, 0x0) pwritev(r0, &(0x7f00000003c0)=[{&(0x7f0000000080)="88", 0x1}], 0x1, 0x0) ioctl$WSMUXIO_LIST_DEVICES(r0, 0xc1045763, &(0x7f00000000c0)={0x20, [{0x2, 0x401}, {0x2, 0x7}, {0x2}, {0x3, 0x6}, {0x3, 0x4}, {0x3, 0xbb}, {0x1, 0x8}, {0x3, 0x2}, {0x1, 0xe9}, {0x0, 0x43}, {0x3, 0x6}, {0x3, 0x1}, {0x3, 0x8}, {0x3, 0x3}, {0x0, 0x20}, {0x3, 0xfffffffffffffff7}, {0x3, 0x80}, {0x3, 0x4c6}, {0x3, 0x9}, {0x1, 0x100}, {0x2, 0x2a}, {0x3, 0x5}, {0x3, 0xf59}, {0x3, 0xffffffffffffffc1}, {0x3, 0x100000001}, {0x3, 0x400}, {0x3, 0x3f}, {0x3, 0x400}, {0x3}, {0x2, 0xcd}, {0x3}, {0x1, 0x8}]}) syz_open_pts() ioctl$TIOCCONS(r0, 0x80047462, &(0x7f0000000200)=0x8583f46) ftruncate(r0, 0x0) dup2(r0, r0) write(r0, &(0x7f0000000240)="3f5333c9c074cb33aa39c58a477e97ec48d97e298ec2914326a04e9f016bc5861038591f34fe4143a5e255bcc1aa9a40da9199389e70a539cd191b81e4c4732ebe35703ed43f7270396dec63eacbc3edab18c598bd6d2204e0fed532f01f8bb3408f1b2167d47f", 0x67) 00:31:17 executing program 0: r0 = semget(0x2, 0x4, 0x40) semctl$GETPID(r0, 0x805, 0x4, &(0x7f0000000380)=""/185) nanosleep(&(0x7f0000000180)={0x0, 0x6}, &(0x7f0000000280)) r1 = fcntl$dupfd(0xffffffffffffff9c, 0x0, 0xffffffffffffffff) ioctl$TIOCGFLAGS(r1, 0x4004745d, &(0x7f00000000c0)) 00:31:17 executing program 1: pipe(&(0x7f0000000280)={0xffffffffffffffff, 0xffffffffffffffff}) close(r1) kqueue() close(r1) ioctl$TIOCFLUSH(r1, 0x8004667d, &(0x7f0000000040)) ioctl$WSDISPLAYIO_DELFONT(r0, 0x8058574f, &(0x7f0000000100)={'./file0\x00', 0x8, 0x400, 0xc2ff, 0x0, 0x0, 0x2, 0x2, 0x2, 0x0, 0x3800000000, 0x7}) ioctl$WSDISPLAYIO_GETEMULTYPE(r0, 0xc014575e, &(0x7f00000001c0)={0x100000001, './file0\x00'}) ioctl$KDSETMODE(r0, 0x20004b0a, &(0x7f00000000c0)=0x1) ioctl$WSDISPLAYIO_SVIDEO(r1, 0x80045745, &(0x7f0000000180)) getsockname(r0, &(0x7f0000000000)=@in6, &(0x7f0000000080)=0x28) 00:31:17 executing program 1: madvise(&(0x7f0000ffc000/0x3000)=nil, 0x3000, 0x7) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) madvise(&(0x7f0000ffc000/0x3000)=nil, 0x3000, 0x0) minherit(&(0x7f0000ffb000/0x4000)=nil, 0x4000, 0x0) 00:31:17 executing program 0: r0 = socket(0x18, 0x2, 0x0) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) sendmsg(r0, &(0x7f0000001340)={0x0, 0x0, 0x0, 0x0, &(0x7f0000001240)=ANY=[@ANYBLOB="10000000290000003100000000000400"], 0x10}, 0x0) socket(0x11, 0x3, 0x1) 00:31:18 executing program 1: mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x0) r0 = openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x2, 0x0) r1 = openat$wsmuxkbd(0xffffffffffffff9c, &(0x7f0000000040)='/dev/wskbd\x00', 0x80, 0x0) poll(&(0x7f00000000c0)=[{r0, 0x100}, {r0, 0x40}, {r1, 0x104}, {r0, 0x100}, {r0, 0x25}, {r1, 0x24}, {r0, 0x125}, {r1, 0x81}], 0x8, 0x2) r2 = dup(r1) ioctl$TIOCCDTR(r2, 0x20007478) setitimer(0x0, &(0x7f0000000080), 0x0) 00:31:18 executing program 0: r0 = socket(0x18, 0x2, 0x0) setsockopt(r0, 0x29, 0x3f, &(0x7f00000000c0), 0x0) 00:31:18 executing program 1: r0 = socket$inet(0x2, 0x2, 0x0) syz_open_pts() bind$inet(r0, &(0x7f0000000080)={0x2, 0x1}, 0xfffffffffffffe28) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x3d4) setsockopt$inet_opts(r0, 0x0, 0x2002000000009, &(0x7f00000000c0), 0x0) 00:31:18 executing program 0: socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_timeval(r1, 0xffff, 0x1008, 0x0, 0x0) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000280)={0x0}, &(0x7f00000002c0)=0xc) r3 = getuid() getgroups(0x2, &(0x7f0000000300)=[0xffffffffffffffff, 0x0]) setsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000340)={r2, r3, r4}, 0xc) r5 = semget$private(0x0, 0x1, 0x200) r6 = geteuid() semctl$IPC_SET(r5, 0x0, 0x1, &(0x7f00000000c0)={{0x81, r6, 0x0, 0x0, 0x0, 0x20, 0x2}, 0x7, 0x2e3, 0xfff}) r7 = getpgid(0xffffffffffffffff) getgroups(0x3, &(0x7f0000000080)=[0xffffffffffffffff, 0xffffffffffffffff, 0x0]) setsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000240)={r7, r6, r8}, 0xc) sendto(r0, &(0x7f0000000140)="905a258b470b722f6c2ada0ae628c86cb00b19a92e47a5820e7de1368239b41a283101813fa3e0917cffcd8fb031ec0365fb5a516a45c6bad4d095a31a356d00c9b2680fed836b2d5a09a72be101b0d494b003c05383e5db22705317052a0603a0fb45581495caf79b02ef82586e362b3fb75da2e3886b001e2f02503f6de4ae1a41d0d68b95a389dad19e6bf0c13a494375a722f7a279949d137f967c70352b7d5ab960bb474acab9357fe864b2a6ff0c27dd6a5dda3baf658804cb0d0cd8eeff09b6e9e60f4832571f300bdb95529a5f8e917d480fd6dc0740038e4eb354ba4457f1dbe5862611406d", 0xea, 0x4, &(0x7f0000000040)=@in6={0x18, 0x0, 0x9, 0x7f}, 0xc) 00:31:18 executing program 1: ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, "0000000059001040dcb9000000140000001b00"}) rmdir(&(0x7f0000000040)='./file0\x00') r0 = socket(0x1, 0x8001, 0x10001) setsockopt$sock_int(r0, 0xffff, 0xb0, &(0x7f0000000000)=0x3, 0x4) r1 = socket(0x18, 0x2, 0x0) connect$unix(r1, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) 00:31:18 executing program 1: r0 = socket$unix(0x1, 0x2, 0x0) sendmsg$unix(r0, &(0x7f0000001480)={&(0x7f0000000040)=@file={0x170, './file0\x00'}, 0xe0, 0x0, 0x0, 0x0, 0x48}, 0x0) 00:31:18 executing program 0: r0 = syz_open_pts() readv(r0, &(0x7f0000000500)=[{&(0x7f0000000140)=""/234, 0xea}, {&(0x7f0000000000)=""/24, 0x18}, {&(0x7f0000000240)=""/172, 0xac}, {&(0x7f0000000380)=""/68, 0x44}, {&(0x7f0000000400)=""/205, 0xcd}], 0x5) r1 = open$dir(&(0x7f0000000100)='./file0\x00', 0x4000040000000242, 0x0) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x1}], 0x1000000000000075) open$dir(&(0x7f0000000040)='./file0\x00', 0x800, 0x1) open$dir(&(0x7f0000000080)='./file0\x00', 0x1, 0x110) lseek(r1, 0x0, 0x7fff) open$dir(&(0x7f00000000c0)='./file0\x00', 0x0, 0x40) mmap(&(0x7f0000ffa000/0x3000)=nil, 0x3000, 0x0, 0x10, r1, 0x0, 0x0) writev(r1, &(0x7f0000000d40)=[{&(0x7f0000000c40)='6', 0x1}], 0x1) 00:31:18 executing program 1: r0 = open(&(0x7f0000000080)='./file0\x00', 0x200, 0xfffffffffffffffc) preadv(0xffffffffffffffff, &(0x7f00000004c0)=[{&(0x7f00000000c0)=""/247, 0xb6281d36}], 0x217, 0x0) r1 = open(&(0x7f0000000040)='./file0\x00', 0x611, 0x0) fcntl$setstatus(r1, 0x4, 0x80) pwritev(r1, &(0x7f00000003c0), 0x1000000000000195, 0x0) mmap(&(0x7f0000000000/0x3000)=nil, 0x3000, 0x1, 0x10, r0, 0x0, 0x0) r2 = socket(0x11, 0x3, 0x0) ioctl$TIOCNOTTY(r0, 0x20007471) getpeername(r2, 0x0, &(0x7f0000000400)) ioctl$VT_OPENQRY(r1, 0x40047601, &(0x7f0000000000)) close(r2) 00:31:18 executing program 0: mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) shmget$private(0x0, 0x1000, 0x20, &(0x7f00007b5000/0x1000)=nil) r0 = socket(0x2, 0x400000000002, 0x0) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000080), 0xc) setsockopt(r0, 0x0, 0x1e, &(0x7f0000000000)="00ff0000", 0x4) 00:31:18 executing program 0: r0 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000000)='/dev/wsmouse0\x00', 0xe90, 0x0) fchdir(r0) r1 = socket(0x2, 0x400000000002, 0x0) setsockopt(r1, 0x0, 0x13, 0x0, 0x0) 00:31:18 executing program 0: pipe(&(0x7f0000000080)={0xffffffffffffffff}) close(r0) mknod(&(0x7f0000000040)='./file0\x00', 0x1ffb, 0x0) ioctl$TIOCCHKVERAUTH(r0, 0x2000741e) open$dir(&(0x7f0000000100)='./file0\x00', 0x2, 0x0) ioctl$TIOCFLUSH(r0, 0x40047307, &(0x7f00000000c0)) 00:31:18 executing program 1: pipe(&(0x7f0000000300)={0xffffffffffffffff, 0xffffffffffffffff}) poll(&(0x7f0000000100), 0x0, 0x0) write(r1, &(0x7f00000001c0), 0xfffffef3) poll(&(0x7f0000000040)=[{r1, 0x107}, {r0, 0x4}], 0x2, 0x0) sendmsg$unix(r1, &(0x7f0000000280)={&(0x7f0000000000)=@file={0x1, './file0\x00'}, 0xa, &(0x7f0000000240)=[{&(0x7f0000000080)="4e62b8651495f8fa9818b8bda1e4fc46935e1768af2edcac0518a3df892a77f3b72d38093ac8f09b8f3c93aa56b4aac345f73a3ae6fede81933727252358ec521dbd7dc0957cef7f263c8eaafec6d079fe77cf6006c19821b750124fe7a9b291ac7e5003a63b5b92e161fd30c6a7d8d13a4e62fa9f2929dffdac6fb2a168e4677b9f33bf1227069161f4d5bc792b251107d753a18d27a7b791788b8582b4278bdc53ddea2c68115da35844c94751343f517e11dc49b6e83d2835692c84b1d9dfbd07a4366a8c866b777a53981f1c0496b36825c3c1125ff97ccc2d1f83d374aeb61b28cd0ef127", 0xe7}, {&(0x7f0000000180)="02d47a3266dc9172567695428dc464f2928269418f3b3cbb38720e4791395a3ffb6a45d7f89b078b4d7a43f15d8a0cee9f400db3a8ed8c946266a15943f4c4c2b99eaaae200906e3ec0b9cea69206db54574a49d16bb6b0bc4816626f86484300162783a104c74451bd79330af839bfa07f61ed4f553987f805c154f01fd0725f15320a7b6e31c765854a72175ddefc7678afea089b6ec7a793f18c18a", 0x9d}, {&(0x7f0000000340)="19bd8d04f8445441a3085ea916cce7937aca645fe93dfb7cd8b0a7f42dc450548e53739c26cde8adc203a9fd451bb7031477709c8dfeb819d3de722620fc82d103b16a34ae116f7fd322a59bd1f02d841df0e044bc24ade9983f35d26ae1e68e7e8d086b729655b4873362db552042e834970d6d3fe9f07c5c5cb8b3b1a4c62996a5045fd9851408b4ed3cc10dedd9fa5a747738057a1893a8e5f936666f646295d8dd42bd0758558b98eeca31ca5c7ddee824141349d22adbf1f9fa06ed18dc729080251f063c33dc6e2f7da7686e3eca1ab153215eae2dab2f6d8c2b489c54b7a9da1b1b89b2afe7308af2fc0716ab047b7e979b6d105480931c97bd05198372be3fa864cead27b4603df6421d115ae53c167a561602d20239854d293d09753d789034d9e7b5cbdddf713f15e41562a476fc252ed34b39b0683f0490267cb533db1f496dc84d1b1373089b061da8f283a51a4e9b29b0a23fe549ab2d33e40340971b0556c3fb008b2567dc89fb597213004130f74fea329eb39c7438f87987b17ce841ad91670159a512a1f0d9da2f561a57de3e978cb83f1f7ac22c85672d9279907ccfb8e23d5769f8592fe33c928218ab51f073228023998a16c2bf685e52581b8af1a5bc29a1703387bf6adfab5edbd210615cc174a5ebb6c1b701a869a810f1aaef29eafba8ee20cb1637363b94c55d8308a81d1415898acee6c0c9cf49af2a9ea1a150fd601d7e86b82bba5ef8175b5664cfda72a81a87355bc64e13bc5e7726c6cb5b1daa956935d0c537106c5c4d868771673627f32f733d1d0a07b6c41db2094a4aa48d578ab4e280eee440327ca8005a42c65a2c34927538ddc2af10aa1293f06a54ab9d8f607814c65fcda5f704435140d4b0321995a1d950e8c5879d68fddffcac3648b1e18ff0fb8dfe2218764066aa3bdfcbcb339d72abdde1c04e05efae175fdbe4ba4bb35a09851d73be4da17ca27a7d8c3b623a1671bb1f8b841ee84628a9b48574df3605a79df560c65a74e12118855a23e52b85937550633bac9575657662e2acc3ae90fc02de2048f62408bc92e1a124873b7a99cc1371071a8a61fda8ad0453bc98423ea8b86ec43ee773cc2cef5a188473d0072def783d7b5ca003b7e1d8972e9ec905182d6eb2998474f9074d1721947d6d19efba4777680f39204f67b2e52b7b53c80f82355cb8201a9fca37aaee48b9fb0361a280dbe077ad81f626982276b08792c3ffc58b002995c26d8d30ebb89d818a04d85ed9d0ecf81c1db322722f7ab63cf55ec2adcc3c4918ac15754c42080ca62f691e6c863f8d81beaee766d15146642e83fb0eea2e9f505644258fe87f975d491d397815119c7d2da0e568c45e948885bc61bb7b6ed378c65d50f9add7af8c591adea273ebdce27abe98fb14bf05b5ea90a7417a43212da495dda4d94916be8e7c6f9d18af074613fbd9fa536a770c1ce4bfc3f88eade12042371a167c01a19100d3f9b5e3a39d6e9c23e1d7ee527b6608c1899ed71e15a8a298994f304632ae281f19a1c26f70a1f56de338ccb4a8aeb417ca80112c4e36d8f180ccec452312beacd3fd5a711700e8b530a673745afc78fed73fb051202a11aece7d3dfe9a4f2176eb51cc84b26c02f765bb7dd592f76125e46141532e4410e395af4c84bdf3b97c74b61786eda6049f2a2ec2f7f1e761e5c76ce08254dceae27adc0a2e08143f2d0ea1da99f4fbf3d38507fc45f72bee143ebb6751712e5fba7b099eaf7c4e0c59cab95b6b7faf0f0f31899ed33d8b7c3355e2d99617c2468acb99866ae396aadfac31285a80098850295834529cdb013bbc3e955182c49f373c3569db322ca769ddab3eb65696a6b616501b239e96f1c62d6d9605bc22c9c0080d5d82c8ccca436d1e133c95788a4f5c48e02c4911ce71153eaa7e01524319f51eb26580bb20bc3155e10ed5fb3a2bae190e2beddb8082eabb71279d065b003aa3777ba14974b67933e0b3090203a8dc6c474216c8bed30f70c6c58cff84248ce22897c54c3ed98ef49b62a295f6f50e100314934028163595d1b7512550f2e8e42ac65893673cc53f1a62787b740c592a649df108daca2e37379c07822cde8c23898749cf89c8e52ab4846f2550d2e9f5c0daa4db10b9260603741895255c513a964403a6a9e8b994705b54c5aaac5c1ce0eb986692b9c9dbd178b1c52e1838a8f0919cba157a50cddb127f22aa08fc9acaf260ee8e63e54c7eb77db4e6a064ee00a87db9759339194979807bbbc5d4c812126c59740cbeb13f41e02a562f29a55f9ebbc5806c89c545f092fd2c3e6d6095bf82657be3b4c002c32f173254412a1ab0bcedae7937ce5f0e953a2a3cd728f6f3e2aa0afe545152f65bab9a9df70db37af13fe7d775d1df3767816d675c5897d1457a63095a9f21e9997a8777c1fb55262751edfb139006e8b73adb80995b5984c2d1923e7c75913a8c8929438a9728feed137ec61cfabcea09097a919a0af91b7faaf56e29277de2c87f08e581357a7ecd5e5785703d8df01b1c354f8a1431872b648b71549916c4373ea72489664be900d893a05ba475c574a599b42035ede7bd8bce5336b81e4c40dfdc25129a4a47406d48581d40b7fe668cc3182a02c23e34f9ecca7613af603bc605875e5b32f6a91638213de60bc04a697b7f875df7fb7abd003cab1e17c7b531356874d73bc8eb29ce588ef2775959d6ce49a55d4eb946aeb3dbe7cdd41b315ffb324935aabfc0acee781c688ee76ee6fbf6e6d739fc8bc0b0fd151f50e189aa9b63850ebe178d6537955f3baef6e5d3a63590d0264201a7d4d8b785b7a4ef123a152411d6fbcd37870c725c289a3c903206b0d2da3ec6abe78d36e2c048e98d2d0674c3a1bf67bd848462c58a1f78bf7517f6854a0ebef6748d1a41f4df166b0e1d34b5da8a1b93a151b06efb8f3fac4b014eed043df1daa2c1d892417c47a08425d7a9bd37b74653b47dea3c8e7290b1c61bd275ee2251276e5f20b5cf938be81553c046c5e4dee2a55fe66e0325e67361a33f47cb5c3bd002fd0e5fbd867981b32778ef93b58f37510a863196ea5f3a31033ec99cb7798db3a40da9f40d40763238a606cc72bc42edf530475496ec24cffb5c47171934b8ac295ca96e12c416249b4576f4c20b2c3ac25a10e2dfb5e909c31bce417d0849eb5661ffde0e1828e860aa80e32faf210ba616934dde1a4f123e1b04b8a6d835db5dc5528445d62d2a13634ccb7eae835c5f161927ca57f48a5f0b95e73acbc7de2483ae239aff3637124bab715fabf1871d212aac19f1eca8788e399d5badd21dc641a9881969efd69876ecf1506fa1bebc957c4a86c2321e30d1c43ce2adb47ddbfbcd050d7a7633fc9550434c7ad797aced11d0ebc8db73298447722a704f363e75aba642cd0afdc8ef2848a3f0dc2ba772d3d3621f2da1e9155fac1f84e36e0929d37276c7844ccc4d850a0a00d2aaf45c0c0f81d159a035fbe43ac65f87b800a491831b9c73832b2e52f12d5155f593351df4d78e449e829241f0b1c248d759d922c514141e5de0ffe4b96a4b61d8decdbb59b4dc61ce45ae64c791e38b08d97a32c5acd94d9947e8dac46595505243ebadc16b41cd13024c60d78b2eab987caff8a3d265ba7a981e23224d7161261ad37a93f74035c708398eac193383a80dd4c61abf540710b94f8a07d4e2b94579efdbe6184c6f9fa872b5b39d37fdd8a17cde66d7b4c8a7e2d2912cf966321642651b45c583926cb847a30f39c007f1d9a1cc273cfae61028040e6206cbc1ffa43a04ea528ece59ebcd2c192346b2b5bde8ef1b74e645054aa64c17f27338615846b74503278da01f413ca85c316e32cbaa2ba09b69e6ac607cc1c918a804e69f6fa8b6698ffd17c273f9af2dfe545203f2f2a36d59416b167226f780e914525e8b700c254e46229ba99b9b33f8ff06e587c1c8992b0f9a754b7ad784d3d1803920cfc9b1d1a948f58ffff3f81d427aaeed5ac08682666859784122e3b7696df38c91d759bb6f7e95665fa02a965cb78719b188ab20289571881cbe5c3b3f2abfa022a4340e66452bbe0730e00abe170acc7421bd46768203f53d336120945deebba4a8becc3e28b277b9cbf7c044569af189b544fbbaa4b863b803ba2b482513044de61928a25e9e62a16910d8e988404ec21e54426467d0d7bf7d88c4056f4b3a3276dda70575d70fe22ec4a7f0145c264bc5c07a5b89357085882233c91b1fdd7b176976dd0f30a8eeeb3968de435b4a15ea84748cc606eabb9da00a29fbc5d7c655c29bfa2a80761e467b63571d7c31fde7d3aa9b126f21b4a69b06a3f462f297439af2cc4496598640360b8cd125caa3eb652554d57648802d454e13d5afcbe1324eca20e9fb9a69f3e52c8fc3471652a5ec77194f7d7a20caec8c6e3a84427366640dee6e44d650aea1e84418a5f166cf7e81a7ae2e06826cc6315c0102b88ddf638a5979cf63cdc9620cb9100ce75e760e7946d747d69a063c59e75e29148580f67ac2c2de4610d2373ed356fad91f0c3a20385cad2869764cc91d63771c34da6ac3e10dd9858b5cb5869ca6eb29a0092aa64ee847683bdc94f7bd337a786b104852e613d0d97fbe492a25a2bcec04b7114f8606133f0af4b7fb67837d6035677853ce77933303dee353bfe7e3b4f33a3c08a045d1cc8d11b9b4c4b0633377000e614aba54acc910d70a386e9f8e9233ac809f2dc057239ee83bf12b41cd810d7a633d164870f7ad2b9aa016c7a26f4f8b8f36375b2291e9dcf97fed4eb82277f43299b5f9191554c2ec9253c2460b0c9273a863b9beadd48173687e3875ba18a028ca9d3d2df97b8a08ab0bef5d781461c9f2b3f21085b180cc7aad9d9ebfb8327df7dc3da677c59d98106e78db9c31a01f0f344bfb056d0e766993f71c7e541ba165641ab5594a810ae0282feb3df121e045e50317b9ec7d4ae38b628fd25ed568cf01600133339dd94d5824032eb00c02f79f7789dd3aea924f38a70ad21edfb4ad2568b5a91bcda083a8d1407e89a9ddba9e4f52b18ca2e9c20b21152ad0e2427d7754b4fb52b9aac920d7aff8377a6aea7f2bda35ec43a026584b1aa5fba98a90cfd5af425d06c77e4d7556b7058107294401040d98b8559565ee8df832eb86bab6ad7a680d4c3417fb1f4c9ff6218f4509d6adbfb15a66e1f4455a89a5ff5eb83ebd40ffe4df0d458d48dc60203df5fe40e5be5b3fc99ddd5bd7d18fc6de82b2ee4d5b036add108fc2c3ef44ab2f4bcd74565e7063510bd395b1eb42013f8f8d530b9ba9a755528f0e845decfdd5c24f946a9d221f7bdd0ce3e0bdcba17b7b5a1548d0e01cf9375af072c006e1d71c3f16d7fa086f8c8438776caa83242acfc5d5e6875c1479bee84a12c6160d3f17105b4ed22bf5e4ea03fac4061be94c8beb9324dbaf67123e8fae34c21f5577302bc5df9090904977dd439942c04089617dbb59aa997e176843e24450d1b64a3090a40fe0a4f9586e4bfcadaabe30584f7fbd7705e2f1eb783c791ae1c8343a8ccb8c833b8c22c210e57b2f964dae576b4a9ab5a0be96bc92d48083d88d36269e8b7995e1dee81fd138865bc9e9da847b0c47b0dd6c87d96ab4a5fd46201a5615ba0e10df45e0645cfdde7be66738dec900c68d6cb23350e35f95dbbdf8d474e7f34712b8702b1abed0c7833f758c259f5f8dc16418ac2826e9fb4058d12d6a6e2e4c25cd8161e874e4f78e3178385fcff87dbc4fc0a5089df3b05209db24433a0310d0ebf46a8be2", 0x1000}], 0x3, 0x0, 0x0, 0x4}, 0x2) 00:31:18 executing program 0: r0 = socket(0x2, 0x400000000002, 0x0) socket(0x20, 0x1, 0x938d) setsockopt(r0, 0x0, 0x16, &(0x7f0000000040)='\x00\x00\x00\x00', 0x4) 00:31:18 executing program 0: r0 = kqueue() kevent(r0, &(0x7f0000000000), 0x9130fbf, 0x0, 0x4000000, 0x0) madvise(&(0x7f00003e9000/0x1000)=nil, 0x1000, 0x0) madvise(&(0x7f00002cd000/0x600000)=nil, 0x600000, 0x6) kevent(0xffffffffffffffff, 0x0, 0x0, &(0x7f00000000c0)=[{{}, 0xffffffffffffbffe}], 0x0, 0x0) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) setitimer(0x0, &(0x7f0000000000)={{0x0, 0x100000000000000}, {0x1}}, 0x0) r1 = socket(0x18, 0x1, 0x0) close(r1) r2 = socket(0x18, 0x400000002, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setsockopt(r2, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r1, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) mlock(&(0x7f0000440000/0x2000)=nil, 0x2000) munmap(&(0x7f0000286000/0x600000)=nil, 0x600000) 00:31:21 executing program 0: r0 = kqueue() socketpair(0x0, 0xc000, 0x200, &(0x7f0000000140)={0xffffffffffffffff}) getsockname$unix(r1, &(0x7f0000000180)=@abs, &(0x7f00000001c0)=0x8) kevent(r0, &(0x7f0000000000)=[{{r0}, 0xfffffffffffffff8, 0x4, 0xf000004f, 0x6, 0x9}], 0x10000, &(0x7f0000000040)=[{{r0}, 0xfffffffffffffff9, 0x10, 0x0, 0x9}, {{r0}, 0xfffffffffffffffa, 0xd, 0x80000040, 0x6a, 0x2}, {{r0}, 0xffffffffffffffff, 0x14, 0xfffff, 0x9, 0x401}, {{r0}, 0xfffffffffffffffd, 0x19, 0x40, 0x7ff, 0xfff}, {{r0}, 0xfffffffffffffffa, 0x40, 0x1, 0x9, 0x44a}, {{r0}, 0xfffffffffffffffe, 0x20, 0xfffff, 0x81, 0x2}], 0x20, &(0x7f0000000100)={0x0, 0x2}) recvfrom$inet6(r1, &(0x7f0000000200)=""/4096, 0x1000, 0x802, &(0x7f0000001200)={0x18, 0x0, 0x4, 0x2}, 0xc) r2 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) ftruncate(r2, 0x0) 00:31:21 executing program 1: poll(&(0x7f0000000180)=[{}], 0x1, 0x0) mprotect(&(0x7f0000003000/0x2000)=nil, 0x2000, 0x0) mlock(&(0x7f0000001000/0x2000)=nil, 0x800000) mmap(&(0x7f0000002000/0x2000)=nil, 0x2000, 0x0, 0x1010, 0xffffffffffffffff, 0x0, 0x0) r0 = kqueue() r1 = socket$unix(0x1, 0x3, 0x0) fcntl$dupfd(r0, 0xa, r1) 00:31:21 executing program 0: r0 = openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x8000, 0x0) ioctl$KDSETMODE(r0, 0x20004b0a, &(0x7f0000000040)) bind(r0, &(0x7f0000000080)=@in6={0x18, 0x2, 0x1ff, 0x73}, 0xc) ioctl$WSDISPLAYIO_GETEMULTYPE(r0, 0xc014575e, &(0x7f00000000c0)={0x2, './file0\x00'}) preadv(r0, &(0x7f00000012c0)=[{&(0x7f0000000100)=""/29, 0x1d}, {&(0x7f0000000140)=""/101, 0x65}, {&(0x7f00000001c0)=""/4096, 0x1000}, {&(0x7f00000011c0)=""/49, 0x31}, {&(0x7f0000001200)=""/138, 0x8a}], 0x5, 0x0) ioctl$VT_OPENQRY(r0, 0x40047601, &(0x7f0000001340)) mprotect(&(0x7f0000ffc000/0x2000)=nil, 0x2000, 0x2) ioctl$WSDISPLAYIO_GMODE(r0, 0x4004574b, &(0x7f0000001380)) r1 = semget$private(0x0, 0x7, 0x188) semctl$GETNCNT(r1, 0x7, 0x3, &(0x7f00000013c0)=""/190) semctl$IPC_RMID(r1, 0x0, 0x0) getpeername(r0, &(0x7f0000001480)=@in, &(0x7f00000014c0)=0xc) ioctl$KDENABIO(r0, 0x20004b3c) r2 = open(&(0x7f0000001500)='./file0\x00', 0x20000, 0x186) r3 = fcntl$dupfd(r2, 0x0, r0) symlinkat(&(0x7f0000001540)='./file0\x00', r3, &(0x7f0000001580)='./file0\x00') ioctl$KDMKTONE(r3, 0x20004b08, &(0x7f00000015c0)=0xfffffffffffffffd) bind(r0, &(0x7f0000001600)=@in={0x2, 0x1}, 0xc) ioctl$KDMKTONE(r3, 0x20004b08, &(0x7f0000001640)=0xa4) ioctl$WSDISPLAYIO_GMODE(r0, 0x4004574b, &(0x7f0000001680)) ioctl$KDSETMODE(r3, 0x20004b0a, &(0x7f00000016c0)=0x1) msgget$private(0x0, 0x10) ioctl$VT_SETMODE(r2, 0x80087602, &(0x7f0000001a00)={0x1, 0x8000, 0xfffffffffffffff8, 0x1000, 0x2}) kevent(r0, &(0x7f0000001700)=[{{r3}, 0xfffffffffffffffa, 0xa0, 0xfffff, 0x6, 0x4}, {{r3}, 0xfffffffffffffffc, 0x22, 0x2000000c, 0xfff, 0x800}, {{r0}, 0xffffffffffffffff, 0x0, 0x1, 0x6, 0x6}, {{r3}, 0xfffffffffffffff8, 0xb1, 0x80000020, 0x7, 0x400}, {{r2}, 0xfffffffffffffffb, 0x8, 0x2, 0x100, 0x86aa}, {{r3}, 0xffffffffffffffff, 0xc0, 0x20, 0x1f, 0x21}, {{r3}, 0xfffffffffffffffb, 0x59, 0x4, 0x200, 0x8}], 0x81, &(0x7f0000001800)=[{{r2}, 0x0, 0x14, 0x20000000, 0x1, 0x7}, {{r3}, 0xfffffffffffffffb, 0x83, 0x1, 0x4, 0x76b1}], 0xf28, &(0x7f0000001840)={0x81, 0x9}) ioctl$VT_SETMODE(r3, 0x80087602, &(0x7f0000001880)={0x0, 0x0, 0xffffffff, 0x2, 0x5}) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f00000018c0), &(0x7f0000001900)=0xc) mknodat(r3, &(0x7f0000001940)='./file0\x00', 0x10, 0x40) semctl$SETALL(r1, 0x0, 0x9, &(0x7f00000019c0)=[0x0, 0x81, 0x5, 0x2, 0xfffffffffffff001, 0x1, 0x0, 0x756, 0xd0]) connect$unix(r3, &(0x7f0000001980)=@abs={0x1, 0x0, 0x3}, 0x8) semget$private(0x0, 0x3, 0x288) 00:31:21 executing program 1: r0 = socket$inet6(0x18, 0x1, 0x0) shutdown(r0, 0x2) symlink(&(0x7f0000000000)='./file0\x00', &(0x7f0000000080)='./file0\x00') getsockname$inet6(r0, 0x0, &(0x7f0000000040)) 00:31:21 executing program 0: r0 = openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00', 0x8300, 0x0) ioctl$TIOCCDTR(r0, 0x20007478) msgget$private(0x0, 0x200) r1 = getppid() r2 = getpgid(r1) munlockall() getsockname$inet6(r0, &(0x7f0000000040), &(0x7f0000000080)=0xc) sendto$inet(r0, &(0x7f00000000c0)="d2382a2b4534689f7e351d3e21bb2e70ec0c6ee64682e627865a57dd4e6bee62de267d46b69f1249f5b50fad7edba08eff7b64a908313e0137360e92f21264f287182b19f473ecfe8456627c2f00ccb820cc35cb32e22aee0d3851c80d1f2d797ca6b55ec46bac6b7fcbfd74c90f2700a14b98313affee6856eda06cd2e25786d5bc344feb0207e77900aafd85", 0x8d, 0x5, 0x0, 0x0) fcntl$getflags(r0, 0x3) sync() ioctl$TIOCCLRVERAUTH(r0, 0x2000741d) socket$inet6(0x18, 0x8000, 0x3) setsockopt$inet6_MRT6_DEL_MFC(r0, 0x29, 0x69, &(0x7f00000001c0)={{0x18, 0x3, 0x0, 0x5d2}, {0x18, 0x1, 0xfffffffffffffff8, 0x8}, 0x12ba, [0x9568, 0x5, 0x4, 0x6, 0xdcc5, 0xb0, 0x400401, 0xffffffff80000001]}, 0x3c) msgget$private(0x0, 0x7e) ioctl$WSDISPLAYIO_GETSCREEN(r0, 0xc0245755, &(0x7f0000000200)={0xffff, './file0\x00', './file0\x00'}) r3 = shmget(0x1, 0x3000, 0x418, &(0x7f0000ffb000/0x3000)=nil) r4 = geteuid() getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000400)={0x0, 0x0, 0x0}, &(0x7f0000000440)=0xc) getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000480)={0x0, 0x0}, 0xc) getgroups(0x5, &(0x7f00000004c0)=[0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]) shmctl$IPC_SET(r3, 0x1, &(0x7f0000000500)={{0x10001, r4, r5, r6, r7, 0x34, 0x5}, 0x9c64, 0x4, r2, r1, 0xdf, 0x71b, 0x8}) getsockname$inet6(r0, &(0x7f0000000240), &(0x7f00000003c0)=0xc) fcntl$setstatus(r0, 0x4, 0x40) ioctl$TIOCMGET(r0, 0x4004746a, &(0x7f00000002c0)) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x200, 0xd4) truncate(&(0x7f0000000580)='./file0\x00', 0x0) getsockopt$sock_timeval(r0, 0xffff, 0x1006, &(0x7f0000000300), &(0x7f0000000340)=0x10) getpgrp() 00:31:21 executing program 1: setrlimit(0x8, &(0x7f0000000040)={0x7, 0x95}) r0 = syz_open_pts() r1 = open$dir(&(0x7f00000004c0)='./file0\x00', 0x400, 0x100) unlinkat(r1, &(0x7f0000001880)='./file0\x00', 0x8) rmdir(&(0x7f0000000140)='./file0\x00') close(r0) syz_open_pts() flock(r0, 0x4) writev(r0, &(0x7f00000017c0)=[{&(0x7f0000000180)="79ec91157b581c2a1bdd88c824d3d7744d1e0c9931d8a5f06563f8322d26b187129d4f395f4c19a3e35fb38124e0454b1da3e24a0581c0ccd01fb0af1d5c7ba729385e717837a8e7d2dda8832c434fdc2db311b1db32a59c940a1ab3d18e0fac7a924abd1af0d53c528ef0f5fe39e6c834c8978a0ca9f3f0b1a372b724a7b9bf8bfac2630be63cb2", 0x88}, {&(0x7f0000000240)="11fd5c0987cf8251b2a10e3baccaeb1d9b0956e77ca14a5d41fab1b3b10325aec97b54a4cc85afe05c9ed6db2258167ff3faa612aabf90a4c46a5cb820af9a29dba27ee3b0d00fd8bca9cfcaffeb68572a96fe45200d6aa46b7ac52f716cdf1d67515b7e42cdd29654fa9acc589b4328ba616b36122eaf619c18e9ea84fb2ab3986c9d4fa4149bafa2faf687b277c935f413be897733e3da9f6eb15b7d7d9b8997bea6bc9266fabc2072e5a7e38dbee32e8d6b9022b8a47d4dfeaa7f07edea75c56a2b6c5bed099cbb6e56b28f4e0bbc7283f3d1bb8e6103f410710e6295697f02a718a1c71ca5ac088ee27315b2dfb490558cfa4ae1e0f0be", 0xf9}, {&(0x7f0000000340)="4cc1df0ee0e570cd8740ece2364803756e2b7c48c8097a195947758aeea552614488ee2f589f1927d2700cd64092d91844cb36d45345a6654ce832afa66fd1bdde1a95e01264e952f072eb419a8e5c9abf41a4586f0d2e45f674fe786f8bac1591f2b7acd82b8a437b05907b0b0c64b247e01d4a16bd4ab5373d3f6c726b17d7f98b03523ba8307b60a3b3890f1f76792f36a6a16c9c8cddcf3259673ad4b721af8040e277e088337405351abd8a8f4c8351b45c410520cf94d04baa5a3f20c2bab2f7a091ed9bb64e97dc81ed1ca1dd7580f98b8691d2b4e5477e1e18148b81cd6dd7d4e0455b671ed9", 0xea}, {&(0x7f00000006c0)="ccb56173c68d9cac29589fb3646cde0b54a88657746561d8709ad818eec32bf54035d3ba6b718f2c3c6118f6c09f5d5b6df1ea474cd4ff740c5857470c582666214beff64fa2a200e6aec6a165bacaf13068166bd3bb2bd38c2b6f991480bdbb4f63c16f828c4d04b91ea8ddea344f4d81cb0edea83ab555cc17b51479c6b11a7ec759e07d0f53b52e1206e5c663d175bcc015b66c8fe6c66a61163be71e9b0b49463a300f0bf74ce2bada3af04877f36bd79628ca5f8144ea7f3daede0b1611099fb60c18d86a797625a940dea9a09583b901b9626f1bad9c84629c6667a0a5f40b785dfddbb202fd24ade4fef9789ad70725d89f3491f723e176c980f721190e9c3ef997a2cbe79fced39b02b43b6ae62733df0f50245b53e5ea05ae218d50f1fc8b13165894ee4301bc90bd6c1129a0bf3dc0a5e036f957a9bc05005c5bccb12081395308468367dd14e6a80f4c36d730ad8460cea54a188876e24611c359d3a47dc94a874c805f8775507a043f31c33aaf834e906d327486a5e9c9cc6b9851f63a3a5af003bfd0e670fc8a03b4576de00ce1cfad68f3cf55e577f29ca3644fd405e1ec40e22b6cd0adff6d96c40bdc072554c6ef1d5c3534ab4d2632e3064f0697d8cd22cf8f732f76b2ad577ba1bd1f31a8c4c5b09503baa1aed15ab5adfa3501e2d7ad85d8f852bca0dbd3da0bbccc04046150165a32788451978708981050375b7e41a12d8401b0a922e831f6d0304cbe39791aab70d243d8d01d72c5fa33ab84936b912a7b227abb51587bcc70b3b63e0bb7ea8189f950546c3e592eca7d34beba3167c7cb0c8f04841f74705733edee1027e98cdecffcee81a34419ec39a37311fc7acea2b83bdb4f251d180159fbf22eab5fbd1a379f6414a5fa7f6697f41bf4ddbdaa948d7d65892728d88a3b3e860e5a650f18272d7d54b069d6a25cd75b8472ad4fa195f64a32bd8dd3cc6640d89d18136e57db6ac2802a52146f9e76a7e113f3d77ade119581767f64d15ee43f1383789ca62944ef785e72fa6916ffafb8177adea80a9f6711a2cf716e0fec6d71be73f03a0f8da3be77df2452f7fd130f589cf8150cb375990f7b746fa77901ba00868badc1b08eb439f93b95863c6496a3f290d11912218171b2f57ffbed0df3af192eaedebee123f2fd70d8e911b419bdb9e7a637de4e4de4d93135f056d3f24b298aa941d510fba538830c952c8490db0e885ab26affa3bd0e2b402018b3c43657ceb48dbeeafcdc750e148d6c124ac39aa3bfd7c75dd025cf9a3ea3579afb2bd7155451927dc2e5f3d9f80b75928f55ddcded2c0dd58ca1e7410650e0372a29bcc6d718783d5cf5166178492f8a60e99873f6cd2ce5c7bf5c154e1e21c5384f46685e20c8db62ec0fd05b0c993e30164248821725cef32db6dfda75f8cf5c200a4a348e829204b5071f4674f1d9ae54eae0c0e70efa398283bb2b774cc3032db5d22cc059daa77d16cb7a078046238a8ff9bb24735ee62fdab75ac72e002a4739f64b72c8e37b361fac2b80ddc4bb788811806b7e9ab5fdfdba3ddced72043018eb602b8976d6567de9816c4bd5159379ad8c59ebf8f82d9c08b3585366feab877e5b9e8a3b1d1582085feba4ac1e5560d3f02e48104278a9e6c2cacc77c93544249d0f2b339c29539a18726111cb62f3a221e356169c37554a0ce6f985b978e1bc9dea1b8f79d1bad37aaac4f233a5f85e7f13f4c762790d18ba743b5e36bfa6b3aa9631408ac13ec3ac433a16a3f5f9daf5db8551028ac5990c9a92a79996265a70af947a7f5c03583bb2d17c41096facdf2bd9b44f9288d385864d8ef1c2c341bc2baa8f258c97f25aa21f2dd6f6052fb13e56db5126e2e8295e4793c99b263622ff13ecbd582944ce5a76e618a426e201eadad9864ba88dbc17ee4f832e69c2200d0e3d1194214fb23af0fdcba1282ef814a0228652caec91fb6d06d69b1f266f3ce89f31f268328ff0bdea09f13c59986dc00badcf0a02034df9985b37830fb1af106b0240e981d0d47ee535821deb5b7b5e7918755a888a6f46545df4ed9ce4f7f352bcd5ba62df396a8a61c8013c6e07e9be4c87fdfbf4925d88288b73adec3dfdf0a4d88821a527868621d062658a72f301655a5c7d6704dd35417a0a4d2c87594837f664bea4812c22fd776313877e84211c669d09a81ce9fba6fdd047c5576835aa65f3001cb511ad788a35b90ee810714e82a2e6117b68587c1c5f63507919b8c860f73df4c29d77aa0ce4a84d48ce0619733704bac62ad20723ee5a70837dde8e8d6bef02adf19da36d0e29aa2f0848c0954f4dc6fefef32a807355ee52ee47a09c1d45f4114291906694da4be39bcece0ca9c3f9bef1e73243e887cb60513b42cc7c3682e112b410e349037a3049c569fffa265dbd4682164d6d7e16e4f135cf965fdcf5d5445be8d6a17af5cfefec7f58de6ebb339f6936e9475cdaf94306d3cf8f5de6983e7bdd895e63dc344e40694dbe4aec719f4fbb66f40075b6a68f2bb8f474efc916a998341d2c31829ef57f8c4071a49e06e59ade3300fda20efef3d63a18b36c0e1da09f5c4f5ab91fcaafb87eae755713476d1f3de04f3f289b328d454f294b910b4e76f7543fd6cb1c428df903d7866a370ed0675557e2c34d631ccb73b68b436bdc76cfce854938cc711761f1764f3ce25f66afcb5454bf2ed45787aaefe62bd5ea2fb02494442d3f6d828447a33ba50c2db79cb7da5ecf5826f851781e6fa40a8c5825e972a63ad887eb5a394e713095e379a56a11896d5b598a4fac614ebb12233e7b6692b60778879982f0d862dc1bf708fd11b7de6f21dee88a6d5f781ea95a7242dfca9a05f0d6ded193aae0309ab361991012eca0508052ce8e1e6a57d5d1d951507bd42fbf0586417ee3361e749d86d1022325d55bcb3aee20aa0f2968ae9c1aa208e7605a85f1d12eaa10f537a8134c488d58aac3a237da24d6fbde3517d085c75243418ef58e0aac530781d38658c424dc981e0212a64c9e8504a867ae71e3eed3dc03dfb301267490a087e969acbd9526ed7ee33264187da687fcb46c9520bdb365c50eb0763d9825573ea8f24993009eaefdf69f64c0780941b34f18115feaffa865e8cb5efc0b3f4841ab2d7bb2956def84c966f3da5ce63f0ed402f2a34f9a1ad12df0a9d816aa6041e59397946ab881fda814a5de76021af46c818ce248f452ac3e2e88ac842b516050ed42fa0e401cd647bd53145474bd94417dfd6514405cb10a507b792c4c65ed6d223f5768356d0afe55646336542892064a3f00c7d2131155b3a9a9aa534a785f51f5f9f59b4bee3429154eb8c6e98cd2c00777297ddc9813116182c796754a999b0cd0fb7df9d36c47ea03fa756ab01a08a385f5a77b8e9e8f5317f13d8be94346e272e191e1daf6b6ee1ad9e19fbd2789c5fc184e45b82d9cb0138dd5bace69d4aa7670fddb00f89bf6c567e3b7638c1fe99ed2d669cb3f84996898ff7478c11f7f66b7ccc2f6c90596d2b39682b41e22fd4937dea5bbf5e1c7e450ac23226e3bb2bdf8a45949a6847753c7fcd6352c1543bc29afe6c06b2a98ec82b2a82621241e43bda7c3aad3367f00cbf3d05beca8122c6cb47bf45e32188c62c5a55278bb2367779dadb70a959f27da7a077811ac9ea5e91e3de59198d8553b993043890e4850b7a54134ef3e3e16092272f3d3d293d5c390a03cc512fba9f998f7833f345a1789151e2c1866e0f0a031ed4a1c73ed5d4bcfadb8d8f28868e73193de4ea0d9a5a81a7cd659d87e73c20066f498e061847ac9f23c60e8881cc5ead6d6663bd60e8a70f8095b6577d4e989b3efe6395972c9b33f69f687a6a2196e658be9e5e30e7b6af46bdde6d038ed9ca8dc2732036e3a94d0a1aacb2b0b62531e6c1dcae09270255d89ed5afa458ad8a8d88f035b70705e6968f91cc210791f3a7f2775a9445ad7acdc60d0ea11f6c465f73f32840842650dac7531338a4014357c88685ba8995b39445a510d7473a2d37a556a5f7202916edba8b36db6d23abced0ba841095d6b1ce5f936774f58558d9dc415f1914409527f6278ebc2425a82c2e016cca116df67e8f918274f1db72d38013d996e58e5c6287d93df0c3d061f5b6d5cca5593b9d9ab0d3d55bfbd0fc39a298da1a078bb2cd18a028228c70c79c6458dd95720c6b82666763640e3ae76a9976db2ff8b66080b1bbce73e6a5fd34d8af30954f0c287abb1e08aa118831f7f938d6ad9b5f6f993fa31fec1757985ec2309a4e5ff1b6fc75898e505ec011046f6e3c7f8e0b6dd8b259e6e871a45a712ac397acb6d4c5e6203efe229f43083c79e11137b1ac3a2ec60fa3882116a3d2617bf993cd5055cd7b10c04e621c2c9539f86b192873f172f2621355e2196c442b5072757165cda155f200735b2a970e8034f646ab8432b87109222f901007caec1e359af3908b425b5e179b6b612b56f6bf343395691d4c51b11a58a15c309a5f424a5100b069dd1bd1dbbba87447e30080c01b474d09e6b44e5939058ee534da972de5846b9f01b10c9198b4a39004d98d8639de7c1027e39611f30d9da32b6ddf1853c14a9932172fbad887058aaf0c0785155249d7b5f9d394971d2ac626d1f6c3313f331cc526b78a4c1c2db6d1ecc848e1faff258cfafe0b4aaefc3d77681ccf15168d8c038f19d725810ce348e4b06ab437fadb655e9aa92fc9859bb6cac811f8fe60f2f80d33032251eb94764591b2dd4d0a6a706a2dc1766393f2fe61e7f1822b8e4c9058a2066c036c96e5345117797b580c4d43222318054ed29985eac93bf4165208c57fba419be66f8bce145eb9b1547b42957e86cb9caec8f3ed7c69bdd948fd62e172986182ce93e5f105397a7a17ae146852bd38ef544328ad949155f1f90b698a2bb34ebe6e58b18639b04226298385294fb8c5be6cdfce164657a797d4eaafc9761b13de7071333f4765fde22dbd110b55107ea8e8fb3184c8bcde40efe49889df3f8068195478bfac10dabce1f035754eea06cce3ca2b2aca6dbafe56719be46e6219859666c6fe434cb7cb770e4dbf5d8dbddb8e41cbf81555b9b0606586735734bab80b7d94efa175bd485dfa229b1d2f2a89fa4a66a6efe002df03f6dff9e88e10467498625cae577f9d89570efa3f8a88106dddc1b8cc0dde5e414e2c8c4144b25b0d7b5c7a97228ad82e4518086907db584fc8d107b7b81c1a1711e65365bcf8d7c93402ec58959231cacbefd504d87a7aef12bf36637abae047c8f41668c608638652d35d93db4cda34b18c72bc5b536ec63944dfbbc4a3d2b17beee340db1426e9b3d68d5a79ed00b5114c50e3cecc600f1ac075899866be4bfac8f2e710b8f2f0dc0bc244e3f41b5ac698d6e308451f5d4e3f0fdd9195364bf3b13206e79eba5ce893a8b0f43c370e8e652206517fa738b1d4a606a70e0264a9257d6a3614b3563d5dc38d3aa80398166f6a07ee51e57e224f8bb2e2a4e0652310ea25593b5840cc372effc1daf20480f1ddf5332d1c73fc007f2bc37dfd298ce618c1550b9503b6c272238045c929a69cc725611e37f6c446149c9010ebdb26425b1b9b69c6fcb60e62ba94f52674877c1424ec108cdab7a5fadddab1108e6b1481db70ebe711d457104decf602ec851c163970cb47361fd8be26cfdf632c3d770c2cfde739ce51f7593e7585f84df4115d6a0c67c2ffdda142e71843360e2802bee945418af3e50bd5bef4128e5c50532ba01ff01d46297990639ae5fd26c450b48a31c6b37", 0x1000}, {&(0x7f0000000440)="8c01fc7ceb9d11cf0eacc960b8a2b0eda00589c0111be47db4d1a2ff0286bf11c0c04892bbf85b47a8de8eefdbe97b226805b8b97e820a03e9998567b49e6e1fb9c8d9f96e09", 0x46}, {&(0x7f00000016c0)="43c161f126bf6f19caab02173906560401eb8b3834aea53cbd39ee50b773c43a67f2099e6cfaee7d7dd40a63eb019f40be02919a58bb3e79a49e86ed5fdb15f7a36155411536cee42bd63f92d54716492452295253d1454525d784a778d55441c639149c4d38d231e2c4b375119015d6aebdbd8c2929a7fd0a197fda84445e004085626f2af59bf114a8f9d1a3457771a52e4310702c9f9e8794a1df1edfd078763c020adb32b7f4069d45a575066cbe1a883866019770d7ba0752aaea3370d1fdd909cfcbcde802d63f2793aa8b46ddc0ef37fcf60a85953ed6941125e1f2b9a097a3f0af8e17aa472b2c52688789b8b46ebefd9ba5a071a7476e66", 0xfc}], 0x6) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f00000000c0)={0x0, 0xfffffffffffffffd, 0xe5a3, 0xfffffffffffffffa, "d4864f675810630300000000000000f5fde549ab"}) shmget(0x3, 0x2000, 0x0, &(0x7f0000ffd000/0x2000)=nil) r2 = openat(0xffffffffffffffff, &(0x7f0000000080)='./file0\x00', 0x0, 0x0) linkat(r2, &(0x7f00000018c0)='./file0\x00', r2, &(0x7f0000001840)='./file0\x00', 0x4) ioctl$KDSETLED(r2, 0x20004b42, &(0x7f0000000100)=0x5) writev(r0, &(0x7f0000000000)=[{&(0x7f0000000500)="58f846b9c8d4283b02f31e5d56b213b1ee1662f45404c6106fc4e9a503eeb3a3d1e1783226b609623287c7f0001a633204ade1bae72927d4a23b588b6ea10c997067fc64cf77376d4a941d64c72f3488eecf1efe58d03bdb764ba012a32fd7b9d89fdbefec6d9aa1a6e635cdbcf1711e8eaf3727f1e403fffb6e7d9d3b8d7ba8fbea3864553cf0742a0893f6cab722ebed726a56f62b94d38512ef87d30ca9607216d6ea93d0009e5e1538aa639a5bf1482262c170ca7082dc5708d9ed98286a50c985d5b00339e55d04eb0651895b1cd9937042df3979e8bb2cfb9623627278d80323d635d4097ff6788b83d1013c1f5e5745f9a5757d74d13a9d27886e10ed0040d38bb7cac65b49b0faccb78189ed6ef9035c1ed23cdbf09dd70bbb1999005beda6169e07972ebe1cd0e9065d2f12b45a690a2c5415e1d61ccf7d3342d38449ff4933474b5eeda40c5128b53e50e00dd97a81a5b65bda86ec9aa4d115ae5114caae0c142f1dce31090781f67a86808a095c32432fdab657ccec2878eb898660635737c7fcf4780f3bcd3ee55f63b710", 0x191}], 0x1) 00:31:21 executing program 0: select(0x236, 0x0, &(0x7f0000000140)={0x0, 0x0, 0x0, 0x1000000000000}, 0x0, 0x0) select(0x40, &(0x7f0000000000)={0x54, 0x100000, 0x3, 0x9, 0x0, 0x1000, 0x400, 0x2}, &(0x7f0000000040)={0x3ff, 0x8, 0x1, 0x6, 0x3, 0x40, 0x5, 0x3ff}, &(0x7f0000000080)={0x0, 0x800, 0x1, 0xfffffffffffffff7, 0x200, 0x0, 0x1, 0x8}, &(0x7f00000000c0)={0xffffffffffffffff, 0x80}) select(0x40, &(0x7f0000000100)={0x0, 0x3, 0x6, 0x4, 0x310b, 0x7, 0x101, 0x49}, &(0x7f0000000180)={0x8, 0x80000000, 0x2, 0xffffffffffffffff, 0x3, 0x5, 0x7f, 0x4b86}, &(0x7f00000001c0)={0x6, 0x800, 0x7, 0xffffffffffffffd1, 0x8000, 0xfffffffffffff000, 0xffffffffffffff7f, 0x7fffffff}, &(0x7f0000000200)={0x7ff, 0x4}) 00:31:21 executing program 1: symlink(&(0x7f0000000000)='.\x00', &(0x7f0000000540)='./file0\x00') pipe2(&(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10004) pipe2(&(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10004) r3 = socket$unix(0x1, 0xfffffffffffffffe, 0x0) r4 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./file1\x00', 0x20000, 0x0) r5 = socket$unix(0x1, 0x5, 0x0) pipe2(&(0x7f0000000180)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10004) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000200)={0xffffffffffffffff}) symlink(&(0x7f0000000280)='./file0/file0\x00', &(0x7f0000000300)='./file0/../file0\x00') poll(&(0x7f0000000240)=[{r1, 0x4}, {r2, 0x4}, {r3, 0x4}, {r4, 0x8}, {r5, 0x84}, {r6, 0x90}, {r7, 0x100}], 0x7, 0x6) symlink(&(0x7f0000000340)='./file0/../file0\x00', &(0x7f00000000c0)='./file1\x00') ioctl$WSDISPLAYIO_LSFONT(r0, 0xc058574e, &(0x7f0000000380)) rename(&(0x7f00000001c0)='./file1/file0\x00', 0x0) unlink(&(0x7f00000002c0)='./file0\x00') pipe(&(0x7f0000000040)={0xffffffffffffffff}) ioctl$TIOCCHKVERAUTH(r8, 0x2000741e) 00:31:21 executing program 0: execve(0x0, &(0x7f0000000180)=[&(0x7f0000000100)='//\x00'], 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) mkdir(&(0x7f0000000100)='./file1\x00', 0x0) symlink(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)='./file1\x00') 00:31:21 executing program 0: r0 = syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000080)={0x0, 0x0, 0x90d2, 0x0, "d730c1e7bb6fc6e23c5b00000000000000e74de4"}) write(r0, &(0x7f0000000240)="582720efabd16ebae63225259560f8e5815f73f2a044fd33055552fbd5e41789632dfc94ff334a5619515a4c8ab06198824b3da025bbd47b3bf579456fc7d4096e8c8b6b87cb2d72b8bcdb9ad8a4f5f728193ef16ab93f12fc4d5f16b136a5d00d1628b53a", 0x65) write(r0, &(0x7f0000000300)="e22b98f1a79dca4e32cc53f4ffa246e5c3bfa71668f2bd5facdd9c818fcd380cfc761bb60800325a835a5aeb1b850ca6b4682ea2aba78fa8b6a8aa364d958a0fd0591dad68a916c5c23b12c18be230eb4de9b79a18725f7d7fab31da9110cee6f323ca7d36e394fafd73dcfd942ffb3304cd1c9a94e0f9253bcab7faf630a2d9156cc46d475e1ba0ea5017cfca9eeca2e4d10a0a92d675070254cf4e4c257a35b44b5344a592323cc6ed78bf9dbcca10a31b7d5614560d8529806f425493ed88dcdb1e7deb0142487d0e511621c9acb8385fba227c71428465a351cf78213bb84fb576032b4f3de1d394e98cf286f9df1937999055d3731abff3fa1a00fb90891bc42b996c0fdf22a16f82aac2a263ae294c57de85", 0x115) r1 = syz_open_pts() close(r1) syz_open_pts() r2 = dup(r1) r3 = syz_open_pts() ioctl$TIOCSTOP(r3, 0x2000746f) recvmsg(r2, &(0x7f00000017c0)={&(0x7f0000000140)=@in6, 0xc, &(0x7f00000016c0)=[{&(0x7f0000000180)=""/72, 0x48}, {&(0x7f0000000440)=""/4096, 0x1000}, {&(0x7f0000001440)=""/146, 0x92}, {&(0x7f00000002c0)=""/34, 0x22}, {&(0x7f0000001500)=""/215, 0xd7}, {&(0x7f0000001600)=""/149, 0x95}], 0x6, &(0x7f0000001740)=""/79, 0x4f}, 0x43) connect$inet(r2, &(0x7f0000000000)={0x2, 0x1}, 0xc) ioctl$TIOCSETA(r3, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x3, 0xfffffffffffffb7e, "8501a18600"}) ioctl$WSMUXIO_REMOVE_DEVICE(r2, 0x80085762, &(0x7f0000000040)={0x3, 0x3}) ioctl$TIOCSTSTAMP(r1, 0x8008745a, &(0x7f0000001840)={0xfffffffffffffffe, 0xfffffffffffffff8}) readv(r3, &(0x7f0000000100)=[{&(0x7f0000000200)=""/45, 0x2d}], 0x1) ioctl$TIOCOUTQ(r1, 0x40047473, &(0x7f0000001800)) 00:31:21 executing program 1: socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) sendto$unix(r0, &(0x7f0000000240)="47c5194a0a650466564a3e6ef093cf570d653934d5da0bf19df4442d8b723f2da4658125085b8be11573bc6e3343e08ddbac577ad694f1da78a40ca98fdd855743bc7ef41b8617461839ccd519be4ab721e3544ea2f338d575c42f265b1cdac4603a13b560fa162984f48ef609cc0b9a063c9be9835b454c21311dc4ceb29aa211c56bebd5f3a553c7e5a0d5829155f39a431a7e1f4b19f491c681c813c38c9c8ff24c7be68bd87f394c94af9e01f19db2284c5f0302de34ad8138e07f9a3cc45ce86d2b5965582b3d268c23c5af9bf54f59ed5d6a65436b358e351764f33c387d1c3364151b3fbbca4b21baf7c8eb6963e0bb7012a588673b36a2228895cb63c747c253cd13e8df9e753ae3c05ef2730577b6ba4ea738965a947c1d37ae5228b8c7cf4efff591c97675d9dd756074ac9c6d8d7f3a1c9ec3229d56a347180529e9ef968b9bade45a6f98178a38d9bd76181d3fa3b5a5e4e4b3fdd38f4a2295b1b37a05193e9131b2dc1d555675e8c06153633515597e8fb6a170ae497d6864893c2f86060cec840a7e7bd59c8899c0aa852b62723d293e68d420dc8c8dbdadaa342ad526d6325a324f517e82414ca75cae5e9a65e8ff8480f06a2f0d60399c26f0648f4d8fd8b6a476a056e6cfe86a0ed3551ac6b955a7809839241224fd0e45dda1147e1930536df432f21a773c", 0xffffff03, 0x0, 0x0, 0x0) read(r0, 0x0, 0x1ed) sendto$unix(r1, &(0x7f0000000000)="755b0a353e574ede", 0x8, 0x4, &(0x7f0000000040)=ANY=[@ANYBLOB="e40f2e2f66696c653000"], 0xa) 00:31:22 executing program 0: mkdir(&(0x7f0000000000)='./file0\x00', 0x0) rename(&(0x7f0000000100)='./file0/file0/file0\x00', &(0x7f0000000200)='./file0/file0/file0/file0\x00') unveil(&(0x7f0000000080)='./file0/file0/file0\x00', &(0x7f00000001c0)='c\x00') r0 = openat$zero(0xffffffffffffff9c, &(0x7f0000000280)='/dev/zero\x00', 0x0, 0x0) mknodat(r0, &(0x7f00000002c0)='./file0\x00', 0x104, 0x0) r1 = open(&(0x7f0000000040)='./file0/file0/file0\x00', 0x40, 0x80) ioctl$TIOCSBRK(r1, 0x2000747b) r2 = dup(r0) getsockname(r1, &(0x7f0000000140)=@in, &(0x7f0000000180)=0xc) renameat(r1, &(0x7f00000000c0)='./file0/file0/file0/file0\x00', r2, &(0x7f0000000240)='./file0\x00') 00:31:22 executing program 0: r0 = open(&(0x7f0000000040)='./file0\x00', 0x60e, 0x0) pwritev(r0, &(0x7f0000000100)=[{&(0x7f00000011c0)="40e269c9e1", 0x5}], 0x1, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f00000000c0)="4402", 0x2}], 0x1, 0x0) mmap(&(0x7f0000000000/0x13000)=nil, 0x13000, 0x5, 0x10, r0, 0x0, 0x0) connect$unix(0xffffffffffffffff, &(0x7f0000000080)=ANY=[@ANYBLOB="00002e6f66696c653001f4"], 0x10) mmap(&(0x7f0000ff8000/0x5000)=nil, 0x5000, 0x0, 0x2011, 0xffffffffffffffff, 0x0, 0x0) ioctl$WSDISPLAYIO_GETEMULTYPE(r0, 0xc014575e, &(0x7f0000000000)={0xfff, './file1\x00'}) 00:31:22 executing program 0: mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x29, 0xa, &(0x7f0000000040)="0000e084360000", 0xfffffffffffffdb2) getsockopt(r0, 0x29, 0xb, 0x0, 0x0) 00:31:22 executing program 1: r0 = socket(0x2, 0x2, 0x0) connect$unix(r0, &(0x7f0000000000)=@file={0xbd5699bc1ec0282, './file0\x00'}, 0x10) r1 = socket(0x10000000002, 0x2, 0x0) r2 = dup2(r0, r1) r3 = kqueue() kevent(r3, &(0x7f0000000100), 0x6, 0x0, 0x9d1, &(0x7f0000000140)={0x3, 0x7fffffff}) kevent(r3, &(0x7f0000000180)=[{{r0}, 0xffffffffffffffff, 0x8}], 0x8, 0x0, 0x0, 0x0) shutdown(r0, 0x1) setsockopt$sock_int(r2, 0xffff, 0x1023, &(0x7f00000000c0)=0x3, 0x4) getpeername$inet6(r2, &(0x7f0000000040), &(0x7f0000000080)=0xc) 00:31:22 executing program 1: r0 = syz_open_pts() ioctl$TIOCGFLAGS(r0, 0x4004745d, &(0x7f0000000000)) fcntl$dupfd(r0, 0x0, r0) 00:31:22 executing program 1: ioctl$TIOCSETAF(0xffffffffffffffff, 0x802c7416, &(0x7f0000000140)={0xffffffffffffffff, 0x0, 0x0, 0x0, "010000000000000000ffffff7f00"}) r0 = getpid() getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000040)={0x0}, 0xc) setpgid(r0, r1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r2 = socket(0x18, 0x1, 0x0) setsockopt(r2, 0x29, 0xc, &(0x7f0000000140)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) connect$unix(r2, &(0x7f0000000000)=@abs={0x0, 0x0, 0x3}, 0x8) r3 = socket(0x18, 0x1, 0xfffffffffffffffe) setsockopt(r2, 0x29, 0xc, &(0x7f0000000400)="ebffcbff13b9fd812eaa4e713048e699319296485f98c3f359f62b5213481df205a2becd2f64612186f8c359b8d79ffd2e6ebdfa1c1ecbbf6bfcae112d2399f6ea0cf5208579f13a622503993a0c96ef28efb532fd537a6239f02e3fd130c0d1ccf19cc3466d61e1cc0f4dee183b6c9197367ae1fc1b419693d1d91d31cf81ddcc43060dfc595e7df20388abd5604134cf648d0af3faf61539db64e76fd892973cb44e8a0ea304931f0ae8741f31c7a450a752e8f2d66f1eaf7a802bc1c39b3ca0c76515adeb4b6d8a35ed66ea9c3350dd18cb7c8aac88354e8c5ab6da35a2dbe215ba3a2486a80d2c2161a0598e30da7006a3d20fe277138e20920fb36924df2f0d535dfafa447a4d9b2f0c9270b0b67ebe8c3d1c8c24", 0xffffffffffffff06) sendmsg(r2, &(0x7f0000000100)={&(0x7f0000000080)=@in6={0x18, 0x2, 0x8, 0xa9bc}, 0xc, &(0x7f00000000c0)=[{&(0x7f0000000180)="29dd1b6ef45008dbca7a2c76bed6e70ae0690150081d9f37cf7b40f85e1afee5d7673fcf58405957952ab628f68b8f11e796b1387ae17c8f96cdcb3ca38c91f7e3df0b3f469d62ae82a66ac12dec4a0c2173a2f07604f3308ef7f72855072d4e17b898813a6b5560913a14c95c9b1df54af6f3d8de40a2434f7d1ec26e792d94e50f04170e8506360d55a1987a0c1e0b649ff54c1a7ff9e6895eadab185c0050c0d014ff54cf40145de5a8c2c29ad0fb59217e195b77dcde9e0c0d18c1885b25c30b8a84f7548bbe5ae15b36c611e1a0e4893275785307674c4c310816e74d8e6276a9c18bbb51555662c946c311c32215f860f0a5311586f9c559", 0xfb}, {&(0x7f0000000280)="1c43b8060c66e172b1030e1cc555f55aa8edc911dff1ae1ce4b2671157ec65f6d2dd1566fe40279c2fc519c234e090020bad73ee1286fa8592c2de1ee26b96b4882ab78807587fe847659e0e013a261ec828864fd8df5c85560ccb4c9be1f0951cc56d6cf2ff7e93eff0bcb5b31324b31f83cd26c8451f99a5376edba2af7d8407913e7db81bd7ebcc6b25f29b449fc8eeede55c7ca80bb35e26a48cc02cf1606f23948a6af72811079bd9b1c829a133c513ab84d29104fdecb7efbe4f3a424bead871b42cb358b3c6bbbca279f5abfdb22cb0367c899dce86ca684ff91212bc40b1b105cd72dd889550ccd41264b612", 0xf0}], 0x2, &(0x7f0000000380)=[{0x10, 0x1, 0x8}, {0x38, 0x1, 0x7ff, "57713e0cbd63c9242c0f8a80d032e3e1171c88345e045d74c76c48972e2ae13a287223b9"}], 0x48}, 0x2) shutdown(r3, 0x1) 00:31:23 executing program 0: r0 = semget$private(0x0, 0x6, 0x10) semctl$GETPID(r0, 0x2, 0x4, &(0x7f00000000c0)=""/49) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)={0xffffffffffffffff}) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000040)={0x0}, &(0x7f0000000100)=0xfffffd27) setpgid(0x0, r2) 00:31:23 executing program 1: setsockopt$sock_linger(0xffffffffffffffff, 0xffff, 0x80, &(0x7f0000000040)={0x1}, 0x8) r0 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000000)='/dev/wsmouse\x00', 0x80, 0x0) r1 = accept$unix(0xffffffffffffff9c, &(0x7f0000000080)=@file={0x0, ""/108}, &(0x7f0000000100)=0x6e) dup2(r0, r1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r2 = socket(0x18, 0x1, 0x0) setsockopt(r2, 0x29, 0x80000000000000e, &(0x7f0000000040)="90000000", 0x4) 00:31:23 executing program 1: msgsnd(0x0, &(0x7f0000000000)={0x0, "b0fd86fc7de466a9"}, 0x10, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) recvmsg(r0, &(0x7f0000000240)={0x0, 0x56, &(0x7f0000000000), 0x313, 0x0}, 0x0) 00:31:23 executing program 0: unveil(&(0x7f00000002c0)='./file0\x00', &(0x7f00000001c0)) mkdir(&(0x7f00000000c0)='./file0\x00', 0xfffffffffffffff4) symlink(&(0x7f0000000040)='./file0\x00', &(0x7f0000000080)='./file0/file0\x00') unveil(&(0x7f0000000000)='./file0/file1\x00', &(0x7f0000000100)='x\x00') unlink(&(0x7f0000000180)='./file0/file0\x00') login: panic: kernel diagnostic assertion "tname->un_flags & UNVEIL_USERSET" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_unveil.c", line 879 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 241949 5040 32767 0x10 0 1 syz-executor.0 *115543 5040 32767 0x10 0x4000000 0K syz-executor.0 db_enter() at db_enter+0x18 panic() at panic+0x174 __assert(ffffffff81f7bdfb,ffffffff81f325a7,36f,ffffffff81f8b7f3) at __assert+0x2e unveil_check_final(ffff800020b38bd0,ffff800020c45208) at unveil_check_final+0x81d namei(ffff800020c45208) at namei+0x88b domkdirat(ffff800020b38bd0,ffffff9c,200000c0,fffffff4) at domkdirat+0x81 syscall(ffff800020c454c0) at syscall+0x5b8 Xsyscall(6,0,ffffffffffffff94,0,2,add6d7aa010) at Xsyscall+0x128 end of kernel end trace frame: 0xae0019f7760, count: 7 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 "tname->un_flags & UNVEIL_USERSET" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_unveil.c", line 879 ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x174 __assert(ffffffff81f7bdfb,ffffffff81f325a7,36f,ffffffff81f8b7f3) at __assert+0x2e unveil_check_final(ffff800020b38bd0,ffff800020c45208) at unveil_check_final+0x81d namei(ffff800020c45208) at namei+0x88b domkdirat(ffff800020b38bd0,ffffff9c,200000c0,fffffff4) at domkdirat+0x81 syscall(ffff800020c454c0) at syscall+0x5b8 Xsyscall(6,0,ffffffffffffff94,0,2,add6d7aa010) at Xsyscall+0x128 end of kernel end trace frame: 0xae0019f7760, count: -8 ddb{0}> show registers rdi 0xffffffff8188e157 db_enter+0x17 rsi 0x38ac __ALIGN_SIZE+0x28ac rbp 0xffff800020c44fb0 rbx 0xffff800020c45060 rdx 0x38ad __ALIGN_SIZE+0x28ad rcx 0xffff800001b4b000 rax 0xffff800001b4b000 r8 0xffffffff81e2f083 kprintf+0x183 r9 0x1 r10 0x25 r11 0xf489f433790a5201 r12 0x3000000008 r13 0xffff800020c44fc0 r14 0x100 r15 0x1 rip 0xffffffff8188e158 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020c44fa0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=115543 stat=onproc flags process=10 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020b39788,0xffffffff82352f38 process=0xffff800020b3ad30 user=0xffff800020c40000, vmspace=0xfffffd807effd5a0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 5040 241949 71521 32767 7 0x10 syz-executor.0 * 5040 115543 71521 32767 7 0x4000010 syz-executor.0 71521 25933 15164 32767 2 0x490 syz-executor.0 15164 240442 27470 0 3 0x82 wait syz-executor.0 32632 494499 0 0 3 0x14200 bored sosplice 69927 127346 89771 32767 2 0x490 syz-executor.1 89771 434129 27470 0 3 0x82 wait syz-executor.1 27470 468495 627 0 3 0x82 thrsleep syz-fuzzer 27470 349497 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 512147 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 414161 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 499318 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 314039 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 22065 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 330105 627 0 3 0x4000082 kqread syz-fuzzer 27470 63129 627 0 3 0x4000082 thrsleep syz-fuzzer 27470 270818 627 0 3 0x4000082 thrsleep syz-fuzzer 627 442166 33196 0 3 0x10008a pause ksh 33196 198473 74725 0 3 0x92 select sshd 5822 411961 1 0 3 0x100083 ttyin getty 74725 442252 1 0 3 0x80 select sshd 60697 193917 9150 73 3 0x100090 kqread syslogd 9150 286893 1 0 3 0x100082 netio syslogd 4807 323259 1 77 3 0x100090 poll dhclient 27630 90641 1 0 3 0x80 poll dhclient 62514 439341 0 0 3 0x14200 pgzero zerothread 45581 266344 0 0 3 0x14200 aiodoned aiodoned 94472 62583 0 0 3 0x14200 syncer update 26838 384910 0 0 3 0x14200 cleaner cleaner 77738 195899 0 0 3 0x14200 reaper reaper 32410 325379 0 0 3 0x14200 pgdaemon pagedaemon 59163 154498 0 0 3 0x14200 bored crynlk 58398 282512 0 0 3 0x14200 bored crypto 1014 359 0 0 3 0x40014200 acpi0 acpi0 29848 410457 0 0 3 0x40014200 idle1 39143 7989 0 0 3 0x14200 bored softnet 33219 359008 0 0 3 0x14200 bored systqmp 19180 256346 0 0 3 0x14200 bored systq 46790 250034 0 0 3 0x40014200 bored softclock 84215 235904 0 0 3 0x40014200 idle0 84315 49804 0 0 3 0x14200 bored smr 1 437682 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 5040 (syz-executor.0) thread 0xffff800020b38bd0 (115543) exclusive rrwlock inode r = 0 (0xfffffd806977d2c0) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 #0 witness_lock+0x594 #1 _rw_enter+0x45d #2 _rrw_enter+0x60 #3 VOP_LOCK+0x57 #4 vn_lock+0x6e #5 vfs_lookup+0xf5 #6 namei+0x4b2 #7 domkdirat+0x81 #8 syscall+0x5b8 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82342968) locked @ /syzkaller/managers/setuid/kernel/sys/sys/syscall_mi.h:90 #0 witness_lock+0x594 #1 syscall+0x48b #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9458 6320K 6320K 78643K 10555 0 0 pcb 23 9K 10K 78643K 111 0 0 rtable 97 3K 3K 78643K 231 0 0 ifaddr 34 9K 9K 78643K 46 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 21 0 0 iov 0 0K 20K 78643K 8 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 75K 78643K 1248 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 4 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 24 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 33K 78643K 117 0 0 proc 44 50K 70K 78643K 308 0 0 subproc 68 69634K 69634K 78643K 136 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 11 0 0 in_multi 33 2K 2K 78643K 57 0 0 ether_multi 1 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 179 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 79 20K 21K 78643K 1088 0 0 UVM aobj 10 2K 2K 78643K 10 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 14 0 0 NDP 7 0K 0K 78643K 15 0 0 temp 88 2366K 2430K 78643K 3233 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 inpcbpl 280 99 0 92 1 0 1 1 0 8 0 plimitpl 152 26 0 17 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 59 0 19 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 40 0 36 1 0 1 1 0 8 0 nd6 48 8 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 267 0 82 12 0 12 12 0 8 0 art_table 32 268 0 82 2 0 2 2 0 8 0 art_node 16 58 0 24 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1537 0 126 46 0 46 46 0 8 0 ffsino 272 1537 0 126 95 0 95 95 0 8 0 nchpl 144 1894 0 284 61 1 60 61 0 8 0 uvmvnodes 72 1614 0 0 30 0 30 30 0 8 0 vnodes 200 1614 0 0 85 0 85 85 0 8 0 namei 1024 4842 0 4841 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4765 0 4765 8 6 2 6 0 8 2 sigapl 432 281 0 266 3 1 2 3 0 8 0 futexpl 56 1049 0 1049 1 0 1 1 0 8 1 knotepl 112 108 0 89 1 0 1 1 0 8 0 kqueuepl 104 36 0 34 1 0 1 1 0 8 0 pipepl 112 206 0 187 3 1 2 2 0 8 0 fdescpl 488 282 0 266 3 0 3 3 0 8 1 filepl 152 1531 0 1435 6 1 5 5 0 8 1 lockfpl 104 14 0 14 2 1 1 1 0 8 1 lockfspl 32 7 0 7 2 1 1 1 0 8 1 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 172 0 163 1 0 1 1 0 8 0 zombiepl 144 266 0 265 2 1 1 1 0 8 0 processpl 840 298 0 265 4 0 4 4 0 8 0 procpl 600 479 0 436 4 0 4 4 0 8 0 srpgc 64 12 0 12 2 1 1 1 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 384 197 0 180 3 0 3 3 0 8 1 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 141 0 0 17 0 17 17 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 160 0 0 9 0 9 9 0 8 0 bufpl 256 5708 0 1122 287 0 287 287 0 8 0 anonpl 16 43044 0 37235 45 1 44 44 0 125 16 amapchunkpl 152 1349 0 1262 9 0 9 9 0 158 4 amappl16 192 1172 0 843 33 8 25 29 0 8 8 amappl15 184 53 0 46 1 0 1 1 0 8 0 amappl14 176 68 0 63 2 1 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 92 0 89 1 0 1 1 0 8 0 amappl11 152 26 0 13 1 0 1 1 0 8 0 amappl10 144 63 0 61 2 1 1 1 0 8 0 amappl9 136 550 0 547 1 0 1 1 0 8 0 amappl8 128 130 0 115 1 0 1 1 0 8 0 amappl7 120 31 0 26 1 0 1 1 0 8 0 amappl6 112 60 0 50 1 0 1 1 0 8 0 amappl5 104 196 0 185 1 0 1 1 0 8 0 amappl4 96 436 0 408 2 1 1 2 0 8 0 amappl3 88 161 0 154 1 0 1 1 0 8 0 amappl2 80 1379 0 1324 2 0 2 2 0 8 0 amappl1 72 14796 0 14359 23 13 10 19 0 8 0 amappl 72 698 0 663 1 0 1 1 0 75 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 282 0 266 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 282 0 266 1 0 1 1 0 8 0 vmmpekpl 168 6209 0 6185 2 0 2 2 0 8 0 vmmpepl 168 37780 0 36420 90 15 75 75 0 357 14 vmsppl 360 281 0 266 2 0 2 2 0 8 0 pdppl 4096 572 0 532 6 0 6 6 0 8 0 pvpl 32 138048 0 129006 126 8 118 118 0 265 38 pmappl 224 281 0 266 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 437 0 3 13 0 13 13 0 8 0