last executing test programs: 2.059974616s ago: executing program 3 (id=902): r0 = socket$inet6(0x18, 0x1, 0x0) bind$inet6(r0, &(0x7f0000000280)={0x1c, 0x18, 0x1, 0x1, "00000000000000000000000000000001", 0x40007}, 0x1c) r1 = socket$inet6(0x18, 0x1, 0x6) setsockopt$sock_int(r1, 0xffff, 0x1000, &(0x7f0000000040)=0x3, 0x4) bind$inet6(r1, &(0x7f0000000300)={0x1c, 0x18, 0x1, 0x101, "0000000000a2e9d8cdd03c0000e96100", 0xffff}, 0x1c) 1.988342538s ago: executing program 3 (id=905): r0 = open(&(0x7f0000000040)='./file1\x00', 0x18289, 0xa0) pipe2(&(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) poll(&(0x7f0000000240)=[{r1, 0x78c3f0699c737473}], 0x1, 0xaf3) closefrom(r0) 1.813729247s ago: executing program 3 (id=915): setrlimit(0x8, &(0x7f0000000300)={0x42, 0x3fb}) r0 = syz_open_pts() close(r0) syz_open_pts() writev(r0, &(0x7f0000001540)=[{&(0x7f0000000340)="e27eac82dfcb7545f119abe331be7efc890e417ae02d2d4e776fc2ca6ce54a628e7898aadfba1ca2e2c4d9c0ea6927a4519f6fd220034924d598f2acc36a808c75191e49952c44fc5a9280ac8393cb122bd6b5ceb1c08bff23877f26c17c85511a652c7dfe2310aca698ec8bb8d2ab8401a3da5ed894a7957cde217ce684a69815ad54df03074de3c5bd8b12c67b0a07edca6ecb7d69df584b6647092a3464fc370ae69e70c1cda577e764b27d2dacfc3b7f34b5bc668d690f16", 0xba}], 0x1) 1.659652448s ago: executing program 3 (id=922): ioctl$WSDISPLAYIO_ADDSCREEN(0xffffffffffffffff, 0x80245753, &(0x7f0000000040)={0x3, './file0\x00', './file0\x00'}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0x40086475, 0x0) 1.596530234s ago: executing program 3 (id=924): select(0x0, 0x0, 0x0, &(0x7f00000001c0)={0x7ff8000000000002, 0x0, 0x100000000201, 0x7ff, 0x3, 0x1, 0xffffffffffffffff, 0x4}, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r0 = socket(0x2, 0x2, 0x0) ioctl$FIONREAD(r0, 0xc0206921, &(0x7f00000001c0)) 1.410675205s ago: executing program 0 (id=940): socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000140)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r1, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=ANY=[@ANYBLOB="28000000ffff000001"], 0x28, 0x400}, 0x0) recvmsg(r0, &(0x7f0000000200)={0x0, 0x0, &(0x7f0000000180)=[{&(0x7f00000002c0)=""/256, 0x100}], 0x1, 0x0}, 0x22eeba40374dcad2) recvmsg(r0, &(0x7f0000000600)={0x0, 0x0, 0x0, 0x0, 0x0}, 0x2002) close(r1) 1.229710896s ago: executing program 0 (id=951): r0 = open(&(0x7f0000000140)='./file0\x00', 0x80000000000206, 0x0) ktrace(&(0x7f0000000180)='./file0\x00', 0x4, 0xd27d43220c7df9f, 0x0) mmap(&(0x7f0000000000/0x13000)=nil, 0x13000, 0x1, 0x2010, r0, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r1, 0x0, 0x14, &(0x7f0000000480), 0x4) 1.067667333s ago: executing program 0 (id=956): sysctl$net_inet_ip(0x0, 0x0, &(0x7f00000000c0)="97e0c035", 0x0, 0x0, 0x0) r0 = socket(0x2, 0x1, 0x0) close(r0) socket(0x2, 0x5001, 0x0) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) 1.01502972s ago: executing program 0 (id=958): ioctl$VMM_IOC_RESETCPU(0xffffffffffffff9c, 0x82405605, &(0x7f0000000340)={0x1002, {[], [0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffffffffffd, 0x0, 0x0, 0xa]}}) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0x80045102, &(0x7f0000000400)={'tap', 0x0}) 960.116541ms ago: executing program 0 (id=963): setgid(0xffffffffffffffff) r0 = getegid() setresgid(r0, r0, 0x0) r1 = getegid() setresgid(r1, 0x0, r1) 931.243549ms ago: executing program 0 (id=966): mknod(&(0x7f0000000280)='./file0\x00', 0x2000, 0x5d4c) r0 = open$dir(&(0x7f0000000200)='./file0\x00', 0x2, 0x0) readv(r0, &(0x7f0000000240)=[{&(0x7f0000000300)=""/68, 0x44}], 0x1) fstat(r0, 0x0) unveil(0x0, &(0x7f0000001540)='c\x00') 759.623059ms ago: executing program 6 (id=973): bind$unix(0xffffffffffffffff, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f0000000040)={0xfffffffd, 0x6, 0x3, 0x9, "01000100d100", 0x400, 0x4}) sysctl$kern(&(0x7f0000000040)={0x1, 0x3e}, 0x3ffffffffffffdf3, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) sysctl$kern(&(0x7f0000000040)={0x1, 0x47}, 0x3, 0x0, 0x0, &(0x7f0000000080)="4f1d4c6344b80ed788b6a4515248df3aa745bb992c574ab4cdf5587145812eab4a988f7fafd7a01d99776d988908cd186b51f34f8c15ffa0c685ad4116c783959eff4278384b4000384dbb1c2aaeff10b4135529a1da6fda67c67469d954be811b25ec5521559154c586eefff122009f659cd3e27e98a3241495005f102d9101d158284c0ee3250aa7c11042330de22a299ab00894fdc9bac6042d", 0x4) 759.151788ms ago: executing program 6 (id=975): mknod(&(0x7f00000012c0)='./file0\x00', 0x2000, 0x205b9a) r0 = open(&(0x7f0000001300)='./file0\x00', 0x80, 0x143) mknod(&(0x7f0000001340)='./file1\x00', 0x2000, 0x285b9a) open(&(0x7f0000001380)='./file1\x00', 0x40, 0x132) ioctl$DIOCRSETADDRS(r0, 0xc4504445, &(0x7f0000000080)={{'./file0/file0\x00', './file0\x00', 0x20, 0x1}, 0x0, 0x7, 0x0, 0xff, 0x4000fff, 0x7, 0x330, 0x46, 0x8001}) 754.21981ms ago: executing program 3 (id=976): r0 = syz_open_pts() fcntl$lock(r0, 0x9, &(0x7f0000000040)={0x400003, 0x0, 0x7, 0x3, 0x1}) flock(r0, 0x1) fcntl$lock(r0, 0x9, &(0x7f0000000080)={0x4000000000004, 0x1000000, 0x3e6d53ae, 0x100000001}) 720.741485ms ago: executing program 7 (id=977): open(&(0x7f0000000000)='./file0\x00', 0x80000000000206, 0x1c2) setitimer(0x0, &(0x7f0000000040)={{0x3, 0x3}, {0x0, 0xfff}}, 0x0) ktrace(&(0x7f0000000080)='./file0\x00', 0x4, 0xd27d43220c7df9f, 0x0) getitimer(0x0, &(0x7f00000000c0)) setitimer(0x0, 0x0, 0x0) 703.533942ms ago: executing program 6 (id=978): ioctl$VMM_IOC_RESETCPU(0xffffffffffffff9c, 0x82405605, &(0x7f0000000340)={0x1002, {[0x0, 0x400, 0x40000000000, 0x0, 0x0, 0x0, 0x0, 0x5, 0x0, 0x0, 0x19a, 0x0, 0x9, 0x0, 0x0, 0x0, 0x8], [0x80, 0x0, 0x7, 0x0, 0x5f, 0xffffffffffffffc2, 0xffffffffffffffff, 0x0, 0x7], [0xffffffffffffffff, 0x9, 0x0, 0x0, 0x0, 0x2, 0xffffffffffffffff], [0x585, 0x0, 0x1, 0x0, 0x0, 0x4], [{0xfffc, 0x0, 0x1, 0xfffffffffffffffd}, {0xffff, 0x0, 0x9, 0xfffffffffffff648}, {0x0, 0xffffffff}, {0x0, 0x0, 0x8}, {0x0, 0x4}, {0x0, 0x0, 0x1e}, {}, {0x0, 0x0, 0x0, 0x8000000000000003}]}}) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0xc0785101, &(0x7f0000000400)={'tap', 0x0}) 580.162602ms ago: executing program 7 (id=984): ioctl$DIOCRCLRADDRS(0xffffffffffffffff, 0xc4504442, 0x0) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x4287e) r0 = open(&(0x7f0000000040)='./file0\x00', 0x80000000000206, 0x4ebfac6bbaf7815) ioctl$FIONREAD(r0, 0x800474c4, &(0x7f0000000080)) writev(r0, &(0x7f0000001c80)=[{&(0x7f0000000b80)="3f027dccbcf4586de36ce8d6af7e08082792e440f08279f27d4194cdfa00edb99446ff1b50151f8ec30706c2a077cfe3debd09775ab68e8bf1dd8bab8a12d515f2b323331d47a8a72b8d4eff3cddc4fd1d275c28eae7b224900d9e56cc4cd9bd3ce9b813ab2abe2c3a928c9977431c732d358d97ee1b590ba3cf127ba3e87da24664a65f710a9f7d0e247b6e718e545b5f60b631587c98c3f7d384b2a80ed09be84023dcfc1fab0701ad84f373be4e5dfa715d6b03b0e7062d248370b465cc45fddd8bbf75a727bac8a01e3167804258a3df10e4cba1569c564efceac9904909dc4c9c40173d297a63289db23a060c314ae7512d294fd58219c23e6fa82af4a3adf355ae1f2cd330b948e550cb29339065d86c951fce945a195209eb5a249af8c1ec94cca96059ff62a2733ca63df374f63fbf7aef4f3426fcef5fa4c85dbb04af534a0d3dd3facfc9eaef1733260e0e21126e9e8514da6e27387282dd1ac991dbeb6c4f0ffc115976199518ee87e511e567306682cb9df3f410ba571b70a2e7c5500b76265c391732ce650b657959a035c8494ff70d197bca68315d7840ead7d2d0153529385cfae4afd2f64c948064a6e11c07fa3ee8bc9caebcf37bde87ee44142b11aab27bf9e0be932afd41de4626ceee259b3db000ba560fe73aee877534efcfd33cdf591f37292a496bc6339bfe0d0ab15dca28dcb3d1a4fb9329e597ae", 0x201}], 0x1) 572.557009ms ago: executing program 6 (id=986): r0 = openat$vmm(0xffffffffffffff9c, &(0x7f0000000000), 0x8, 0x0) ioctl$WSMUXIO_LIST_DEVICES(0xffffffffffffffff, 0xc1045763, &(0x7f0000000040)={0x0, [{}, {0x1}, {0x0, 0x300}, {0x2, 0x4}, {0x0, 0x4000}, {0x2, 0xe}, {}, {0x3, 0x1}, {}, {0x4}, {}, {0x1}, {0x3, 0x6}, {0x2}, {0x3}, {0x1}, {0x2}, {0x1}, {0x1, 0x3a3e}, {}, {0x3}, {0x0, 0x4}, {0x2}, {0x2}, {0x3}, {0x0, 0x5}, {0x2, 0x1}, {0x0, 0x10000}, {0x1, 0x80000000}, {0x1, 0x6}, {0x0, 0x2}]}) ioctl$TIOCSETD(0xffffffffffffffff, 0x8004741b, &(0x7f0000000080)=0x2) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$VMM_IOC_CREATE(r0, 0xca605601, &(0x7f0000000080)={0x10, 0x9, [{&(0x7f0000ffd000/0x3000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x9}, {&(0x7f0000ffe000/0x1000)=nil, &(0x7f0000fff000/0x1000)=nil, 0xffffffffffff822d}, {&(0x7f0000ffe000/0x1000)=nil, &(0x7f0000ffc000/0x4000)=nil, 0x73}, {&(0x7f0000ffa000/0x3000)=nil, &(0x7f0000ffb000/0x4000)=nil, 0xb}, {&(0x7f0000ffa000/0x2000)=nil, &(0x7f0000ffb000/0x3000)=nil, 0x800000}, {&(0x7f0000ffc000/0x4000)=nil, &(0x7f0000ffe000/0x1000)=nil, 0xffffffffffffff89}, {&(0x7f0000ffd000/0x3000)=nil, &(0x7f0000ffc000/0x3000)=nil, 0x7}, {&(0x7f0000ffe000/0x2000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x6}, {&(0x7f0000ffd000/0x3000)=nil, &(0x7f000054d000/0x2000)=nil, 0x6}, {&(0x7f0000ffc000/0x2000)=nil, &(0x7f0000ffd000/0x2000)=nil, 0x762c}, {&(0x7f0000ffb000/0x4000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x6}, {&(0x7f0000ffa000/0x2000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x4}, {&(0x7f000037a000/0x4000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x2}, {&(0x7f0000ff9000/0x3000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x7fffffff}, {&(0x7f0000210000/0x4000)=nil, &(0x7f0000ffc000/0x4000)=nil, 0x8001}, {&(0x7f0000ffd000/0x3000)=nil, &(0x7f0000ff9000/0x2000)=nil, 0xffffffff}], './file0\x00', 0x5, 0x9}) 519.839103ms ago: executing program 7 (id=989): setsid() r0 = syz_open_pts() ioctl$TIOCSCTTY(r0, 0x20007461) ioctl$TIOCSETA(0xffffffffffffffff, 0xc4504446, &(0x7f00000000c0)={0x6, 0x4000805c, 0x5, 0xa, "d53fe9000000001000000000e5ffffffe80100", 0x3db, 0x3}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x2c}, 0x3, &(0x7f00000002c0)="c971f91e8e5f84cf71b59c7afec3708201000000007bc9000000000000b96e95c0b795740e034dfac26a28", &(0x7f0000000080)=0x5b6, 0x0, 0xfffffffffffffef1) 510.332231ms ago: executing program 6 (id=991): socketpair$unix(0x1, 0x1, 0x0, &(0x7f00000004c0)={0xffffffffffffffff}) write(r0, &(0x7f00000002c0)="3dacaf2007efe7f2aacb103ef5614b7ee991217204933059d9fcfbc5d67adfc708ba90e85c3252b8101709dc11c37cee01b0a4070000005e0984f204ef676d7a15176cbe2584124bbc6eaeffa4739da44ab12627c0b68f4f6b2a5fa778b0241132b072462a736f1b3a5227eb254db06f148a13f278b8f1efb35410a0a7febc5571457cab4d2763c894eb64c90f92efc71616839cd5b627c5e619747c135a97a2e37ccf6b1bc0dd5d56d3cecd8029ecfb924772ed6fe4798b990c82e93aab095f25642c116a27a7babca09430204e2ee06ac8cce7404e", 0xffffff33) sendmmsg(r0, &(0x7f0000000640)={{0x0, 0x0, 0x0, 0x0, &(0x7f0000000580)=[{0x10, 0x1, 0x1, "f1"}], 0x10}}, 0x38, 0x2) ioctl$FIONBIO(r0, 0x8004667e, &(0x7f0000000180)=0x6) unveil(0x0, &(0x7f0000000280)='r\x00') 467.059082ms ago: executing program 4 (id=993): chmod(&(0x7f0000000040)='.\x00', 0x35e) setuid(0xee01) open$dir(&(0x7f00000000c0)='./file0\x00', 0x200, 0x186) chmod(&(0x7f0000000280)='./file0\x00', 0x3a) access(&(0x7f0000000000)='./file0\x00', 0x2) 434.120697ms ago: executing program 7 (id=994): ioctl$VMM_IOC_RESETCPU(0xffffffffffffff9c, 0x82405605, &(0x7f0000000340)={0x1002, {[0x0, 0x400, 0x40000000000, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x5, 0x0, 0x0, 0x19a, 0x0, 0x9, 0x0, 0x0, 0xffffffffffffffff, 0x8], [0x80, 0x0, 0x7, 0x0, 0x5f, 0x1, 0xffffffffffffffff, 0x0, 0x7], [0xffffffffffffffff, 0x9, 0x0, 0x0, 0x0, 0x2, 0xffffffffffffffff], [0x588, 0x0, 0x9, 0x0, 0x0, 0x4], [{0xfffc, 0x0, 0x1, 0x1}, {0xffff, 0x0, 0x9, 0xfffffffffffff648}, {0x8, 0xffffffff}, {0x0, 0x0, 0x8}, {}, {0x0, 0x0, 0x1b, 0x100000000}, {0x80}, {0x147, 0x0, 0x0, 0x8000000000000003}], {}, {0x0, 0x0, 0xfff}}}) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0xc0785101, &(0x7f0000000400)={'tap', 0x0}) 433.804123ms ago: executing program 1 (id=995): setgid(0xffffffffffffffff) setgroups(0x0, 0x0) getgroups(0x1, &(0x7f00000000c0)=[0xffffffffffffffff]) setresgid(r0, 0x0, 0x0) setregid(0x0, 0xffffffffffffffff) 362.027656ms ago: executing program 1 (id=997): r0 = syz_open_pts() readv(r0, &(0x7f0000000100)=[{&(0x7f0000000140)=""/1, 0x1}], 0x1) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000180)={0x80, 0x4, 0xfbfffffe, 0xfffffffe, "dd6c1f460000ff20004092d6126e4ed671e500", 0x800}) syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f00000001c0)={0x4000, 0x0, 0x1, 0x401, "97000001f25a3b06000000000000000000010020", 0x1, 0x209}) 357.540552ms ago: executing program 7 (id=998): chmod(&(0x7f0000000040)='.\x00', 0x35e) setresuid(0x0, 0xee00, 0x0) mkdir(&(0x7f0000000080)='./file0\x00', 0x1b3) r0 = geteuid() lchown(&(0x7f0000000100)='./file0\x00', r0, 0x0) 299.38006ms ago: executing program 7 (id=1001): r0 = msgget$private(0x0, 0x8) msgsnd(r0, &(0x7f0000000040)={0x3, "dd39696e8df2eb63d04af8735b11f3e59af26eefbac7a3e491eb67bae0a38355cea852a08cfc5bb505c0fd694cf2bde12825e51e6976e0cbd27cc7fff42756"}, 0x47, 0x0) msgrcv(r0, &(0x7f00000000c0)={0x0, ""/4096}, 0x1008, 0x0, 0x1000) msgsnd(r0, &(0x7f0000001100)={0x2}, 0x8, 0x0) msgrcv(0x0, &(0x7f0000001280)={0x0, ""/115}, 0x7b, 0x1, 0x0) 296.654377ms ago: executing program 5 (id=1002): r0 = socket(0x2, 0x3, 0x9) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x2000000000000243, &(0x7f0000000100)}) r1 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) ioctl$FIONREAD(r0, 0x80206919, &(0x7f0000000100)) 259.069775ms ago: executing program 6 (id=1003): mknod(&(0x7f0000000100)='./file0\x00', 0x2000, 0x6381) open(&(0x7f0000000140)='./file0\x00', 0x10, 0x100) ioctl$WSMOUSEIO_SCALIBCOORDS(0xffffffffffffffff, 0x81205724, &(0x7f0000000340)={0x8, 0x8, 0x80, 0xc5, 0x8, 0x7, 0x40, 0x10, [{0x5, 0x3, 0x7fff, 0x80000201}, {0x5, 0x8, 0x6, 0xffc}, {0x1, 0xfffffffe, 0x6, 0x2}, {0x2, 0xdf, 0xf, 0x40}, {0x2, 0x7, 0xf11, 0x7}, {0x800, 0xffbf, 0x80cf}, {0x1, 0x5, 0x85, 0x2}, {0x3, 0x1, 0xfffffff8, 0xfbffe2e9}, {0x408, 0xffe, 0x6, 0x17fff}, {0x3, 0x4, 0x5, 0x7}, {0xff, 0x8000000, 0x8, 0x7}, {0x4, 0x2, 0x800000, 0xa66}, {0x401, 0x10a, 0x9, 0x9}, {0x200003, 0x5, 0x4, 0x6f5fc48f}, {0x81, 0x101, 0x3, 0x7fff}, {0xffffffff, 0x1, 0x6, 0x2000069}]}) poll(&(0x7f00000002c0), 0x35, 0x0) poll(&(0x7f0000000300)=[{}], 0x20000000000000fe, 0x0) 257.898243ms ago: executing program 5 (id=1004): sysctl$kern(0x0, 0x0, &(0x7f0000000400)="c2a6", 0x0, 0x0, 0x0) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0xc0785101, &(0x7f0000000400)={'tap', 0x0}) 245.879211ms ago: executing program 4 (id=1005): mknodat(0xffffffffffffff9c, &(0x7f0000000000)='./bus\x00', 0x2000, 0x4800) ioctl$VMM_IOC_CREATE(0xffffffffffffffff, 0xc2585601, &(0x7f00000000c0)={0x10, 0x4, [{&(0x7f0000558000/0x4000)=nil, &(0x7f0000ffc000/0x4000)=nil}, {&(0x7f0000340000/0x1000)=nil, &(0x7f0000ffa000/0x4000)=nil, 0xffffffffffffff7e}, {&(0x7f0000ffd000/0x1000)=nil, &(0x7f00006b9000/0x1000)=nil, 0x80000000}, {&(0x7f00001da000/0x4000)=nil, &(0x7f00000d6000/0x1000)=nil, 0xffffffffffffffff}, {&(0x7f000024d000/0x1000)=nil, &(0x7f00005ff000/0x4000)=nil, 0x401}, {&(0x7f00006db000/0x4000)=nil, &(0x7f0000179000/0x1000)=nil, 0x80000002}, {&(0x7f0000338000/0x4000)=nil, &(0x7f0000000000/0x400000)=nil, 0x8}, {&(0x7f000077c000/0x1000)=nil, &(0x7f00000ce000/0x4000)=nil, 0x3}, {&(0x7f0000fff000/0x1000)=nil, &(0x7f0000084000/0x3000)=nil, 0x6b9}, {&(0x7f0000132000/0x2000)=nil, &(0x7f00003f2000/0x2000)=nil, 0xa}, {&(0x7f000064b000/0x2000)=nil, &(0x7f0000630000/0x4000)=nil, 0x12b}, {&(0x7f0000008000/0x3000)=nil, &(0x7f0000688000/0x4000)=nil, 0x2}, {&(0x7f0000196000/0x3000)=nil, &(0x7f000076c000/0x4000)=nil, 0xa}, {&(0x7f000024b000/0x2000)=nil, &(0x7f000079e000/0x4000)=nil, 0xffffffffbffffff9}, {&(0x7f00004d0000/0x1000)=nil, &(0x7f0000ffe000/0x2000)=nil, 0x5e04}, {&(0x7f00004b3000/0x1000)=nil, &(0x7f0000001000/0x800000)=nil, 0x6}], './file0\x00', 0x3}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x45}, 0x2, 0x0, 0x0, 0x0, 0x0) r0 = open(&(0x7f0000000040)='./bus\x00', 0x0, 0x9) ioctl$FIOASYNC(r0, 0xc0107002, &(0x7f00000000c0)) 229.860124ms ago: executing program 5 (id=1006): r0 = open$dir(&(0x7f00000000c0)='.\x00', 0x0, 0x0) r1 = kqueue() kevent(r1, &(0x7f0000000000)=[{{r0}, 0xfffffffffffffffc, 0x21, 0x2, 0x8}, {{r1}, 0xffffffffffffffff, 0xc1, 0xd0000000, 0x10000, 0x133c}], 0x9, 0x0, 0x0, 0x0) mknodat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x1000, 0x0) kevent(r1, 0x0, 0xfffffffb, &(0x7f0000000080), 0x200, 0x0) 217.602961ms ago: executing program 4 (id=1007): mkdir(&(0x7f0000000080)='./file0\x00', 0x0) setreuid(0xee00, 0x0) r0 = getuid() chown(&(0x7f0000000040)='./file0\x00', r0, 0xffffffffffffffff) chflags(&(0x7f0000000100)='./file0\x00', 0x0) 196.637685ms ago: executing program 2 (id=1008): mknod(&(0x7f0000000040)='./file0\x00', 0x1000, 0x0) open(&(0x7f0000002300)='./file0\x00', 0x80000000000206, 0x4ebfac6bbaf7949) open(&(0x7f0000002340)='./file0\x00', 0x18289, 0x110) select(0x40, &(0x7f0000002380)={0x8, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0xede0, 0x8}, &(0x7f00000023c0)={0xff9, 0x5, 0x6, 0x0, 0x0, 0x0, 0x2}, 0x0, 0x0) close(0x3) 164.650023ms ago: executing program 4 (id=1009): r0 = socket$inet(0x2, 0x3, 0x0) setsockopt$inet_opts(r0, 0x0, 0x6d, 0x0, 0x0) r1 = openat$pf(0xffffffffffffff9c, &(0x7f00000004c0), 0x2, 0x0) ioctl$DIOCOSFPFLUSH(r1, 0x2000444e) ioctl$DIOCADDRULE(r1, 0xcd604404, &(0x7f0000000500)={0x7, 0x0, 0x400, './file0\x00', './file0\x00', 0x0, "2f357525feba5c3e9b9e5aec2434f21517dccdb6c157e289e6c1757913ef130bedb348ed5f0380ec150329ed36a0f87abf64ce28e6c164691a518385ab9d083345ede48954ea66dccbd0d7b55f8ab5b5a04d607cfa2c983522d299f891db2b7af154c87ddbad94302945a18926966601c5e4d9f48125b4f287e8c8a49871ee867b61fd49df037ce19c2a002f554773e3f5c6130980db877214c8fc2eed20b5de0ee4fdae9aea7373b85287ffecc1155eb0f176e736b9ed82a2b248cdd3cf0d9c83a64a84fe405a2ff200021f9f9c00c160fb994b67e9a88a87a3e99e7cbee4cc7874de120696808036281eb20d8a18763a7da496edb93d18d235bdf9a5288c008b11dc432ede205df697951d308a9ceb81edcd2935ed45fc9437e41e797e4f1b0100d1026b11f6fae04255ead9d3907d27d4c564f1bde62df5e7f5225ce12a124d5876013189401e61ee6d9c789a83645ceecf43976ab41d013d63ea9ffd2f80e3f0384a065271c7fcff11a392dba5c0eb0e8e550978f46f2e79f7923a3efa9b0326b36b1ef76842731385b9d300504cf76420bde0abac02531deb2989350fc8f40cfa5ab7bf181ff2002b997c6fb79341f9653f2242f3bd66f9eac24610efbd8e86a201e031addc846762a2c59d1565d752fbab18b6ca990d297914aa4aef61a180ea52dc988edd02d3f6c1a7789baf4ebd0af84ce4a021dc3ebc7331727a3be3e71a3b985f31e717f4e00f2772aa23f2fa592574816785bfc645d7e8210d4e7b78ed8cd2fb69077a1951eb56b59eec09cbc47ce7b3f27be4e70ca35ae5d6904b4fb1eb85b2fd3af019a662de631674046580e35bfc85191f864a69a0a203b29ad214cefef4a84fbc5c2a881e9213475cb0a7f9a2e8db588971782593a5e6927333fbee598a640a7258662d3233b9b9ffd14f9a2c83618394f6983057db33953adced75a8478878d22ad24ab43febb0165588f58650f43bf18bf8bc74a8e9a8e7097741edb6731c0207821158ac11b4a2677a2427942334c54d0cfa14b32490c6d59bdaaf959867c30e58ce5b1d2ee428b58a6b2e640aa2a5ff02e4e15c56aa934c6ba5e2c0585873633da83446d12b2d59ce51f586e2d39960c1b4df350f2ec93c7f5765ceb15a85c2e6e573e9e26d4a14c454767b86f0ab64b8cdaa3b811661e7decb12673329a4039a192e725b110ef0e59ea4c2cacf6fad124c8b6b64a285e0a9afc17c597bb0b4a47bf43c8e84a067fb4abc43f03d87a07ba4066eae14482eb2130b98e2bc9adf5b52f823230d663998edab3fb75af1687bc30f5c45061276d280236ca1c271029310cbdb409084092085df5c658ab636147247e4bfcea04e9f8e47f718f03a022f8a981a68d4b7765f81bae226a296f99abd4f524815da56d2991b8fd796484a07e0fb64ff1cf5e7937c865c97eb84af37e2046ae522f0220f422a4683fca3d1997f5398ef98a4f98c8ee7d57dbf515e2584b924045fb1d05bae82a362663bfc038651f49ae680c5e8970d3068bf83ffd69030634b84ed3466a1ed045888c4a1255f4646ead0d36bdf2bb0b3880f676076cb8ca9ae3ef8282c7efed5a9e2c34fbd3abf368e569ddf051d3129011941f68b8c9c018a09fd8df4cd45254b6a56d98cd159a55bb7e00daa9ac6fd13c6a3a683b537ceb46f5d18241d9fa879a87397ca592726d0496c92592e7ca886c149bc6b33b3ce8dda6398d71e7988ac21e6e1be33045b2b1b7f48474176234fa161b227c2307eaddc08b264b80b1fec99fafd27ccf0080c48e62af0fe1d7c126b8de17b5ebb2ffa39f8e25c3bc40ed56a1656f9ec21f01bfb77781895921f8174889b8e0d273d41d6a21b3b7a445bf280c7d46f7e31cbd8a7c72cf48243a5d828b448f7173a768461bb1b9f972ca5972ccddcce32ae5e4873"}) 156.064934ms ago: executing program 2 (id=1010): r0 = openat$pci(0xffffffffffffff9c, &(0x7f0000000180), 0x80, 0x0) ioctl$PCIOCWRITE(r0, 0xc00c7007, &(0x7f00000001c0)={{0x0, 0x1, 0x3}, 0x1, 0x8003, 0x9}) r1 = openat$pci(0xffffffffffffff9c, &(0x7f00000000c0), 0x80, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$PCIOCWRITE(r1, 0xc00c7007, &(0x7f0000000280)={{0x0, 0x4, 0x5}, 0x10, 0x8003, 0x9}) 150.756968ms ago: executing program 1 (id=1011): r0 = open$dir(&(0x7f00000000c0)='./file0\x00', 0xf02, 0x0) mmap(&(0x7f0000001000/0x3000)=nil, 0x3000, 0x2, 0x2012, r0, 0x0) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x3, 0x5012, 0xffffffffffffffff, 0x0) r1 = open(&(0x7f0000000480)='./file0\x00', 0x615, 0x0) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r1, 0x0) 85.709141ms ago: executing program 1 (id=1012): mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setrlimit(0x2, &(0x7f00000003c0)={0xfffffffffffffffc, 0xffffffffffffffff}) mprotect(&(0x7f0000001000/0x3000)=nil, 0x3000, 0x0) syz_open_pts() mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) 85.298287ms ago: executing program 4 (id=1013): ioctl$VMM_IOC_CREATE(0xffffffffffffffff, 0xc2585601, &(0x7f0000000080)={0x10, 0x3, [{&(0x7f00007ab000/0x3000)=nil, &(0x7f0000ec8000/0x3000)=nil, 0x2}, {&(0x7f0000ffd000/0x1000)=nil, &(0x7f0000ffd000/0x1000)=nil, 0xffffffff}, {&(0x7f0000a1c000/0x2000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0xb20c}, {&(0x7f0000a6b000/0x3000)=nil, &(0x7f0000ffd000/0x2000)=nil, 0x3}, {&(0x7f0000ffb000/0x3000)=nil, &(0x7f0000ffd000/0x1000)=nil, 0x100000000}, {&(0x7f0000800000/0x800000)=nil, &(0x7f0000ccd000/0x1000)=nil}, {&(0x7f0000ffd000/0x1000)=nil, &(0x7f0000ad2000/0x2000)=nil, 0x3}, {&(0x7f0000ffc000/0x4000)=nil, &(0x7f0000efd000/0x1000)=nil, 0xfffe}, {&(0x7f0000a98000/0x4000)=nil, &(0x7f0000a3d000/0xd000)=nil}, {&(0x7f0000d3d000/0x4000)=nil, &(0x7f0000aff000/0x1000)=nil, 0xe}, {&(0x7f0000fff000/0x1000)=nil, &(0x7f0000887000/0x4000)=nil}, {&(0x7f0000795000/0x1000)=nil, &(0x7f0000ff2000/0x1000)=nil}, {&(0x7f0000e0f000/0x2000)=nil, &(0x7f0000800000/0x800000)=nil, 0x3c}, {&(0x7f0000ffd000/0x1000)=nil, &(0x7f0000fec000/0x14000)=nil, 0x2}, {&(0x7f0000ffb000/0x2000)=nil, &(0x7f00003b5000/0x2000)=nil, 0xfefffffffffffffc}, {&(0x7f00000c6000/0x4000)=nil, &(0x7f0000c5e000/0x4000)=nil}], './file0\x00', 0x81}) setsockopt(0xffffffffffffffff, 0x11, 0x1, &(0x7f00000000c0)='/', 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) mkdir(&(0x7f0000000080)='./file0/file0\x00', 0x183) rename(&(0x7f0000000080)='./file0\x00', &(0x7f00000000c0)='./file0\x00') 85.094331ms ago: executing program 2 (id=1014): r0 = socket(0x2, 0x1, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r1 = socket(0x2, 0x2, 0x0) ioctl$FIONREAD(r1, 0xc0206921, &(0x7f00000001c0)) ioctl$FIONREAD(r0, 0x80206913, &(0x7f00000001c0)) 63.642518ms ago: executing program 5 (id=1015): bind$inet(0xffffffffffffffff, &(0x7f0000000000)={0x10, 0x2, 0x0, 0xac1400ff}, 0x10) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) r0 = socket(0x2, 0x3, 0x1) connect$unix(r0, &(0x7f0000000000), 0x10) write(r0, &(0x7f0000000140)="33e8fb9dfa5a94cf", 0x14) 60.961348ms ago: executing program 2 (id=1016): r0 = socket$inet(0x2, 0x2, 0x0) r1 = dup(r0) connect$inet(r0, &(0x7f00000001c0)={0x10, 0x2, 0x0, 0x2}, 0x10) setsockopt$inet_opts(r1, 0x0, 0x22, &(0x7f0000000040)="fd0cc085", 0x4) writev(r0, &(0x7f0000000440)=[{0x0}], 0x1) 48.319143ms ago: executing program 1 (id=1017): r0 = socket$unix(0x1, 0x2, 0x0) getsockopt$sock_cred(r0, 0xffff, 0x1024, &(0x7f0000000480)={0x0}, &(0x7f0000000580)=0xc) setpgid(0x0, r1) kill(r1, 0x11) kill(r1, 0xa) 47.110945ms ago: executing program 2 (id=1018): r0 = open(&(0x7f0000000480)='./file0\x00', 0x80000000000206, 0xd6) mkdir(&(0x7f0000000280)='./file0\x00', 0x0) unveil(&(0x7f0000000000)='./file0\x00', &(0x7f00000001c0)='x\x00') writev(r0, &(0x7f00000000c0)=[{&(0x7f0000000280)='#!', 0x10}, {&(0x7f0000000000)="8d6bb85551ec8430877ae32fe9bbe42cc8f2147a3eba8e1969f0435119cf4c071c8aee7ef2921be5d7d4796c5566c95989acb3d185587234186e96b8fde9ffac51de05a87b8b893e2abd154dd886eafbe03881d25b7b13b4c32227fc9e5a86a06f59f701322b3a109a13436e486b0a", 0x6f}], 0x2) execve(&(0x7f0000000180)='./file0\x00', 0x0, 0x0) 45.384193ms ago: executing program 4 (id=1019): mknod(&(0x7f0000000c00)='./file0\x00', 0x2000, 0x1e5f) r0 = open(&(0x7f0000000c40)='./file0\x00', 0x80, 0x95) ioctl$BIOCSETWF(r0, 0x80184404, &(0x7f0000000c80)={0x53, 0x0}) ioctl$BIOCSETWF(r0, 0x80044403, &(0x7f0000000cc0)={0x2, 0x0}) poll(&(0x7f0000000340), 0x35, 0x0) 42.111565ms ago: executing program 5 (id=1020): setrlimit(0x8, &(0x7f0000000980)={0x42, 0x1000000003fb}) ioctl$DIOCMAP(0xffffffffffffffff, 0xc0106477, &(0x7f0000000000)={&(0x7f0000000140)='./file0\x00', 0xffffffffffffffff, 0x1}) sendmsg(0xffffffffffffffff, &(0x7f00000006c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[], 0x308}, 0xc) socketpair$unix(0x1, 0x1, 0x0, &(0x7f00000000c0)={0xffffffffffffffff}) sendmmsg(r0, &(0x7f00000003c0)={{0x0, 0x0, 0x0, 0x0, 0x0}, 0x4008}, 0x38, 0x9b5360ab9b745fb4) 16.648782ms ago: executing program 5 (id=1021): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r0 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r0, 0xc0106924, &(0x7f00000001c0)) r1 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r1, 0x80206913, &(0x7f0000000100)) 279.336µs ago: executing program 1 (id=1022): setrlimit(0x8, &(0x7f0000000980)={0x45, 0x3fb}) r0 = syz_open_pts() close(r0) syz_open_pts() writev(r0, &(0x7f0000000e80)=[{&(0x7f0000000a40)="0f", 0x1}], 0x1) 0s ago: executing program 2 (id=1023): r0 = socket(0x2, 0x8002, 0x0) r1 = fcntl$dupfd(r0, 0x2, 0xffffffffffffffff) r2 = kqueue() kevent(r2, &(0x7f0000000340)=[{{r1}, 0xfffffffffffffffb, 0x21, 0x4, 0x31a1, 0xff}], 0x7, 0x0, 0x8, 0x0) closefrom(r1) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.1.44' (ED25519) to the list of known hosts. pckbd_enable: command error Connection to 10.128.1.44 closed by remote host. OpenBSD/amd64 (ci-openbsd-multicore-3.us-central1-b.c.syzkaller.internal) (tty00) login: sd0(vioscsi0:1:0): Check Condition (error 0x70) on opcode 0x1e SENSE KEY: Illegal Request ASC/ASCQ: Invalid Command Operation Code malloc(): allocation too large, type = 127, size = 4294967296 $%.)%$ !44%-04 4/ 3%4 #,/#+ &/27!2$ 4/ 4263431296 OpenBSD/amd64 (c) (tty00) login: kernel: protection fault trap, code=0 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> show kasan No such command ddb{1}> trace witness_checkorder(dead4110dead4228,9,0) at witness_checkorder+0xb5 mtx_enter(dead4110dead4218) at mtx_enter+0x95 prsignal(dead4110dead4110,14) at prsignal+0x36 reaper(ffff800045ffdc90) at reaper+0x30c end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a1f45d0 rbx 0 rdx 0 rcx 0xffff800045ffdc90 rax 0xffff80002999dffe r8 0xffffffffffffffff r9 0x1 r10 0x28ff6fd0af0c8405 r11 0x49504c784e0510a7 r12 0xdead4110dead42fe r13 0x9 r14 0xdead4110dead4228 r15 0 rip 0xffffffff831a9b45 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1f4530 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> show proc PROC (reaper) tid=273092 pid=2446 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045fff9f0,0xffff800045ffda08 process=0xffff800045ffba20 user=0xffff80002a1ef000, vmspace=0xffffffff83aba400 estcpu=0, cpticks=19, pctcpu=0.4, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 82516 314733 93182 0 2 0 0 syz-executor 82516 366526 93182 0 2 0 0x4000000 syz-executor 85999 337304 34947 0 3 0 0x80 nanoslp syz-executor 85999 116599 34947 0 3 0 0x4000080 msgwait syz-executor 83665 214018 90289 0 3 0 0x80 nanoslp syz-executor 83665 118955 90289 0 3 0 0x4000080 lockf syz-executor 83665 456263 90289 0 3 0 0x4000080 fsleep syz-executor 16064 372439 1 0 3 0x100003 0x80 ttyin getty 61742 406112 0 0 3 0x14000 0x200 acct acct 34947 506049 96996 0 3 0x2 0x80 nanoslp syz-executor 53864 354282 96996 0 2 0x2 0 syz-executor 11827 96597 96996 0 3 0x2 0x80 piperd syz-executor 86606 230967 96996 0 3 0x2 0x80 nanoslp syz-executor 90289 30870 96996 0 3 0x2 0x80 nanoslp syz-executor 93182 345835 96996 0 3 0x2 0x80 nanoslp syz-executor 56757 260372 96996 0 7 0x2 0 syz-executor 84858 61498 96996 0 3 0x2 0x80 nanoslp syz-executor 96996 244406 1 0 2 0x2 0 syz-executor 15808 453215 1 0 3 0x10000002 0x88 kqread sshd 14595 15277 65781 74 3 0x1100012 0x80 bpf pflogd 65781 390823 1 0 3 0 0x80 sbwait pflogd 32672 222765 70379 73 3 0x1100010 0x80 kqread syslogd 70379 336247 1 0 3 0x100002 0x80 sbwait syslogd-parent 48745 369117 1 0 3 0x100000 0x80 kqread resolvd 45539 311418 17911 77 3 0x100012 0x80 kqread dhcpleased 16783 132405 17911 77 3 0x100012 0x80 kqread dhcpleased 17911 499260 1 0 3 0 0x80 kqread dhcpleased 13254 25534 0 0 3 0x14000 0x200 pause smr 59242 242905 0 0 2 0x14000 0x200 zerothread 53908 260228 0 0 3 0x14000 0x200 aiodoned aiodoned 29093 298700 0 0 3 0x14000 0x200 syncer update 93542 176684 0 0 3 0x14000 0x200 cleaner cleaner * 2446 273092 0 0 7 0x14000 0x200 reaper 94825 377425 0 0 3 0x14000 0x200 pgdaemon pagedaemon 81821 84136 0 0 3 0x14000 0x200 bored viomb 16266 292020 0 0 3 0x14000 0x40000200 acpi0 acpi0 54809 120684 0 0 3 0x14000 0x40000200 idle1 56145 130650 0 0 3 0x14000 0x200 bored softnet1 88387 67348 0 0 3 0x14000 0x200 bored softnet0 40387 43856 0 0 3 0x14000 0x200 bored systqmp 13376 344527 0 0 3 0x14000 0x200 bored systq 59576 475061 0 0 3 0x14000 0x200 tmoslp softclockmp 53156 156396 0 0 3 0x14000 0x40000200 tmoslp softclock 5325 185806 0 0 3 0x14000 0x40000200 idle0 1 406438 0 0 4 0x40000002 0x8000080 init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{1}>