kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Thu Aug 1 13:45:48 PDT 2019 OpenBSD/amd64 (ci-openbsd-main-6.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.15.207' (ECDSA) to the list of known hosts. 2019/08/01 13:46:02 fuzzer started 2019/08/01 13:46:08 dialing manager at 10.128.15.235:33221 2019/08/01 13:46:08 syscalls: 332 2019/08/01 13:46:08 code coverage: enabled 2019/08/01 13:46:08 comparison tracing: enabled 2019/08/01 13:46:08 extra coverage: support is not implemented in syzkaller 2019/08/01 13:46:08 setuid sandbox: enabled 2019/08/01 13:46:08 namespace sandbox: support is not implemented in syzkaller 2019/08/01 13:46:08 Android sandbox: support is not implemented in syzkaller 2019/08/01 13:46:08 fault injection: support is not implemented in syzkaller 2019/08/01 13:46:08 leak checking: support is not implemented in syzkaller 2019/08/01 13:46:08 net packet injection: enabled 2019/08/01 13:46:08 net device setup: support is not implemented in syzkaller 13:46:14 executing program 1: r0 = getgid() getgroups(0x4, &(0x7f0000000000)=[0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0xffffffffffffffff]) getgroups(0x1, &(0x7f0000000040)=[0x0]) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, &(0x7f00000000c0)=0xc) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000100)={0x0, 0x0, 0x0}, 0xc) getsockopt$sock_cred(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000140)={0x0, 0x0, 0x0}, &(0x7f0000000180)=0xc) r8 = getgid() getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f00000001c0)={0x0, 0x0, 0x0}, 0xc) setgroups(0x8, &(0x7f0000000200)=[r0, r2, r4, r5, r6, r7, r8, r9]) setgroups(0x1, &(0x7f0000000240)=[r8]) r10 = socket$inet6(0x18, 0x8000, 0x3) getsockopt$SO_PEERCRED(r10, 0xffff, 0x1022, &(0x7f0000000280), 0xc) socket$inet6(0x18, 0xc005, 0xff) r11 = openat$zero(0xffffffffffffff9c, &(0x7f00000002c0)='/dev/zero\x00', 0x20800, 0x0) ioctl$WSDISPLAYIO_DELFONT(r11, 0x8058574f, &(0x7f0000000300)={'./file0\x00', 0x7, 0x3f, 0x0, 0x0, 0x70, 0x2, 0x5, 0x3, 0x2, 0x7, 0x7fffffff}) ioctl$KDDISABIO(r11, 0x20004b3d) setsockopt$inet_opts(r11, 0x0, 0x1, &(0x7f0000000380)="6a94c9211ec809fb3764a4cb8889a697a1beb30458fbfb9a249ce2976403b087e75c3cc10ee23ae3faf5c6655c6e13626cb905b2155d8ef13ebf5d78a8d54bd1bb734362d74d6f2c1364fb1b20f3d9890071f8ca5f0b313bfb30cfad8a05f1b1ab3bfdcf464ed275401cc700627a9ab65cade3a6e35d2b6a7df7a813049abe14981d6a4e2152542b7240fbd81027ea21f5e50c6ea461d977af5810828ec6ea92ab7320f1a9d2b4926c72f3351ac75ceb535dca4d342610a35173bef988c1a56127bd97ebb603bef4eb4458e2f3b16957da13a63d03238a742714b2f72e6f55afcbbc72c9778f16cb6deeb8f37761563bacef8d0a4b1ef651d505e8745ca24c1341e935b7b4f8fb4d43a4ef37c97ba7c777653f0b72ca62c335480f516764af0c7d324e1e13219f55895802b994376585e32bffebc309133dea5738585c129e1b827f972f13cc36d483074eda6af077936574f869b59c13add06cace386067e637466755707d9ba62471aa3fd2bbb94f5afb9382c628e6d39181fbf3ac03ac51ff57d4a2e5a570670ecc6646274f3388eb2489dbd606741f0c405458b5b84c2a41a66efff5c2dbe263165dbb13d70e165f75b29cbead243ceb406a31bc42f8299e56f9820d3d4109932d88df482f620f49b6241dcc423084969e9a8aadd04c599a4706521f0e018f032ae4ceecfbcdbd1989b85e476b4ce9d9972267d059a39ffdce798b4a63d85b362062a57598d0b8cad604d92f043471271897972b15c09c8a216204bf1da404df09096a0b50cd3635be7d39d6d3e5cf46819d3fbaeeb870e28aeaac8b338ddd64c33c26ca2c76b315097a66dfb7ebeb60dafbf92707ddee1272e951632bf974b127437346c2c9d1f22286bce530274defe2ab10801dc427c52ec7a470f9d72682fdf851ca9d49d32d8fb30608be848452f493f0c38bfc4f302f6aa740bcf945554c020657e340ec21512304e0a8d68b957011366b62f228ca1f42a7019bc4883ea7b0706965ee5df47c8157c7efe3e8e91dbeb928e400bb91206b1632f184f7b8964c1b8d2c826ba7fb0de0983ca57c7494330dbb5ba4f8744b98c2eb62a473a108ca7404562868c5da735cddab7e1d72621ffb219feef334a444b0395ae373257c96c6c241bb4e4dc4953236f7b4f6761a388c40f0abc9f20ceb14b2c8409c9e2210d4b5c052734feb6b9f6e7a98ab2dc34a71f0eeedbad1a854f5a65f7cc025afce7880e17445647673907e19482cc9321c59f981b391a5270477ef0f358fd3601e34640666126a851d83e5122db5dbf6738e12e47ef1fb26f2a432cc2bdcc4c7e24aafdb0532967fb6060111f7c64c100a3a66bfd9883298b6a3828c4f0b0d4faff3f214b24d145da218dfe87f661a3aab6c8405b7ddb5c91f670d3856f2b55f53d5f85c6cfbe02afc311ca71091380cef01d3d956c40216fb03b3741f0892d25f46e4c961f46e36e847601f9f9fb41b3a86c70c7fb6bfcf6c808a1eb5013afb41582a939f38b968b2110279ef8a01bff734a71eab55854416a4304876c8116ae925881ebdb553aa5b227fffa22a23b099f13e59604031c966b60336d5decb9068b01ad1a7b880e67183f9dac093d8cd46f98e418dfe66c67b22be121e1735d2ac17bac6c7f9502260eb5bd4ce8c1170afc9232c7758ad5521a8b762ff9279082d4daa99a793fb658dd25c2eb78ca7b0c119427dc927b58fd11921fa86a8ed9f9340fd3081cbaab9559be3b9ca2eeda8602011b64c876bec022302b71ef264028c75f9cde8e56d68df282591cca9e759502751f49b9d2b4ac24cfe05ec65dd3a1346f514b58815352bebac99ffb488b408cab9d6e23c13b0dde9d334a7de37749b93eca56a6423312724607e079e2ef9b47a4c3b4f2059147ee5029761a8105dcb8461297a43409334bed0e5b4eb5c5478a4712d073200ec7d469514735322fe349e4756b2362ab516346171544840db9b8a4009c4dc5cc5a6badeed5de6106f84094b398fcbb30c08a22a730894317e5efd186680b9f63b3713b39c616cae22555599759fb73408f48013500e2d55b38a2e3c9844893c505b2421c8eedd2c662941fab6c32d9e29204f327a275feaf9f99cd2b0d236f2bf21449b1939ad9f0bdcc42687d8b70c896ff735306ceaf8e780af6a78cfd40c601d11f4416e8171d993f0026727321cd150d35ef5dc3875e76489f6ceacf810dbd8ae77eb94fd0428a80aef7c240689b5c9bdd2529ab218e2d11fa9a483203d42a8245cc760cced82cfbcc6a9273f4b45558b9c1328a9a50f6f9f5db7ed8c5a4b96f832fffe57cdbb9b5d6de3216568f923dd6624a4277e5d84fbaab70d61f58735905316829f439233b61ddf327e350ee6a924ce676f9607a42b27e69f151fd9a048ea913b29ff2a93d70bd62bd464515db71365b6952d482383aef9c5c1709acef7c6e92ed9bdbe73a4ffe440c56fbdd4550ef26cb79a736fb79378b539f4095bee6140916d328711a4539aaa225953aa8d1969954b2e3ec50fe09dd0860c2e22175a34c2e5e316253b39020ccb499a326930abde064232e2d67dcb8eecc1edfa72dde59eb9c8093861ca889a57a17667cc58321a82957458b9c12bf38fe29be8dc64e144fec49568dadd8299e0991c6acdb6196148163dba21a16246527a1d925391888905d3c85654b4133002c17637338222b4770bd6765534501f352636d307020e02ebac09f171a1152b30a32caba61e6ab4a188f80c7fe16d0f9b92b3e3e930966687cd619c0544a229efa85498812eaf8c977e67df14f413082cc0d1a7f2db86c8d99351e66aea613fe07686df20691b217fa54948b3aec4c09d9b0678b3326cd87d271e8caaf123446835fcbb765179e4d2db81843a0ae454a06d90775e198ac6437d73945e757055049ef0be3567685228997d4461c38d8b491ba4ce54322f790a7c7b84ed9d30e91d05f23d2cfd053589b3b1a60b229cbf9d06d2bb02d581efa98e72487f3199d2f01942831e0cc1cc4de65544c3439d66a640a62e5f1f14aae321aa3dbc98d8a46323caf0e1496db0feed48424d23510b50de9a24af2f272fc89fa3d155c15856a8faeff4a559acc01bde8d199b16243568734b41086d7f27a22458a4d319189c5ae0e83f800c69301b972d00e9bd323e842b4f4ccb811d074a4319c53cf815886115f4af0e177fbe3737285d8121f7c33577ac273236ebba6511e90f5692e14305ac71bfad8199dc7e84cb39a48180386441e635a6079ca3d3fd7f68800026c8b901cb478ab3d02fe38b910743584b41c5af5de8751e96321fd70d1234461442faf6fff9dd469ed7137ddc332866427add1651d0ae6d8e626810d565f9a5cccf18e0a16fc46c7add0de85372391d121fef2e3b69ed52dfa7bf640b808dc54068b030731f6efaed2aed160480bb7817b566511e4dded6e827890815ba0cc5cda8bcc746568ce139a9b53ce86d9271b4e84934d3cc5996aeab84b13757f72db004ce74ee190711dec73defde8a56456f6b1678733bc108856f13d3ed81c50cfd44f00a5282cefe35840310b96f099d175aae97f8fbb10c2a6b5a412899fe964d286652235235acfb8d336d2e58e0c3a28cd5b9906af033e82199e010d08e56bb6fe0b8ea7754459424224bcc946ca30853898aa9be13118cb9c34561fbe1a4882bc85c8e7e41904015e7692fc0c0f906a1ee017fb33c3a2f1bfe31fa77244baabaa0c9d1d8222852514df9950f60edfa7d2cb9680f794f32ce4a817ca1f7b96216bedfec70c145a508412ca86d540b50897454fed7418e73e79768aae21dfc6124cb589e3b3ad40c61db3aae20dca9855abf9f72493c0ec0e328377567af3c54b4f18bc7f1d92b52ec81e9f60a9b9494564564a33d382bccb1e8e81d9b132ef9c29ee17964852eb9845c5c162ab526184e239a3ef1a1e61dfe23b6e20f3051e3b0458e9cae555ddc4649d75ab3b012dbb5abb1a32bbfa4c49db19c02017209500d6dcde910775973f3b8c6f10a9dc0854f9b3ff5b5f8715cde673c01098c822b69797e39b7d592cfb3e0eb92f31dd967cda36483b0b53d5ab527c0687663b24c0c4e6fb11d34d616ad90c96b9f08b4841efc970f77efbecc265ebd62250f97a6b38ee7f0f2b3597f2649eb88b00a32fb37c60cc8619f6787b4ef5e4edcb3685e5b80745ecc2de0559755639bc35860673e4b2d393ca8c9367482b0a0a7c6a968ae4b60ff36b5b6ebdecb7bb9ae74b15c33e33ce5a544b8c312408d6a83dfebfd4496c88402382546a9d7ed78c9032ae46023bd2f483b6d56429c721622f072ded50579f0bbd2eb9fc33b1c247480f54a2cf5195ae634f3f96107812f51e160279a3a89daba4d8e7c027d90166846d1747675d109ba190cc887d79658b6178b057549edb2c4a43df56fff20ab0aa693dcca016279fac3f00e29f5097591996af1de1fc6c6c95da0ca8e124629594a063f11b5decab1511cf7b09db199f9f5b42474c7e70e53cd73e2fe622b41cec807fb204e389614043003326bbbd76a54926eb394447b0a01df7d7f2e0f2f0fd5ba0a3c5d00279b065d0c53c95feac01f031b18081cf55b550b1a847e17b01185c1268557b3607885e8752650382da157e6d80b13cfadb6fae9b1144ee8fabe8f307571a9859fc580bc1cde0272df86c5645fafc8b1f86a1c47cf318d4a92e2cc85dd8e7487b32ccaa3cec80aa073c3a0e5aa4bb8cd0b240197e07b4b0d8bcae675c67d0eddc712d60a4054fa8b2b399740a40357ef358ee8d28114e3fdb10ddc2fd9390f88ef64bab23c2916d13fdb6c9a5422589e10cf48904657f15fcd25a46510ad9fc2e2767e223e7c2a24479b629a039cefaeff420ad510a0778ebc27ba7af3bfa4cd9d06c51a524a3a7334de50e36164ae87e06bb6c3f3e41e0ebef543cc50022827f520475c94a54f867582b211c658ac1e1d5c611cfa9d2d34eee374a31217af1794d51a21217941d04cbfa93c84a56d58a623c1f50ebf11e8f837d4532e9e07dc313d1e82ae90728dc5be26ed8c05e60851cdb5e65372419e3637f72ca29adcf1eea12352bc41e22df2698c252428ef73ce78d3a6829a43b45ef884fd299d78ae625fdcd4aa2108a5816bb6d3ba5d3582d00f382ca4184263542e647ba0d7b0772760ec3f152d86fa10b180aaf4eea2f034c2504a8567354b55c0c0a6c7594ba37445c341f14dd920a1be95dc0f5b277a7d2004ea34ac0c308c9e7cd700797de959084ed35cf836c034c3b2cfe04dad67823144ca7a417ae57ddb723dbd72d71872a46bc4edf8fd93a0485045aa7fc8eee152d101daa6fb68efcf88f1337c3776cf7e7958cd885eb72ed4a7a917d9febd6b5258fd2f939493af04c7a45cd2de036caa53d5377a7ae9434cca4316c2d282e6331c9bf1cc9f918dab683129d9060d93681ab23a1cc22c6e553b0234bab7c25d43ac4de73a69923f783ab2ba7bdc4fec445148dcd2c27155b6ef5d083d6d16556d498df8e91a0364109c2c4563e2d55850cb550ab68b21fa1992b42b6989b8e143a8bb60926829eced375e396966662cff762f128017b91f06a67af2701656d785dda3cd3c4b64fb98245c490e28fe8d433a454f2f37377a13df20da6868a36831dadfe840e5f7de10f38bf8efc69ccc4ce370f39112aab0ea65d6500600e7e7cb44a21cef58cac954ad70e33a32bb655f850f7df4db430442698c8e132b26b8ca4399f945170aeee95f9b68cc978bc4307cab475a06c961fff839090b5ace6f237e57b9458929ee97192a453eead", 0x1000) r12 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000001380)='/dev/ttyCcfg\x00', 0x20082, 0x0) msgget$private(0x0, 0x0) setsockopt$inet6_MRT6_ADD_MIF(r11, 0x29, 0x66, &(0x7f00000013c0)={0x0, 0x1, 0xfff, 0x6348, 0x1}, 0xc) ioctl$WSDISPLAYIO_GETSCREENTYPE(r12, 0xc028575d, &(0x7f0000001400)={0xe2d0, 0x400, './file0\x00', 0x1, 0x3, 0x87c3, 0x508000000000000}) kqueue() r13 = openat$zero(0xffffffffffffff9c, &(0x7f0000001440)='/dev/zero\x00', 0x20002, 0x0) ioctl$BIOCSDLT(r13, 0x8004427a, &(0x7f0000001480)=0x5) syz_extract_tcp_res(&(0x7f00000014c0), 0x78f, 0x8000) ioctl$WSDISPLAYIO_GETSCREENTYPE(r12, 0xc028575d, &(0x7f0000001500)={0x6, 0x4, './file0\x00', 0x10000, 0x0, 0x6600000000000000, 0xfffffffffffffff7}) writev(r12, &(0x7f0000001580)=[{&(0x7f0000001540)="ccc1aa4afdb7a39b9bb8a3", 0xb}], 0x1) setgroups(0x3, &(0x7f00000015c0)=[r3, r2, r1]) symlinkat(&(0x7f0000001600)='./file0\x00', r11, &(0x7f0000001640)='./file0\x00') openat$null(0xffffffffffffff9c, &(0x7f0000001680)='/dev/null\x00', 0x400, 0x0) 13:46:14 executing program 0: r0 = semget(0x0, 0x1, 0x20) semctl$GETALL(r0, 0x0, 0x6, &(0x7f0000000000)=""/19) r1 = getpgrp() semctl$GETPID(r0, 0x6, 0x4, &(0x7f0000000040)=""/98) semctl$SETVAL(r0, 0x7, 0x8, &(0x7f00000000c0)=0x5) semop(r0, &(0x7f0000000100)=[{0x1, 0x7, 0x1800}, {0x3, 0x2, 0x800}, {0x4, 0x4, 0x1000}, {0x2, 0x4, 0x800}, {0x2, 0x6, 0xcb89e0e83d5573db}, {0x0, 0x9, 0x800}, {0x0, 0x3, 0x1800}], 0x7) r2 = socket$inet(0x2, 0x0, 0x1c0) getsockopt$SO_PEERCRED(r2, 0xffff, 0x1022, &(0x7f0000000140)={0x0, 0x0, 0x0}, 0xc) r6 = msgget(0x1, 0x2) msgctl$IPC_SET(r6, 0x1, &(0x7f0000000180)={{0x400, r4, r5, r4, r5, 0x7a77a3d5f8155207, 0x2d800000}, 0x80, 0x5, r3, r1, 0x9, 0x6, 0xfff, 0x5}) r7 = shmget$private(0x0, 0x3000, 0x30, &(0x7f0000ffc000/0x3000)=nil) shmctl$SHM_UNLOCK(r7, 0x4) semctl$GETNCNT(r0, 0x7, 0x3, &(0x7f0000000200)=""/126) r8 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000280)='/dev/wsmouse\x00', 0x80, 0x0) msgctl$IPC_SET(r6, 0x1, &(0x7f00000002c0)={{0x2805, r4, r5, r4, r5, 0x10, 0xff}, 0x3, 0x4, r1, r3, 0x1f, 0x100, 0x8001, 0x7fffffff}) r9 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000340)='/dev/wsmouse\x00', 0x410, 0x0) r10 = accept$inet6(0xffffffffffffff9c, &(0x7f0000000380), &(0x7f00000003c0)=0xc) getsockname$inet6(r10, &(0x7f0000000400), &(0x7f0000000440)=0xc) bind$inet(r2, &(0x7f0000000480)={0x2, 0x1}, 0xc) msgsnd(r6, &(0x7f00000004c0)={0x1, "5e7fb3285e18e5e6fc091c1788f2ead3fe8baf098b1d9d021d1b078d24a5fb80d70bf7e8519a3db7f34680768c93f7aadc642df8f4e45efc9d93b84525a217b7c9394a55d8470f"}, 0x4f, 0x800) pwritev(r9, &(0x7f0000001740)=[{&(0x7f0000000540)="09aa41fd630e4c684eef79d955a07ab1ed1ceff152f4396516fda67250dd6be42d718e1854e48f5fb7ef252ba02ba806776628cdcab8bfbde8b6ce63cd1857393486022c419b46473831c4e2049ea503b4dc3d26b881ca62b0fc2a6b0526a20c05c6e3b53b8a09625b1eb56e95cbdc638b0e04bc4c4b0db872411914f97fb5116b3f96ec84235103c9a5cc2ff101e23f976ff3ea03f9193a198db1d0b209d5585045b9f6f4902b8ad3852a552c01b62d6da5fb89c007568c2f6de209", 0xbc}, {&(0x7f0000000600)="3227d249700883c1e65be0f1179c74be06a6a104ae682c367eca87a5b58b235bf60ad7dbaeb2109e519770c056e82558518cfde68e4355628aad887f9bd3aedc488acab2e2bf99033ae006bcdf699291176d8df0ecc38941f1346d9c3ac3a22849fefb79314310", 0x67}, {&(0x7f0000000680)}, {&(0x7f00000006c0)="c800746a67162b85a0b49a18a3ef3e5295d59dc2846d85097732fca77c40234fdf21f2ba97570c58b3e2dd31b80eda52756f78d980944b758a378466fb88d5ec8ce32ebbbfc9d16f4a38fa91d53d407e3e2e7caa64487967813667b1979e91239d693ccaeba0f19bccc9c4496fc03b8fc5d3e7811dccd5a19292da510576d3b1727e43bd8e3aabdb7a14910932bc5a4b35d17b2288ad15d1f1cd157210c58efccefa36118d06649cd940eac7d6b7083f863a53c9b02632f8969f4a41cba28ce32aa734a80c44309743578d44deab2ddb34d8169d69d35c65416bb47b70948488b7eb36cf325ec83e92c92520d7e223d8e7f7b73713ee65fbe3abdadb2feb60e3ba392ebc40a8d7de5e3c04b4ba67cfe05b0e2617811edf65cff58de1278083e5f9b6ee5b2b159bf07643c012ebf5de2dadccdefc64d9546f67004b2b2131e72ff2ef2166f56f859d6ac39d9b64a1fa26c9f8c85b2d4ee12653da97b280fa69e1aae634f3118d15432040f4506766025e3cf5a27051edcc32361211fc7a34a3402d6ad69b5e5af38d235df48a4e2fe2d8d8158b498372efe7668476ec27e82af017123506318d6a611dfe8588b32ada877b830ba25024f3e9c02b43b46da3e6f940687aea38a41036f1afda64cf7d723eecff0084edc53a25286ee261ca090059dcea068442655d1c6c97f8e3e9529ddd971f1d5ea17bced1c153b08101c8fac04ca5fe5dd8179ccd27192aa463d4a1ec06163039931c5789eefd8d9c257bbeb805b35fb21467ac23ba32803a6aa71b5693d5ff7925def75b8a797da119a7d547c03ee44b8954c518f8a8f27f99bd6caad21b391f616fa0c8ae3a1f09cdb144c3263e62307258d482daedf23ba2be4cfeb647a8b86096968c751ce770908bb5e2802faf3ac75d4680151444c90b558618afa6435630a9d07ec5a8c3f013241c6fbc06d04b1255e13a1f60154b2a6766691e93bc9a4eaaf5eb9785b01c27444d77f1b84ef74241bfbfb38474b374a832abcd27ea97b70d45a3c8cc01e0dba22fe5bd30bc8fbf99a0b539b978141e2454362b580c8e3257374ee9820a09a9774f6bd7ce30ab640618a711ab1b8638090781fba06eae840b0f326d725bf646efb7cb943abe3c7dc3b49be07c416c475256f2901c50c98670cded8f6eadf1cfef30d342caa531d7ee1d8925af9a54843d80bc3f7775f73aef50a9c3d284216af9a027e300d77ac8384dff05b3efda709d919fd14d55e44e52bda37867cf1abc25a445b5a5a2d4cdfb870cd0362fd3666fb862ae5e2b14131cccae80604065fbf2847908d10c38c6b6473a42634327920e4ae6678562fe99f47b3515b7139546934811505286cd2764ee152b8cd6178229a38a6c94289fe50f74f5d1c481eee718e96015a3c348f2ab9b6800bd57500fbd7b07fa48794001af800639b0a59ffc49146c49605f3d1b9cb9544d6f0bbe3383ffcbefe37081cf57efd9d3555f89291e0348e9758ba752954100e247d72b74b92da4ca94bfab01b8e9dc09c2de0c7548ac33dd96a0932fe38d3a85875296446ccdc7f25f2847ada6bfdeddd5309b1d7efecc623dd44e0ed7bd78c3ee76e7f50be6a73d133a6a961fc23cfc925014562f55965230ff6a4cfb7578d6f8a23ac1d87c371bb41fc7b3c55711854dd7497a3cb678a192aab569d934c55773dfd923679c579441f06ea7677ef675616c11d8d6d17125cab5d4566d76562307f2b5549292ff58f90ae664bdf0643113fd67a2380c23ba1ccef0fc2c908a0a168e8c436e31990758faf3f2c2296111c4ad6b742c2c370ecb938b95e3ea9f674efcd00663b232ff05fbaee8108850dafd8c320281fbf0833edbb3c38e17a25e4708d4325ccad06fd40d42b598380acde427b2cda39eead486247f44a26d229681d7fc31ca7fd78cea24d2eb663277bc8f90fb0e93d8a596230b8d4dc64ed18af95c68a42500f96dd1eb595a1e092aeb1ee5bdd7add67ae1fc50b82e4bbaa3b93efe9766ad21e6b3a3fa85db19e804e783e9712af1abbe02c1e6f7b5d04f7cc01fa25c86faf9f5f0178ae4a5b982f897db944ad3c48f80586bbbb8a7f56684aa643cddaf6a75a3be7aae04271411eebdf322afdbf8d847a4fbcdd8e2ebc9c09a61e664d65b9abb82e530e20cc9da11eb4a7c897fc8e7396a1391c1aa3afd6bc455eb3f79bf1294bc71c92d7f1119ff577be442634f74028586d32212d625b4ddb0140f5ca60b6884abddc0c33884e966df36efed1bbddf73331dffee510139c72434377048ab99334ec6252ec5a9a7d23c21d3454536c838eb28406fa4bb7fe6c84dc37f0d5ec88807a4dae53c9f2126ea828587a76dea6ef8783eee9c1fec72c34959770452a00fa1a851711728c466974a74e012e1ff7c5437296968536e8c391a2edef7b99d1e2a08939d75af2d51f1bbbfdb84c75b33c46598bc623245e60ec38a55ba6bcd9492d552d869326216fa78920d0501c8d3bee5faff9c8ce7e7602ee4875730f4fcc3c3819d3afc4f0e72aa61a08cd43c4e2c9b99bc408e3184cb249ff11c207b7b5a823828283072cd3167c4164b30375e7246209bf6673d074a3039d5f64eccfb8f6d37df033a57c7da17b74768c9c584539bdaed53c28efff46c7a5d1eb4c4386e270fc218b212fd758fa9649c80ba64c7da5c09196511f5cf0c2836f77835ce349a1050f7f5957c72fa50447afee10664ba6868fcdffd682ebeb4e25177ddbe7b3b2ed727a6ecd19a7617fd15ef27273320edf4de3abe463d937b3e5fea6de9a126228f9bdf10fe1c3528c1b69c50c029b85559eb463926ad5960e5db7d352c1f1ec0b7c68c1e64cccc9a382c354dc9e44b049e920deba11592de3f2febb46cce44c014e8a1736bd1d258d6321532b5e2bb7851edb6bd6fb0ce315c9982c453d81141533e38260d1815f863809c78e73713292d8faddad60a0f162f8ceeefb20c766d34ade425302af90b31ad3df3c8c9684f23a9c4d5b9ae3eed13e1234cabb436a8a4c764add97b7eeb4345581ed8c92fd14abf847667e9b5096876313d2b2ef4596d2319bc8cda117077abfafdbba156ace776abd246918156f750e2828de3257ea0ede546dd9f1eabcfa031eb10db7b297fd8606e1106d2e660a9af2375ee594fb29d860cfa6711d9c17428235911e196c64a1ac6d94ce0b435207f255765039e92f90d6c23a933e10752c5ec2da55d0c5cd6b2ffe1ae26439f8acc44ee7136bc1bc6577382eb8a72f1202e6808a3f7ae2968572dad85ffb05090d0345dbd7658ee001a08ae2a70aab524f5b689b971cda385841f34d0a36bb2cf4d310bbc8aec925ff2c3d54e9d1c1b3054c2ae9707760ac195cb865f0e806362a23ab78b4b058a1ff9d2486310df7ae71d7178474ef2e833f9e978fd1b700763c0d3795a0158fa7a3152a7ceaecb5499ae8faf724e9050d5602006bd13e666c678f68d28d935af22ce73ad5d48c9bfc11667d629be12d1637ce53b49197cca8464695a37eb3d4231eb5ee4a0af3683e06313ea4f4a636917ae7cdc068f48d13aaaf657f322328dbbe09739d39d252f3302858911cd6c9a71f7769ae25d16337f30836868d4343303c2839957c623588fb1f4780f5e2a9b55849db11667c8d2dc8e17092fc687490879554ae3aec167ece0915d1513d044343a40b5088b5585335922d5a779289330a3e9eb006bdb97e71c171656c1287e9f4b93d9672ddc4b07e4c190f2581b5fab35009c58b8e4b37894571c72049cf340dc688317946c79fdac71498a88a131215906028ef57ff1a4dba70b8c832fe7a755075cb7e5dd574288609c26df833d34fa914b00c84594a4b940c0f578fcdf74f88721ec4b5caae20dc21c0cd162da36105561b9355cc122a23d328a0935fcc6a8524799aa18adb41d8f41dfa9b88682d33a56ed7707f3cb386697ad9f09a9398e2628bb2a947612b69069ae8f6e5980b8d415b98e2db6646b405fe392530d9472d4896b3d26cc07b227e2d25f10c821627e05c2ef283dfaffe728ebc58cd264cf52a12b97e3e1e71237f661b3a6c951a15ee9e9e992a84b2086c832b4d6fe462f849811440a65642c0b884c13ddeed613ce7f63d91efd796fed6587a08184b6d9e3869b09087483acf21593cbf29d0d488a93f4c14a916eb3352abb572c27b6408ed7a5f9a84e3fd6e6649578168fda6a2a56f9d3010dac0436f8a49ce945d20081f059802ca736de71cb0bfb021cd84740eb31cbc543c854850a6affba95d31f89537c293dc081f51b9734e203af2e195021f665feb15b44cd019070f98ee7a3daf769d4ddce6bc2c58f71e34f2c77ac3b847184ea558c7a8db927c161d1d566f31e2f3558b11acdc5784a20d484f8f2567539a1c107301b9d762c36c828779d3e85950ac063e8f057db4b1e5348b2fc08253f50c717e36c9c49c4cd4e18c0c73c4047ff1c12d8ce88ef9c67e7d9c1cac8dc5e359d991758a51ae777af327274c4e4e62bacfa8c90791c2b0fea89fd0c24c6345c71f555140a0729630f27d84efe921e49467eea9188dda3e3eb5cca9f2c8f4280908f6a56ec3d25bdf7b6da6d449283d61e08f26e952950c0fc957ad39cd9a83e34a53c8efbe3cfa8ee43f941ca577f9e44c2ef399e10920b30dceed9221849fc1ae29b2900a81b63caaa0535750706d3bd403abce1f3e013ad2e8978eedac0af688288ab82bb076dc2c424ffcd28cfcd2fcc624e96998b8a9b98e22bc7ad538cf67a5358004f827f1d9b2c4a3af01f514e7624bf5d7d20e5bc4bfbb1f42cfc9dfd8c9b4e88047a54c78cd7d925c350d3c6dace74d54ad93327cfd095ddf5ce74b5807e192e6b81ef747b4c9554331a8402a44c3e3a777af73fd095f17986d40f69a6fa73b964e2b8e14f584fae4f5e183e58078c0b6bbbcf2c60c83637e77cb1f1919e7159bb9179e2318b4f373ed34ce6f5bc75df385003accec9a8eda76ba2d49778dfd31dcad244b26e5e5938e3b1b3b8522ea38eaec246fb8c84d5be18ca2fb37625635967be32e61d7db1c711f14a5ab8828e962132f3a415308c6fda07e1694571b48590ca597f2e0a69475bec569f61f9778eb60a8a9b0b64eafff39411f721e8580099461f6eb86c7e44d6914c78706ff03432852f4bb47c6c30551d03a9baf1c1eeed1a74a4eed6a95d00da6b684f60ddf9e8ca803f39135d96473a2953545b2dfd0b3a04fd35c3b30c2a2626d04e4391788c56746c6ea20a8dd5db8c32c0e9b567ad4220b76ed4760f9095735197514e05833501934c6175eda0253021c4a3d5d0390ae7ed2804777fe699c4ca602660f5237953a4fb542b957470e6fd4d6190c6b0ff351e428d8dd4d3179d6028f1fcfe2cb55c41bf92248e9455a608cc5c36cdf2bee91e4a8a17f4085f481945fe02073d531bfd86490cf347a281b5b0a4bfb45418e8cd125ac21045f810d4d8da9b05458c5fd353cae411868f92932d5cdc4636a54e83dcd5bb6a9d38570131bff8eb0cc9220e48da84c740f173e8a170170b98fc3034812a847204125e3e669be5a1019b48fd1cdcb06a0c695cf314d21ce567ab8ea43f073b2c6476078ca2eaf5b987a6d3e628fc70079820a179284e9313f7a9f2a1b7a8922adf2451b0f21e67d64d6a8d1c69620073ac8e220ea02056c9594bc2d86c7124c5c16700fe959aeeae0361d9b88305fa45f49c1942e38f91e2e597f49f3a5088451a7615323c87d80abef0d0cb0fbc1362e43cbe98d4e255deb60d04b4916de282a6d3adae94d8c8f29c1f1eb155827293a5faf1e68b9eba", 0x1000}, {&(0x7f00000016c0)="84a64dbd88df402e973d2a8fdd10b700e7b17600012eb31a9088b3abf765d78a", 0x20}, {&(0x7f0000001700)="ac02c7c23947e4c1d1eb8b087ca1da07b194d434cceccd27951960aa3fb03f8bf9a196b98b4b2b6a3007383d8ba146650e", 0x31}], 0x6, 0x0, 0x0) r11 = dup2(r8, r8) ioctl$WSDISPLAYIO_SMODE(r11, 0x8004574c, &(0x7f00000017c0)=0x2) r12 = socket$inet(0x2, 0x8000, 0x20) write(r12, &(0x7f0000001800)="47e3ce0ba2b30c54f0c10e7cf212c0014e17f6716f7d1a3f94da8afcebc9086b00eaba545ac397fae9075f0e7c3611246c1a6c688674071e395904634245dd5d21a6a8d51cf1ee864ddea73f9f86cba4f8578e55ea23e7d914b7a15016065a82a8d6f472526aa802fc840d47b6cc01582c6ac4520deb94dd0dd4c480fa7953fc50262be59ebb568e10ed1e293e04d4d446507ab979b0a9231a33ccfe61563b971c69411440f89ede49f19beb651ea69c337de631cc2a9c57b3c63d368998ece9383a40fcd02ae45b512659b4a0271edf568aba547e4a206702cc2e6e41eb97aa9ce9f6361ac9d197", 0xe8) semget$private(0x0, 0x4, 0x6a6) r13 = open(&(0x7f0000001900)='./file0\x00', 0x200, 0x8) ioctl$WSMOUSEIO_GCALIBCOORDS(r13, 0x41205725, &(0x7f0000001940)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10}) msgctl$IPC_RMID(r6, 0x0) semget(0x3, 0x3, 0x6) 13:46:14 executing program 1: mknod(&(0x7f0000000100)='./bus\x00', 0x3a0914c44f7b202e, 0x1b00) r0 = open(&(0x7f0000000040)='./bus\x00', 0x400000003fd, 0x0) writev(r0, &(0x7f0000000180)=[{&(0x7f0000000340)="5f12e03994a9d74ec783d06d6c", 0xd}], 0x1) open$dir(&(0x7f0000000000)='./bus\x00', 0x11, 0x7) 13:46:14 executing program 0: readlink(&(0x7f00000002c0)='./file1\x00', 0x0, 0xffffffffffffff79) r0 = getpid() r1 = getpgid(0xffffffffffffffff) setpgid(r0, r1) writev(0xffffffffffffffff, &(0x7f0000000000)=[{&(0x7f00000000c0), 0xfffffcf0}], 0x3c1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) mkdir(&(0x7f0000000000)='./file0\x00', 0x0) unveil(&(0x7f0000000000)='./file1\x00', &(0x7f0000001580)='c\x00') 13:46:14 executing program 0: pipe2(&(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) r2 = syz_open_pts() writev(r1, &(0x7f0000000000)=[{&(0x7f00000000c0)="e1", 0x1}], 0x1) dup2(r1, r2) fcntl$getflags(r0, 0x0) setrlimit(0x8, &(0x7f0000000080)) execve(0x0, 0x0, 0x0) 13:46:14 executing program 0: r0 = open(&(0x7f0000000140)='./file0\x00', 0x400, 0x8) openat$bpf(0xffffffffffffff9c, &(0x7f0000000280)='/dev/bpf\x00', 0x20, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f00000001c0)={0x8, &(0x7f0000000180)=[{0x6aa5, 0x8, 0x3, 0x79c}, {0x5, 0x2, 0x400, 0x3}, {0x435b5f48, 0xee40000000000000, 0x6, 0x8001}, {0x8, 0x1ff, 0x8, 0x4}, {0x4, 0x4, 0xeb}, {0x1, 0x8, 0x8, 0x1000}, {0x2, 0xfff, 0x4, 0xffff}, {0xffff, 0x200000000000, 0x5, 0x3}]}) ioctl$TIOCSFLAGS(r0, 0x8004745c, &(0x7f00000002c0)=0xfffffffffffffff9) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000200)='/dev/bpf\x00', 0x0, 0x0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x45}, {0x87}, {0x6}]}) ioctl$BIOCGDLTLIST(r1, 0xc010427b, &(0x7f0000000100)={0x5, &(0x7f00000000c0)=[0x9, 0x3, 0x8, 0x10001, 0x2]}) openat$bpf(0xffffffffffffff9c, &(0x7f0000000300)='/dev/bpf\x00', 0x20000, 0x0) symlink(&(0x7f0000000240)='./file0\x00', &(0x7f0000000380)='./file0\x00') ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000040)={'tap', 0x0}) syz_emit_ethernet(0xe667b4c9e518799a, &(0x7f0000000340)="db") 13:46:15 executing program 1: r0 = socket(0x18, 0x1, 0x0) r1 = kqueue() setsockopt(r0, 0x3f, 0x7fffffff, &(0x7f0000000080)="30fc1601fe1b4bdfcf47b29cc17f13848ffacbdc0712b8978b31684e38af016cab8cbf6428daf66e4efd2ce2bcce74368c979204972db8bc79a1d90f10c0d757173e5e0324360ded955dd5cdeb1429c53f959b91a7a94e8b38cb4f882cae98243b0e3cd0fd182659937e3e0acf561d0f20cfad53baa090fe1fb7f120c83ad35e2810b0b4eca722b4b0b82adbb69cae50931f305cf78e8e2c1af8bb0a1f3d27eaf64b619c785e16827e36cd22d922fbfa2f066b089fe881f5cf07f0aba8dbbacd80b88a77cf54b9971927e1fbfbffddcc9831bbf83ad6f237", 0xd8) kevent(r1, &(0x7f0000000000)=[{{r0}, 0xffffffffffbffffe, 0x2f}], 0x100000001, 0x0, 0x0, 0x0) ioctl$FIONREAD(r1, 0x4004667f, &(0x7f0000000040)) 13:46:15 executing program 0: setrlimit(0x8, &(0x7f0000000000)={0x7, 0x95}) r0 = syz_open_pts() open$dir(&(0x7f0000000040)='./file0\x00', 0x200, 0x100) close(r0) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) r1 = syz_open_pts() writev(r0, &(0x7f0000002a00)=[{&(0x7f0000000440), 0xff52}], 0x1) syz_open_pts() pipe2(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10004) open$dir(&(0x7f0000000200)='./file0\x00', 0x0, 0x10) recvfrom$unix(r2, &(0x7f0000000100)=""/204, 0xcc, 0x1, &(0x7f0000000340)=ANY=[@ANYBLOB="ce882e2f66696c65300043efa6624d8108624fe48b880018b1e8a34a579c7ccbc81c702f008d9878f1b248274cbe27a983c0683bd791e9542c4c87aebece5af019593f2136a17a14ad199fce6ee25c18a17dd257a2ec8134a4bb77c0b85dc2832582a20ec8f1bb2baf90a02f0bf39a34d0600e126aa49a78d6a3ce3688d47d013b7fccc3dcbfa24bf0a504081a8ca3f6664da5e78534ce36708bb46c62536cb62ffa2297efeded36c1f7af29287975ced0145ec4cc7aa8e0313930e3af2a8eea4aaa59406fbdfc9afc0bce642525630258102cded8ce643b8aeac2b4822dadab228eecf6bb2b41a848683b4288a10bc33b5cad0acbe9141aad3f9037479adbfbe6179ae0e107"], 0xa) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000080)={0x0, 0xffbffffffffff801, 0x100000000000802, 0x4, "925475447dc50f479a8933ec72545f0a765e2ba4"}) read(r1, &(0x7f0000000540)=""/226, 0xe2) writev(r0, &(0x7f0000000480)=[{&(0x7f0000000640)="b20a", 0x2}], 0x1) 13:46:15 executing program 0: setrlimit(0x8, &(0x7f00000000c0)={0x9, 0x7ff}) r0 = syz_open_pts() close(r0) r1 = syz_open_pts() poll(&(0x7f0000000040)=[{r1, 0xe3}], 0x1, 0x8ae0) ioctl$TIOCSETAW(r0, 0x80047469, &(0x7f0000001780)={0x34, 0x0, 0x0, 0x0, "1ffbffa6163cb90277925f1be62c36ae61dba648"}) fcntl$setstatus(r0, 0x4, 0xc4) ioctl$TIOCMBIS(r1, 0x8004746c, &(0x7f0000000000)=0x3) socket(0x6, 0x8000, 0x3) writev(r0, &(0x7f0000000500)=[{0x0}], 0x1) 13:46:15 executing program 1: mknod(&(0x7f0000000000)='./bus\x00', 0x2080002002, 0x40004000000028ab) r0 = open(&(0x7f0000000400)='./bus\x00', 0x200000001, 0x59) writev(r0, &(0x7f0000000040)=[{&(0x7f0000000080)='\x00\x00\x00!', 0x4}], 0x1) 13:46:15 executing program 1: setrlimit(0x4, &(0x7f0000000140)={0x7, 0x100000}) r0 = open$dir(&(0x7f00000000c0)='./file0\x00', 0x11, 0x10) fcntl$setflags(r0, 0x2, 0x1) syz_open_pts() flock(r0, 0x5) r1 = getpgid(0xffffffffffffffff) fcntl$lock(r0, 0xf, &(0x7f0000000100)={0x2, 0x1, 0xab3, 0x3, r1}) r2 = syz_open_pts() close(r2) r3 = syz_open_pts() ioctl$TIOCSETA(r3, 0x802c7414, &(0x7f0000000000)={0xfffffffffffffffd, 0x0, 0x3ff, 0xfffffffffffffffa, "73cc5160527b0100e534840c76f3000700"}) socketpair(0x20, 0x8000, 0x7, &(0x7f0000000080)) writev(r2, &(0x7f0000000300), 0x0) 13:46:15 executing program 0: r0 = socket(0x11, 0x3, 0x0) sendmsg(r0, &(0x7f00000005c0)={&(0x7f0000000000)=@in={0x2, 0x2}, 0xc, &(0x7f0000000400)=[{&(0x7f0000000040)="fa251c27d1583e04bb6cb386c7daf31a94832ab735fe06fc42b90fbb898330a793d3ee806477d3a181dc2c4075607f5c91cb74be61859c61226be0f98519d8056859655e4b899307e37a3cdadb98f8ab20a4a12dc70d4207e71754496b0db1d166042fd3da94ef44da592499f8b952054a7a6194e0e07b4e24b8fbdffde95327bd39efe55df432a2b5615be04c7486d4971f40cd34b252341a8039cba3c99d6823057d8cffe9e04b995ef95e9a5227fbde35bf04", 0xb4}, {&(0x7f0000000100)="59137e740412f0a7d7443c7b2282a0ecb7ca5ce2862d7d92671b26bb9b53df0d742c02780d19c44a2cf0dfeff3e874ba2676a457c9db96b9de3b0975d99694df8323b0e9133566312a9a90566eb50ffef62902a5d1b097769965c3f676a929cc7df195b0a32c2a277523f6d30f42bdff1fad2b5c5a122500fc70af431e81f10f4c923324548d348829e05233af96f36ef08e6ff38eb85374c81fc29987", 0x9d}, {&(0x7f00000001c0)="a8b5fc", 0x3}, {&(0x7f0000000200)="bdf4114c9e76f8cfb38f77aca28e1501c8cf35f7e9a73e9ccb4f1af46bfa53a5eb5387d5aa8873ff857bf325c7863267d26755633d06b2c21c967d935b6664fbd9177c3be5c42852", 0x48}, {&(0x7f0000000280)="a4a634a52df63554981e27147cecd7170d910d238713c7f6ccf29483d1cbcb7d8b4cae57b43c7e9221ef96bc913f9d86b4d62a46ab53e194bf2b529973224449fe17c52d8f4771f54e7fcbe5ae14b5636edee099517ca27c1a98b680a480a9f9316240215acf412d10b22b3650bc7f9e6980506d08a1413fef9d4be54864eecaaff0e620aaa305e0", 0x88}, {&(0x7f0000000340)="be4f061ed0ec016ad19f51d4ebc7af7cac40c41908e0c999c760bec168d96a6976ff879ed51bbf5444adcb076eed3ce96bdfd3f1bf146883e1e53cd889957755abf7d6afd130bc5e189831706309e66a0cb6706cd1f721ac70b42448e5524a69eaf99be69d5f05c10b4b40d7d0aec89c513c56247af8d03641fcf4843820dc128b369571689ff9ef9fb3dfc89c59c8f202a96b31", 0x94}], 0x6, &(0x7f0000000480)=[{0x40, 0x0, 0x9, "8774644c19f036862cac4107643ccc10d5f3b0c3e253e80fb777ba322779b400f9874cc5565fc937e268f72daf94"}, {0xc8, 0xffff, 0x94cb, "d99c07a341dabd78a567521102a786698bd4add73c744afb4b067eeb9a095d65ab389fc456d81bcd28fd00e5f5d0f6bf72ce7c32092c947544cb4668583010f43d8813411f473db8cadccf2d92e85cf92fd91e86fe7dc8d7c19005db24646d32e4b39295ab51e354c40cb00b0db1fb8068879869f6f55dfd8d17713d982de0134c05ebfec6bdff051b7539a43d4d283886faffde688c750d5394795fc009f792484f313e40fed97712db7ffff106d1d797d5"}, {0x18, 0xffff, 0x814, "8ecdf986251d"}], 0x120}, 0x8) 13:46:15 executing program 0: r0 = socket$unix(0x1, 0x5, 0x0) r1 = fcntl$dupfd(r0, 0x0, r0) ioctl$BIOCSRSIG(r1, 0x80044272, &(0x7f0000000000)=0x9) utimes(0x0, &(0x7f00000000c0)={{0x862, 0x4}, {0x8000002e, 0x20004000}}) geteuid() syz_open_pts() ioctl$TIOCFLUSH(r1, 0xc028698d, &(0x7f00000000c0)) syz_open_pts() 13:46:15 executing program 1: r0 = socket(0x2, 0x10000000000003, 0x0) getsockname$unix(r0, &(0x7f0000000000)=@abs, &(0x7f0000000040)=0x8) connect$unix(r0, &(0x7f0000000000)=ANY=[], 0x0) write(r0, &(0x7f00000000c0)="1a5c7b8183010500", 0xfffffffffffffe27) 13:46:15 executing program 0: mknod(&(0x7f0000000000)='./bus\x00', 0x80002007, 0x5dc6) r0 = open(&(0x7f0000000180)='./bus\x00', 0xfffffffffffffffc, 0x1) ioctl$TIOCFLUSH(r0, 0x800c745b, &(0x7f0000000080)) 13:46:15 executing program 1: socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)={0xffffffffffffffff}) setsockopt$sock_timeval(r0, 0xffff, 0x1006, 0x0, 0x0) pipe(&(0x7f0000000040)={0xffffffffffffffff}) ioctl$WSDISPLAYIO_GMODE(r1, 0x4004574b, &(0x7f0000000080)) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f00000000c0)={0x0, 0x0, 0x0}, &(0x7f0000000100)=0xc) r3 = getegid() getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000140)={0x0, 0x0, 0x0}, 0xc) r5 = getegid() getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000180)={0x0, 0x0, 0x0}, 0xc) setgroups(0x5, &(0x7f00000001c0)=[r2, r3, r4, r5, r6]) 13:46:15 executing program 1: r0 = dup2(0xffffffffffffffff, 0xffffffffffffffff) mkdirat(r0, &(0x7f0000000200)='./bus/file0\x00', 0x10) mknod(&(0x7f0000000ffa)='./bus\x00', 0x1000, 0x0) r1 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000000)='/dev/diskmap\x00', 0x0, 0x0) r2 = openat$vmm(0xffffffffffffff9c, &(0x7f0000000140)='/dev/vmm\x00', 0x1, 0x0) connect$unix(r0, &(0x7f0000000380)=@file={0x0, './file0\x00'}, 0xa) ioctl$DIOCMAP(r1, 0xc0106477, &(0x7f0000000100)={&(0x7f0000000040)='./bus\x00', r2}) fcntl$dupfd(r1, 0x5, r2) r3 = dup2(r1, r2) select(0x40, &(0x7f0000000080)={0x80, 0x40, 0x8, 0x29, 0x2, 0xfff, 0x3, 0x1}, &(0x7f00000000c0)={0x9a, 0x1000, 0x3, 0x8, 0x4, 0xfffffffffffffffe, 0x2, 0x1ff}, &(0x7f0000000180)={0x401, 0xf1b7, 0x2, 0x3, 0xfffffffffffffffd, 0x8, 0x4, 0x3e}, &(0x7f00000001c0)={0x9562, 0x5}) mkdirat(r3, &(0x7f0000000400)='./file0\x00', 0x82) r4 = open(&(0x7f00000003c0)='./bus\x00', 0x22, 0x0) chroot(&(0x7f0000000480)='./file0\x00') fchmodat(r4, &(0x7f0000000440)='./bus\x00', 0x20, 0x6) select(0x40, &(0x7f0000000240)={0x7fffffff, 0x5, 0xffffffffffffffff, 0x6, 0x80000000, 0x3, 0x1, 0x1e}, &(0x7f0000000280)={0x1, 0x6, 0x6e, 0x200, 0x80000000, 0xffffffffffffff0a, 0x6, 0x2}, &(0x7f00000002c0)={0x1, 0x7, 0xfffffffffffffffd, 0xe9d, 0xffffffff, 0x8, 0x401, 0x7}, &(0x7f0000000300)={0x200, 0xfff}) 13:46:15 executing program 0: r0 = socket$inet(0x2, 0xc001, 0x0) getsockopt$inet_opts(r0, 0x0, 0x2000000000021, 0x0, 0x0) r1 = open(&(0x7f0000000000)='./file0\x00', 0x0, 0xc0) ioctl$TIOCEXCL(r1, 0x2000740d) 13:46:15 executing program 0: r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000300)='/dev/bpf\x00', 0x0, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000040)=[{0x74}, {0x24}, {0x6}]}) ioctl$BIOCLOCK(r0, 0x20004276) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) syz_emit_ethernet(0x1, &(0x7f0000000340)="b6") login: vrele: bad writecount: 0xfffffd8039825e50, type VFIFO, use 0, write 1, hold 0, tag VT_UFS, ino 1449, on dev 4, 0 flags 0x100, effnlink 1, nlink 1 mode 010000, owner 0, group 0, size 0, fifo with 0 readers and 1 writers panic: vrele: v_writecount != 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *441003 26504 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 panic() at panic+0x15c vrele(fffffd8039825e50) at vrele+0x188 diskmapioctl(5a00,c0106477,ffff800015bd4d60,1,ffff8000ffff9b30) at diskmapioctl+0x2a8 VOP_IOCTL(fffffd80374124b8,c0106477,ffff800015bd4d60,1,fffffd803f7c6960,ffff8000ffff9b30) at VOP_IOCTL+0x88 vn_ioctl(fffffd802f879e98,c0106477,ffff800015bd4d60,ffff8000ffff9b30) at vn_ioctl+0xb6 sys_ioctl(ffff8000ffff9b30,ffff800015bd4e78,ffff800015bd4ee0) at sys_ioctl+0x5b8 syscall(ffff800015bd4f40) at syscall+0x508 Xsyscall(6,0,ffffffffffffff1f,0,3,b91b93e1010) at Xsyscall+0x128 end of kernel end trace frame: 0xb9465d61700, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic vrele: v_writecount != 0 ddb> trace db_enter() at db_enter+0x18 panic() at panic+0x15c vrele(fffffd8039825e50) at vrele+0x188 diskmapioctl(5a00,c0106477,ffff800015bd4d60,1,ffff8000ffff9b30) at diskmapioctl+0x2a8 VOP_IOCTL(fffffd80374124b8,c0106477,ffff800015bd4d60,1,fffffd803f7c6960,ffff8000ffff9b30) at VOP_IOCTL+0x88 vn_ioctl(fffffd802f879e98,c0106477,ffff800015bd4d60,ffff8000ffff9b30) at vn_ioctl+0xb6 sys_ioctl(ffff8000ffff9b30,ffff800015bd4e78,ffff800015bd4ee0) at sys_ioctl+0x5b8 syscall(ffff800015bd4f40) at syscall+0x508 Xsyscall(6,0,ffffffffffffff1f,0,3,b91b93e1010) at Xsyscall+0x128 end of kernel end trace frame: 0xb9465d61700, count: -9 ddb> show registers rdi 0xffffffff818b9067 db_enter+0x17 rsi 0x76cc __ALIGN_SIZE+0x66cc rbp 0xffff800015bd4920 rbx 0xffff800015bd49d0 rdx 0x76cd __ALIGN_SIZE+0x66cd rcx 0xffff8000149bf000 rax 0xffff8000149bf000 r8 0xffff800015bd48e0 r9 0x1 r10 0xffff80000005cd80 r11 0x9655e6005d985589 r12 0x3000000008 r13 0xffff800015bd4930 r14 0x100 r15 0x1 rip 0xffffffff818b9068 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015bd4910 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=441003 stat=onproc flags process=0 proc=4000000 pri=24, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff89e8,0xffff8000ffff3b50 process=0xffff8000ffff70f0 user=0xffff800015bcf000, vmspace=0xfffffd803f00c110 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79464 477381 40212 0 2 0 syz-executor.0 79464 119982 40212 0 3 0x4000080 fsleep syz-executor.0 26504 290908 1417 0 2 0 syz-executor.1 *26504 441003 1417 0 7 0x4000000 syz-executor.1 26504 427394 1417 0 2 0x4000000 syz-executor.1 40212 517478 93018 0 2 0x482 syz-executor.0 1417 518147 93018 0 2 0x482 syz-executor.1 93018 284234 22997 0 3 0x82 kqread syz-fuzzer 93018 322964 22997 0 3 0x4000082 thrsleep syz-fuzzer 93018 381968 22997 0 3 0x4000082 thrsleep syz-fuzzer 93018 61435 22997 0 3 0x4000082 thrsleep syz-fuzzer 93018 138525 22997 0 3 0x4000082 thrsleep syz-fuzzer 93018 118906 22997 0 3 0x4000082 thrsleep syz-fuzzer 93018 14921 22997 0 3 0x4000082 thrsleep syz-fuzzer 22997 225613 27247 0 3 0x10008a pause ksh 27247 282085 12923 0 3 0x92 select sshd 747 155759 1 0 3 0x100083 ttyin getty 12923 161039 1 0 3 0x80 select sshd 83249 251610 39866 73 2 0x100090 syslogd 39866 50122 1 0 3 0x100082 netio syslogd 62876 37897 1 77 3 0x100090 poll dhclient 15851 97376 1 0 3 0x80 poll dhclient 80028 357111 0 0 2 0x14200 zerothread 27269 497255 0 0 3 0x14200 aiodoned aiodoned 21383 470218 0 0 3 0x14200 syncer update 85294 184620 0 0 3 0x14200 cleaner cleaner 60728 322074 0 0 3 0x14200 reaper reaper 79374 126488 0 0 3 0x14200 pgdaemon pagedaemon 37605 509997 0 0 3 0x14200 bored crynlk 74155 334306 0 0 3 0x14200 bored crypto 74044 148515 0 0 3 0x40014200 acpi0 acpi0 74405 419931 0 0 3 0x14200 bored softnet 2609 43825 0 0 3 0x14200 bored systqmp 4918 175993 0 0 3 0x14200 bored systq 30506 367464 0 0 3 0x40014200 bored softclock 29240 423043 0 0 3 0x40014200 idle0 82371 473414 0 0 3 0x14200 bored smr 1 384822 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9447 6377K 6441K 78643K 10558 0 0 pcb 13 8K 8K 78643K 17 0 0 rtable 108 3K 4K 78643K 200 0 0 ifaddr 35 10K 10K 78643K 39 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 17 0 0 iov 0 0K 16K 78643K 2 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 76K 77K 78643K 1232 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 4 0K 0K 78643K 4 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 53 0 0 proc 40 30K 54K 78643K 340 0 0 subproc 32 2K 2K 78643K 34 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 33 2K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 36 159K 159K 78643K 36 0 0 exec 0 0K 1K 78643K 184 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 82 20K 21K 78643K 948 0 0 UVM aobj 4 2K 2K 78643K 4 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 5 0K 0K 78643K 10 0 0 temp 82 2712K 2776K 78643K 3084 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 31 0 21 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 136 0 136 1 0 1 1 0 8 1 tcpcb 544 14 0 10 1 0 1 1 0 8 0 inpcb 280 38 0 31 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1475 0 53 46 0 46 46 0 8 0 ffsino 240 1475 0 53 84 0 84 84 0 8 0 nchpl 144 1746 0 105 61 0 61 61 0 8 0 uvmvnodes 72 1523 0 0 28 0 28 28 0 8 0 vnodes 200 1523 0 0 81 0 81 81 0 8 0 namei 1024 4294 0 4294 1 0 1 1 0 8 1 scxspl 192 4080 0 4080 2 1 1 2 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 432 224 0 210 2 0 2 2 0 8 0 futexpl 56 356 0 355 1 0 1 1 0 8 0 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 104 6 0 4 1 0 1 1 0 8 0 pipepl 112 146 0 127 1 0 1 1 0 8 0 fdescpl 424 225 0 210 2 0 2 2 0 8 0 filepl 120 1115 0 1018 4 0 4 4 0 8 1 lockfpl 104 12 0 12 2 1 1 1 0 8 1 lockfspl 48 6 0 6 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 93 0 86 1 0 1 1 0 8 0 zombiepl 144 210 0 210 1 0 1 1 0 8 1 processpl 864 239 0 210 4 0 4 4 0 8 0 procpl 632 267 0 229 4 0 4 4 0 8 0 sockpl 384 90 0 71 3 0 3 3 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 2 1 1 1 0 8 1 mcl2k 2048 55035 0 54981 18 3 15 15 0 8 7 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 86813 0 86724 10 1 9 9 0 8 0 bufpl 256 5635 0 1198 278 0 278 278 0 8 0 anonpl 16 33845 0 22760 46 1 45 45 0 62 0 amapchunkpl 152 1080 0 971 7 0 7 7 0 158 2 amappl16 192 788 0 180 31 0 31 31 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 52 0 47 1 0 1 1 0 8 0 amappl13 168 8 0 8 1 1 0 1 0 8 0 amappl12 160 9 0 7 1 0 1 1 0 8 0 amappl11 152 50 0 39 1 0 1 1 0 8 0 amappl10 144 59 0 59 1 0 1 1 0 8 1 amappl9 136 550 0 547 1 0 1 1 0 8 0 amappl8 128 123 0 108 1 0 1 1 0 8 0 amappl7 120 37 0 33 1 0 1 1 0 8 0 amappl6 112 59 0 52 1 0 1 1 0 8 0 amappl5 104 149 0 140 1 0 1 1 0 8 0 amappl4 96 439 0 413 1 0 1 1 0 8 0 amappl3 88 170 0 158 1 0 1 1 0 8 0 amappl2 80 1009 0 934 3 0 3 3 0 8 1 amappl1 72 13435 0 13023 26 10 16 19 0 8 7 amappl 80 510 0 472 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 225 0 210 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 225 0 210 1 0 1 1 0 8 0 vmmpekpl 168 5835 0 5810 2 0 2 2 0 8 0 vmmpepl 168 33679 0 31954 101 8 93 93 0 357 18 vmsppl 272 224 0 210 2 0 2 2 0 8 1 pdppl 4096 457 0 420 6 0 6 6 0 8 1 pvpl 32 117278 0 103173 118 0 118 118 0 265 3 pmappl 200 224 0 210 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 420 0 7 12 0 12 12 0 8 0