last executing test programs: 5.292970132s ago: executing program 1 (id=220): mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x6381) mknod(&(0x7f0000000000)='./bus\x00', 0x2000, 0x6380) r0 = open(&(0x7f0000000140)='./bus\x00', 0x0, 0x0) readv(r0, 0x0, 0x0) r1 = open(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) dup2(r1, r0) syz_emit_ethernet(0x3e, &(0x7f00000001c0)={@broadcast, @remote, [], {@ipv6={0x86dd, {0x0, 0x6, '`b`', 0x8, 0x0, 0x1, @remote={0xfe, 0x80, '\x00', 0x0}, @local={0xfe, 0x80, '\x00', 0x0}, {[@fragment={0x3c, 0x0, 0x9a, 0x0, 0x0, 0x8, 0x64}]}}}}}) 4.188798936s ago: executing program 1 (id=228): mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./file1\x00', 0xa7210e10bc3c9def) r0 = openat(0xffffffffffffff9c, &(0x7f0000000080)='./file1\x00', 0x0, 0x0) r1 = open(&(0x7f0000000100)='.\x00', 0x0, 0x0) mkdirat(r1, &(0x7f0000000540)='./file0\x00', 0x184) mknodat(r0, &(0x7f0000000000)='./file1\x00', 0x0, 0x0) renameat(r1, &(0x7f00000025c0)='./file0\x00', r1, &(0x7f0000002600)='./file1\x00') mkdirat(r0, &(0x7f0000000380)='./file0\x00', 0x80) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x462, 0x0) ioctl$BIOCSETIF(r2, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) mkdir(&(0x7f0000000080)='./file0\x00', 0x0) setreuid(0xee00, 0x0) r3 = getuid() chown(&(0x7f0000000180)='./file0\x00', r3, 0xffffffffffffffff) r4 = getuid() setreuid(0x0, r4) chmod(&(0x7f0000000080)='./file0\x00', 0x2ea) chdir(&(0x7f0000000100)='./file0\x00') mkdir(&(0x7f0000000040)='./file2\x00', 0xc1) mkdir(&(0x7f0000000300)='./file2\x00', 0xc2) rename(&(0x7f0000000400)='./file0\x00', &(0x7f0000000140)='./file2\x00') socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000440)={0xffffffffffffffff}) getsockopt$sock_int(r5, 0xffff, 0x1002, 0x0, 0x0) read(r2, &(0x7f0000000340)=""/249, 0xf9) pipe(&(0x7f0000000100)) r6 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000080), 0x8000, 0x0) close(r6) open$dir(&(0x7f0000000040)='./file0\x00', 0x200, 0x41) socket$inet(0x2, 0x2, 0x0) r7 = socket$inet(0x2, 0x2, 0x0) getsockopt$inet_opts(r7, 0x0, 0x17, 0x0, 0x0) 4.118618879s ago: executing program 1 (id=231): r0 = socket(0x2, 0x2, 0x0) ioctl$VMM_IOC_RESETCPU(0xffffffffffffffff, 0x82405605, &(0x7f00000003c0)={0x8, 0x5a46, {[0x2faa, 0x80000001, 0x10, 0x65, 0xc, 0x46, 0x8, 0x4, 0x6, 0x0, 0x6, 0x80000000, 0x2, 0xb, 0x69ca, 0x2, 0x3ff, 0x6], [0xffffffffffff0000, 0x40000000, 0x0, 0x4, 0xb2b6, 0x6c7d, 0xffffffffffffffff, 0x8000000000000001, 0xfffffffffffffff9, 0x80], [0x7, 0xe, 0x9, 0x5, 0x81, 0x8, 0x7], [0x10000, 0x7, 0x5, 0x7fffffffffffffff, 0xfffffffffffffffc, 0x7], [{0x2f, 0x4, 0x6, 0x1}, {0x9, 0xffffffff, 0xffffffff, 0x9}, {0x2, 0x1, 0x9, 0x1}, {0x1, 0x4, 0x1, 0xfd}, {0x1, 0x0, 0x0, 0x6}, {0xf, 0x0, 0xe3, 0x1}, {0x100, 0xffffff8e, 0xa, 0x1}, {0xe, 0x7, 0x7, 0x8}], {0x6, 0x7fffffff, 0x7, 0x6}, {0x56d7, 0xfffffff4, 0xfff, 0x80000000}}}) setrlimit(0x8, &(0x7f0000000180)={0xa, 0x8000}) r1 = syz_open_pts() close(r1) syz_open_pts() ioctl$TIOCSETAF(r1, 0x802c7416, &(0x7f0000000100)={0x809789, 0x800, 0xd3, 0x80a19f, "bf08000100f1675910812cc900", 0x0, 0x100}) r2 = socket(0x11, 0x3, 0x0) sendto$unix(r2, &(0x7f0000000000)="b1000502000000000000000001010000331c13fecea10500fef96ec0c72fd3355ae30200004e3003000000acf20b7804bec256699a1f139b672f4d335c223e7d0c032bfa896443a42102000000720fd18bfbb670c1f5a872c881ea6e2ec5aa0400000000008700361b4cc702fac500002021fbfa0c0f00008abf3a2271a3f834371205d3660400"/177, 0xb1, 0x0, 0x0, 0x0) select(0x40, &(0x7f0000000000)={0xfffffffffffffffd}, 0x0, 0x0, 0x0) writev(r1, &(0x7f0000000700)=[{&(0x7f0000000080)="34eb4cd59e8456ebc0881681c60e1cd9e0bf01b618b3cb934394c5951c1db0fd943a", 0xff99}], 0x1) dup(r0) mquery(&(0x7f0000ff4000/0x9000)=nil, 0x9000, 0x2, 0x0, r0, 0x33a8) 4.010683373s ago: executing program 1 (id=238): r0 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000000000), 0xa0, 0x0) ioctl$WSDISPLAYIO_GETSCREENTYPE(r0, 0xc028575d, &(0x7f00000000c0)={0x0, 0xfffff5dc, './file0\x00', 0xa0000000, 0x4, 0x7, 0x9}) (async) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000280), 0x10, 0x0) fcntl$lock(r1, 0x9, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x2}) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000080), 0x40, 0x0) ioctl$BIOCSETIF(r2, 0x8020426c, &(0x7f0000000300)={'tap', 0x0}) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000000c0)={0x3, &(0x7f0000000340)=[{0x30, 0x1, 0x0, 0x7}, {0x40, 0x0, 0xf9}, {0x6, 0x5, 0x2, 0x4}]}) (async) r3 = open(&(0x7f0000000480)='./file0\x00', 0x80000000000206, 0x4ebfac6bbaf7817) writev(r3, &(0x7f00000006c0)=[{&(0x7f0000000180)='#!\nYT', 0x5}], 0x1) (async) execve(&(0x7f0000000140)='./file0\x00', 0x0, 0x0) (async) mprotect(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x1) (async) ioctl$BIOCSETF(r2, 0x80104267, &(0x7f00000000c0)={0xfffffffffffffe53, 0x0}) (async) syz_emit_ethernet(0x3e, &(0x7f0000000100)=ANY=[]) (async) sysctl$net_inet_icmp(&(0x7f0000000000)={0x4, 0x2, 0x1, 0x7}, 0x4, 0x0, 0x0, &(0x7f0000000080), 0x0) (async) r4 = openat$zero(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) fcntl$lock(r4, 0x9, &(0x7f0000000040)={0x0, 0x1, 0x0, 0x1000300000004}) 3.973422509s ago: executing program 1 (id=242): r0 = socket(0x11, 0x3, 0x0) shmctl$IPC_SET(0xffffffffffffffff, 0x1, &(0x7f00000000c0)={{0x3, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}, 0x0, 0x0, 0xffffffffffffffff}) r1 = kqueue() kevent(r1, &(0x7f0000000040), 0x139, 0x0, 0xffffffff, 0x0) setitimer(0x0, &(0x7f0000000140)={{0x0, 0x8}, {0x0, 0x7fff}}, 0x0) setitimer(0x0, 0x0, 0xffffffffffffffff) r2 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000000000), 0x10, 0x0) ioctl$VT_GETMODE(r2, 0x40087603, &(0x7f0000000040)) sendto$unix(r0, &(0x7f0000000280)="b1000504600000000000000007000000331c13fecea10500fef9ed061ddd1efb7ae320b37b673039d2d236073705ae04be38164991f7b85143222b297be1aa5b236deb51e2f0ac3ebbc257699a5f139b672f4d335d223e7d029d6ba8af630037282102000000720f70c1f5a472c881ea6e69e0bb76d907a900000200361b1257aea8c5000020020000000000008abfba090008effffeffffff3512b132ae037503682ce371a300803712051eadb71d89e0", 0xb1, 0x0, 0x0, 0x0) 3.755958744s ago: executing program 1 (id=245): r0 = syz_open_pts() ioctl$TIOCSTAT(r0, 0x20007465, 0x0) (async) ioctl$TIOCSETD(r0, 0x8004741b, &(0x7f0000000080)=0x9) ioctl$TIOCSETD(r0, 0x8004741b, &(0x7f0000000180)=0x9) r1 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000100), 0x2, 0x0) r2 = dup(r1) write(r2, &(0x7f0000000180)="2187d7da99581df0cf9ebe4437797a5c34124b1cdc6ff4cf0911da8a88dced86f0ce42d1d61c4c41fcf6c086a61dd246294a4c72a641285dc97fa62c5232ab9e9259ee31287b7e0db9d4794cfa26d90db843f992bc26bde5f24cf2d9b964b59a2b6bc36b8d0136797e2a892633f0d5443baf7160848168d6ddde5b4aa932745cbb75a5a262f90d743322f484c05db82fbe04b278098e2f7fb6866aa8cdc65e60eb19c846c7032efd411ce310ccc228eb43469ce8bd81324cd7156fa1328d4948ba2d6249f31d95171b89a35c2a854bffd48f420de8761bee9c65b7023c6a50", 0xdf) (async) execve(0x0, 0x0, 0x0) socket(0x21, 0x4000, 0xf) (async) execve(0x0, 0x0, 0x0) (async) r3 = socket(0x2, 0x3, 0x0) (async) writev(0xffffffffffffffff, &(0x7f0000000580)=[{&(0x7f0000000000)="c886b4d3e0", 0x5}], 0x1) (async) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) (async) chflags(&(0x7f0000000040)='./file0\x00', 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) connect$unix(r3, &(0x7f0000000000), 0x10) write(r3, &(0x7f0000000080)="04bdfa5d1d2873c63e3534825ba166e2fea9aec43050006123339a346f731573d8d508753f95b7688ad48b8cf6bbca325cebc37fc4e1dd543dbe2da6dd", 0x2000) 3.755700282s ago: executing program 6 (id=246): mkdir(&(0x7f0000000500)='./file0\x00', 0x0) chmod(&(0x7f0000000180)='./file0\x00', 0x23f) chdir(&(0x7f00000001c0)='./file0\x00') setuid(0xee01) r0 = open$dir(&(0x7f0000001240)='.\x00', 0x0, 0x0) mkdirat(r0, &(0x7f0000000100)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x18c) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x180) rmdir(&(0x7f0000000000)='./file0\x00') renameat(0xffffffffffffff9c, &(0x7f0000000600)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', r0, &(0x7f0000000240)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00') 3.754521079s ago: executing program 6 (id=247): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) mkdir(&(0x7f0000000000)='./file0\x00', 0x0) chmod(&(0x7f0000000280)='./file0\x00', 0x3a) chdir(&(0x7f0000000240)='./file0\x00') setreuid(0x0, 0xee01) mkdir(&(0x7f0000001300)='./file1\x00', 0x1) rename(&(0x7f0000000080)='./file1\x00', &(0x7f0000001340)='./file0\x00') r0 = socket(0x18, 0x3, 0x0) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0/file0\x00', 0x0, 0xfffffde2, 0xffff, 0x0, 0x24, 0xf, 0x1, 0x0, 0x0, 0x1, 0xf1a}) r1 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000200)={0x3, &(0x7f0000000140)=[{0x3, 0x5, 0x6, 0x6bf}, {0x9, 0xb0, 0x0, 0x1}, {0xffff, 0x2, 0x83, 0xd}]}) r2 = socket(0x18, 0x3, 0xfb) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) ioctl$FIONREAD(r2, 0x8080691a, &(0x7f0000000100)) select(0x40, &(0x7f0000000040)={0x1, 0x9, 0x51, 0x9, 0x0, 0x4, 0x754, 0x3ff}, &(0x7f0000000080)={0x5, 0x9, 0xa00000000, 0x9, 0x9, 0x7ff, 0xfffffffffffffff7, 0x2}, &(0x7f00000000c0)={0x0, 0x9, 0x1, 0x2, 0x200, 0xe553, 0x2, 0x3}, &(0x7f0000000240)={0x1, 0x5}) ioctl$FIONREAD(r0, 0x81206919, &(0x7f0000000100)) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) (async) mkdir(&(0x7f0000000000)='./file0\x00', 0x0) (async) chmod(&(0x7f0000000280)='./file0\x00', 0x3a) (async) chdir(&(0x7f0000000240)='./file0\x00') (async) setreuid(0x0, 0xee01) (async) mkdir(&(0x7f0000001300)='./file1\x00', 0x1) (async) rename(&(0x7f0000000080)='./file1\x00', &(0x7f0000001340)='./file0\x00') (async) socket(0x18, 0x3, 0x0) (async) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0/file0\x00', 0x0, 0xfffffde2, 0xffff, 0x0, 0x24, 0xf, 0x1, 0x0, 0x0, 0x1, 0xf1a}) (async) socket(0x1, 0x2, 0x0) (async) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) (async) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000200)={0x3, &(0x7f0000000140)=[{0x3, 0x5, 0x6, 0x6bf}, {0x9, 0xb0, 0x0, 0x1}, {0xffff, 0x2, 0x83, 0xd}]}) (async) socket(0x18, 0x3, 0xfb) (async) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) (async) ioctl$FIONREAD(r2, 0x8080691a, &(0x7f0000000100)) (async) select(0x40, &(0x7f0000000040)={0x1, 0x9, 0x51, 0x9, 0x0, 0x4, 0x754, 0x3ff}, &(0x7f0000000080)={0x5, 0x9, 0xa00000000, 0x9, 0x9, 0x7ff, 0xfffffffffffffff7, 0x2}, &(0x7f00000000c0)={0x0, 0x9, 0x1, 0x2, 0x200, 0xe553, 0x2, 0x3}, &(0x7f0000000240)={0x1, 0x5}) (async) ioctl$FIONREAD(r0, 0x81206919, &(0x7f0000000100)) (async) 3.692996817s ago: executing program 6 (id=252): mkdir(&(0x7f0000000040)='./file0\x00', 0x0) (async, rerun: 64) chroot(&(0x7f00000001c0)='./file0/../file0\x00') (async, rerun: 64) r0 = kqueue() kevent(r0, &(0x7f00000000c0), 0x138, 0x0, 0xffffffff, 0x0) (async) sysctl$net_inet_tcp(&(0x7f0000000000)={0x4, 0x2, 0x6, 0x2}, 0x4, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) (async) sysctl$net_inet_ip(&(0x7f0000000000), 0x4, 0x0, 0x0, &(0x7f0000001100), 0x4) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) preadv(r1, &(0x7f0000000080)=[{&(0x7f0000000480)=""/240, 0xf0}, {&(0x7f00000000c0)=""/170, 0xaa}, {&(0x7f00000002c0)=""/229, 0xe5}], 0x3, 0x0) (async, rerun: 64) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, 0x0) (rerun: 64) syz_emit_ethernet(0x52, &(0x7f0000000080)={@local, @random, [], {@ipv6={0x86dd, {0x0, 0x6, '\x00', 0x1c, 0x0, 0x0, @rand_addr="fe350e28ef0900c08cfe24be00", @local={0xfe, 0x80, '\x00', 0x0}, {[@dstopts], @tcp={{0x0, 0x0, 0x41424344, 0x41424344, 0x0, 0x0, 0x5}}}}}}}) (async, rerun: 32) sysctl$net_inet_ip(&(0x7f0000000040), 0x4, 0x0, 0x0, &(0x7f0000000180)="53f26aef7623ba3c93334d8028df9ef5ea234abf5ea8361356fc962ad17ade4d7dc249ea77aae57a39db576b16027c1a64a5beaba2001c5b2d7b453de5f7424c4c62d4a67fb459311f1e9c4e6571f58fcddf60ce42fc125005877a91ba6ce4f1d95e5c1f9a862ade829bcac5d45bbf9fd8747282663997f4a2e5848cd9449e9f1eb2", 0x82) (rerun: 32) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x10000000000001}}) (async, rerun: 32) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) (async, rerun: 32) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) (async) r2 = socket(0x18, 0x1, 0x0) (async) mprotect(&(0x7f00006a5000/0x3000)=nil, 0x3000, 0x0) close(r2) (async) r3 = syz_open_pts() ioctl$TIOCSETA(r3, 0x802c7414, &(0x7f0000000000)={0xfff, 0x361ce467, 0x340a, 0x0, "10d80100f63507000000000004347b038500", 0x8000, 0x3ff}) readv(r3, &(0x7f0000000240)=[{&(0x7f00000000c0)=""/118, 0x76}], 0x1) syz_open_pts() (async, rerun: 32) r4 = socket(0x18, 0x2, 0x0) (rerun: 32) setsockopt(r4, 0x1000000000029, 0x3f, &(0x7f0000000040)="00fb6c4f", 0x4) (async) connect$unix(r2, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) sendto(r4, &(0x7f0000000200)="0e330b4bede90af3", 0x8, 0x0, 0x0, 0x0) (async) fcntl$lock(r1, 0x7, 0x0) (async) madvise(&(0x7f00003e0000/0x3000)=nil, 0x3000, 0x6) (async) open(&(0x7f0000000080)='./file0\x00', 0x40, 0x0) 3.689284595s ago: executing program 6 (id=255): getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0, 0x0}, 0xc) r3 = accept$inet(0xffffffffffffffff, 0x0, &(0x7f0000000040)) getsockopt$sock_cred(r3, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, &(0x7f00000000c0)=0xc) lseek(0xffffffffffffff9c, 0x5, 0x2) fcntl$lock(r3, 0x8, &(0x7f0000000100)={0x2, 0x2, 0x1, 0x14, r0}) close(r3) recvmsg(r3, &(0x7f0000000300)={&(0x7f0000000140)=@in6, 0xc, &(0x7f0000000280)=[{&(0x7f0000000180)=""/253, 0xfd}], 0x1, &(0x7f00000002c0)=""/32, 0x20}, 0x40) ioctl$FIONREAD(r3, 0x4004667f, &(0x7f0000000340)) r6 = open$dir(&(0x7f0000000380)='./file0\x00', 0x80, 0x20) ktrace(&(0x7f00000003c0)='./file0\x00', 0x2, 0x10, r4) r7 = dup(r6) getsockopt$SO_PEERCRED(r3, 0xffff, 0x1022, &(0x7f0000000400)={0x0, 0x0, 0x0}, 0xc) fchown(r6, r9, r2) getpeername$inet(0xffffffffffffffff, &(0x7f0000000440), &(0x7f0000000480)=0xc) poll(&(0x7f00000004c0)=[{r3, 0x80}, {r6, 0x1}, {r3, 0x4}, {r7, 0x8}, {r7, 0x20}], 0x5, 0x10000) fcntl$lock(r3, 0x8, &(0x7f0000000500)={0x3, 0x0, 0x30a, 0x7fff, r0}) getpeername$inet(r3, &(0x7f0000000540), &(0x7f0000000580)=0xc) getsockname$inet(r7, &(0x7f00000005c0), &(0x7f0000000600)=0xc) sendto$inet(r3, &(0x7f0000000640)="507844be312fb2c704e0811e8466ef7c4fd14b9530aa70af7cdbcb811f01b0635e76a3e6be6cb0281ba41f98cfa43935bdf2c0a19a5804750f655c4ed89c775bf5eab7d4eb35f3ce53caed5260537a9961f104824893e2ed82a8563b392c25d9600ea871a1882e532dfada97a36a48efc1c3b701c4d0cdb1c51bd87a06f6c8da274d7bce", 0x84, 0x0, &(0x7f0000000700)={0x2, 0x1}, 0xc) r11 = msgget(0x2, 0x24) r12 = geteuid() msgctl$IPC_SET(r11, 0x1, &(0x7f0000000740)={{0xf, r1, r2, r12, r10, 0x40, 0x1a8}, 0x80000000, 0xf33b, r4, r0, 0x10, 0x8, 0xf, 0x2f488661}) r13 = socket(0x66, 0x0, 0x73) r14 = getpid() fcntl$setown(r13, 0x6, r8) shutdown(r13, 0x2) r15 = msgget(0x2, 0x511) getsockopt$sock_cred(r3, 0xffff, 0x1022, &(0x7f00000007c0)={0x0, 0x0, 0x0}, &(0x7f0000000800)=0xc) msgctl$IPC_SET(r15, 0x1, &(0x7f0000000840)={{0x0, r9, r16, r1, r5, 0x105, 0xf001}, 0x3, 0x40, r14, r0, 0x3ff, 0x100000001, 0x10, 0x400}) ioctl$VMM_IOC_INFO(r7, 0xc0185603, &(0x7f0000000900)={0x7, 0x0, &(0x7f00000008c0)=""/7}) 2.828227318s ago: executing program 6 (id=275): r0 = socket$inet(0x2, 0x1, 0x0) (async) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_int(r1, 0xffff, 0x1001, &(0x7f0000000000), &(0x7f0000000140)=0x4) (async) syz_emit_ethernet(0x46, &(0x7f0000000100)={@local, @local, [], {@ipv6={0x86dd, {0x0, 0x6, '\x00K\x00', 0x10, 0x2b, 0x0, @remote={0xfe, 0x80, '\x00', 0x0}, @rand_addr="607ba243b19d8e9ea241f577704405b6", {[@dstopts={0x3a, 0x0, '\x00', [@generic={0x0, 0x2, "f997"}]}]}}}}}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) getsockopt$sock_int(r0, 0xffff, 0x100, &(0x7f00000000c0), &(0x7f0000000140)=0x4) 2.823080871s ago: executing program 6 (id=278): openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r0 = socket(0x18, 0x3, 0x0) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0/file0\x00', 0x0, 0xfffffde2, 0xffff, 0x0, 0x24, 0xf, 0x1, 0x0, 0x0, 0x1, 0xf1a}) r1 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000200)={0x3, &(0x7f0000000140)=[{0x3, 0x5, 0x6, 0x6bf}, {0x9, 0xb0, 0x0, 0x1}, {0xffff, 0x2, 0x83, 0xd}]}) r2 = socket(0x18, 0x3, 0xfb) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) ioctl$FIONREAD(r2, 0x8080691a, &(0x7f0000000100)) ioctl$FIONREAD(r0, 0x81206919, &(0x7f0000000100)) r3 = socket$unix(0x1, 0x2, 0x0) ioctl$FIONREAD(r3, 0x80206979, &(0x7f0000000000)) r4 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) kevent(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, &(0x7f0000000240)={0x0, 0x2}) sendmsg$unix(0xffffffffffffffff, &(0x7f0000002a40)={&(0x7f0000000000), 0x10, 0x0}, 0x0) open$dir(&(0x7f0000000080)='./file0\x00', 0x200, 0x0) r5 = socket(0x18, 0x3, 0x0) close(r5) r6 = dup2(0xffffffffffffffff, r4) sendmsg$unix(r6, &(0x7f0000001700)={0x0, 0x0, 0x0}, 0x0) ioctl$BIOCSETWF(r6, 0x80104277, &(0x7f0000000200)={0x1, &(0x7f00000001c0)=[{0x4, 0x7, 0x8, 0xffffffff}]}) socket(0x2, 0x2, 0x0) ktrace(&(0x7f0000000280)='./file0\x00', 0x0, 0x4000020a, 0x0) writev(0xffffffffffffffff, &(0x7f0000000180)=[{&(0x7f0000000000)="9da8e3e9ed", 0x5}], 0x1) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r7 = syz_open_pts() ioctl$TIOCSTAT(r7, 0x20007465, 0x0) ioctl$TIOCSETD(r7, 0x8004741b, &(0x7f0000000080)=0x9) 2.007231198s ago: executing program 2 (id=294): r0 = open(&(0x7f0000000040)='./file0\x00', 0x70e, 0x0) r1 = dup(0xffffffffffffff9c) ioctl$TIOCFLUSH(r1, 0x80047410, &(0x7f0000000080)=0x9) setsockopt(0xffffffffffffffff, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd31", 0x8) r2 = socket$unix(0x1, 0x2, 0x0) ioctl$FIONREAD(r2, 0x80206979, &(0x7f0000000000)) preadv(r0, &(0x7f0000000340)=[{&(0x7f0000000240)=""/229, 0xe5}], 0x1, 0x0) 1.998988468s ago: executing program 2 (id=295): ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000180)={'tap', 0x0}) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000440), 0x1, 0x0) open(&(0x7f0000002600)='./file0\x00', 0x78e, 0x0) r1 = getpid() setgroups(0x0, 0x0) ktrace(&(0x7f0000000000)='./file0\x00', 0x0, 0x510, r1) setuid(0xffffffffffffffff) r2 = socket(0x2, 0x1, 0x0) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) mquery(&(0x7f0000ffa000/0x3000)=nil, 0x3000, 0x1, 0x0, 0xffffffffffffffff, 0xf) shutdown(r2, 0x0) setrlimit(0x1, &(0x7f0000000980)={0xff, 0xd21}) recvmsg(r2, &(0x7f0000000340)={0x0, 0x0, &(0x7f0000000180), 0x1a, 0x0}, 0x842) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) ioctl$BIOCSETWF(r0, 0x80104277, &(0x7f0000000040)={0x4, &(0x7f00000001c0)=[{0x30, 0x0, 0x4, 0x1}, {0x16, 0x5, 0x3, 0x80000000}, {0x2, 0x1, 0x7b, 0x3}, {0x4, 0x2, 0x8, 0x6}]}) sysctl$kern(0x0, 0x0, &(0x7f00000000c0)="065f97e8729887624809b6a74b69944d0d815532d81c4746c48f5c1c658aefd161e5cf87", &(0x7f0000000080)=0x24, 0x0, 0x0) r3 = syz_open_pts() fcntl$lock(r3, 0x9, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x1000300000000}) flock(r3, 0x1) flock(r3, 0x2) fcntl$lock(r3, 0x8, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x100000001}) mprotect(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x1) ioctl$BIOCSETWF(r0, 0x80104277, &(0x7f0000000140)={0x0, 0x0}) write(r0, &(0x7f0000000180)="d871819e2673b7e5c70000000000", 0xe) 1.632969285s ago: executing program 3 (id=319): r0 = fcntl$dupfd(0xffffffffffffffff, 0x0, 0xffffffffffffff9c) r1 = openat$vmm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) ioctl$VMM_IOC_RESETCPU(r0, 0x8210560b, &(0x7f0000000280)={0x2, 0x0, {[0x6, 0x0, 0x0, 0x0, 0x80000001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x78f370a1], [], [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6], [0x0, 0x6], [{}, {0x40}, {}, {0x0, 0x3, 0x0, 0xa}, {}, {0x0, 0x0, 0x0, 0x10000}, {0x0, 0x0, 0x0, 0x10000000000}, {0x0, 0x0, 0x6}]}}) (async) ioctl$VMM_IOC_RESETCPU(r0, 0x8210560b, &(0x7f0000000280)={0x2, 0x0, {[0x6, 0x0, 0x0, 0x0, 0x80000001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x78f370a1], [], [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6], [0x0, 0x6], [{}, {0x40}, {}, {0x0, 0x3, 0x0, 0xa}, {}, {0x0, 0x0, 0x0, 0x10000}, {0x0, 0x0, 0x0, 0x10000000000}, {0x0, 0x0, 0x6}]}}) sysctl$net_inet_ip(&(0x7f0000000300)={0x4, 0x2, 0x0, 0x25}, 0x4, 0x0, 0x0, &(0x7f0000001480), 0x0) openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000400), 0x401, 0x0) (async) r2 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000400), 0x401, 0x0) ioctl$WSMUXIO_LIST_DEVICES(r2, 0xc1045763, &(0x7f0000000380)={0x7, [{0x3, 0x3}, {0x3, 0x331}, {0x1, 0x9}, {0x3, 0x100}, {0x2, 0x3}, {0x2, 0x2}, {0x3, 0x6}, {0x1, 0xfffff000}, {0x0, 0x9}, {0x2, 0x6c}, {0x1, 0x8}, {0x1, 0x7}, {0x2, 0x5}, {0x1, 0x8}, {0x1, 0x200}, {0x2, 0x6}, {0x2, 0x8000}, {0x2, 0x5}, {0x3, 0x1}, {0x1, 0x3}, {0x1, 0xd390}, {0x1, 0xd358}, {0x3, 0x1}, {0x1, 0x1}, {0x2, 0x7}, {0x2, 0x9}, {0x2, 0x3}, {0x3, 0xd}, {0x3, 0xf}, {0x3, 0x1}, {0x2, 0x9}, {0x2, 0x569}]}) r3 = socket(0x18, 0x1, 0x0) ioctl$FIONBIO(r3, 0x8004667e, &(0x7f0000000200)) fcntl$lock(r0, 0x9, &(0x7f0000000040)={0x0, 0x0, 0x20000000000000, 0x8000000000000009}) r4 = open(&(0x7f00000000c0)='./file0\x00', 0x615, 0x0) writev(r4, &(0x7f0000001480)=[{&(0x7f0000000100)="cc60d3d79a1a7122a5fb9de9ea6ca0b30fb2942ef7652736f10f86d45ae419b2ecf7af93d33b3de1f2c56c0d93da7484095d0d543baf7f0161a025c9c02a561f9a76d06f1eaec7d8df99d6c28b10fa891e47d6c3bba690a611889032ac7b3581d7c92d1c546e59764f069048316871794f0615dd4d8bb1057a61fb177be649004fb56a7d46c856a20d73f050bf29d58b803a676cc3761e8a47857f51d90a4465f9c605ab2829d78ea2571900", 0xac}, {&(0x7f0000000080)="b389e5ae", 0x4}, {&(0x7f0000000200)="5f6a8de84b4c523a583f91557c748a02cda4cedf13579996073843ec5cbabaadcec85d62a8a897a78307f3d2c30eea6356105ec8aaba86930f1aed0b3d111d", 0x3f}, {&(0x7f0000000240)="2a5f4cd9b73c31d629e8d68e605e5940744ef138960b671d42c56f79fcb70549247e5504e02f85a6099eff9291731e94399a7e966e783d4073ecd5dc8e540f32190bb47050aee3907495ecf7708d1c295a0836f79ba03ea13db12836c2441989726ffbf7fd1da55bfe2caaf081a1ef55599935c0e60cb0866ee48d420b77a6e269bc30b2650349e16792252c6be8bcc6e9ce2b941299ab505e4779fa1960bb7cf924dcbc53c82e76bcd80731a694d12e8a139d8ecef6f5560939054b7842d25cd7396377f39bcfe2a2383feea17b87393cd892b90742631718b1877d8d83d5f66587e3e5b1e129433ead750143a4c51aa46e78e3b1a54a4634eea2846511719b1637b19ea8c96a95332abd69014f53e91a7319a36efb4052387dc6330aa00b5680142650e8dab5eb6b83ff7d0bbf1293338a8d3e8a6dcd7ed4916279eac230dda46e6fcdebe8a4c12d598883d9392da05791e153d905ce1930aebfc5dfc0fc22a88777c9fbc24c0b021189c3503466bf850f59e6649dd0b40d935ba155a9d7e065df6d90a500be9d7e1e77607d495898a8d6c9c48dda88533e75e760dceae91d670f97ebbe68b845c72eb698a9e0389b15cfe768cd4e524dbe939bc2d8363ae3b71a454a0a0378cd1f36565ab9d1b92263688195df65151ee9b8158c7a5280019a38f00ea05142b3cc832ece46e326e36a55d7a30f866ca97da61a3877612f0d9f23c052edf60a430d3a9acbae3d9f14f22f38a1eeac7df37ae17748a960b9e0d265bf6cdec73bd2a7b5f25035d845d936936cbfe6f013f8d7c73eba2bd9876ff6db3224e50e75c051979f4cdc41d28ea54e28f560fb0291cd6b6ba527e0f358ffa46b988f0bdbf801063d2024380071709ac00ed463e08fd1718a857b567d8b3eda143915e943d9530d25ed15743e117be375dc08e241328a53fa05b58c7c72a35d471a72706afce82b6c57eef81444269e06338bfd0af6f6ef6479dcc26aab0b10c7e58572aa507a69831d63c78c947cecda2c57bb8ae6b2ad7862d160b423de941be69928467db10ee4817536196ad0c5cc02a74ba1a1fb467e472f025f200846112b6b3efd298284d8c0cc498fb9203db18e48e34c137d1285120d809a774d56a62b3dbe8f202cb9cf18c33099f5b9651fc7ae41de53842f327fd40bcfaa601a791da1103351a64cc9815ff1f32cde6fbfe4c92f55a9aff41c055d4edce9c656ecd1becb9035bb8bd46cf47bca0dcb1848da94d05d1475c83a48c02f8f808597eaa9e88a4e4b12d0ef95458eeab115cb189fa7e368186bb68610af4651e27feab061c4ada46e8c12d6d33fe32cd40485b02120418a9aaba8f04c17ea1abdcb9e6801f5d8090c0780b3b5ae4382efbb64f62c825527b7e3d60ad9c73ba7f174ea7c7f2d155808052a0ef6ab2af85cf9a758a8c1227c85f2986fc06c5f54807968b18b6b5f9168d0b2de2728689d75f0efaedf79bd8bbbbc1d46b0f6072d46d46687bc92c0b16c4ad36c3fe4c7a2fde0cfec859052dd78d841464a6b4432342ea973bf18f1f5abd7b2fe7962faef39ff38bd88a40dbab0f8c08541e38efe924f9ec1addbd47362e349bfca42fd62cf18fef8db7d3cbf0b1733d37dcdae5b9c738b8426a1cfa205c9671870210508c614f256d199fb822613518b1a6fccfee08c48f0feae1ca4baaf0a02635282d4f630a8df115dc73e72d9f7b8feb4333b2c796f1d3f2cfb398ba1e9c81584185b8b578bac3c64d667da7d91062f0c2ccec0c9d09e0c15c62e7bc509c3204d054c22d4eac685626e48e25cff2fc382279d9cb941c2ca182b1f65b05ff05db880a37b1e7f9b3d8975558858352bbbea9213a885b7d43451230e0624403baa77839baa33ae92de771ca76319c2353e9f98ea8191fbb686aed6d08e87bcc2bb8084ae02fafbac1a0bba93f0f155fa2d7bc21bf77f116429c6a1373c34d080518b73481fcf012c0a9127e8f174695ccd4add75b026bf2935990d5cebc4e74b97ae67a414029252336880232635fce7ed7bf0b069e08e10f7e1cc4d2973dcd2ea0b63f9dc4f4c2db92e03c553afcb1060b12f6b9b4d1d799edceefdfafdae63ad797e400645c149b20f8a10af54db3289441499e122413495c7b32179ab6c274bbdf6dde48ce26f46f07ede9a314c1a73669ee8cb0d854c8a3206dcd4f532d36fa7affca1226962e20ca2c6ca0da1ab0848d23d6f198681911592815c080cead9fe6c81cf0d7ce3578978dbf1dc2f1902e51f740f95b02ebff4cf25ac8d28b8e16998f5e329e9a377a82b5bc227f77c2f1ad505286aac8618799c2363a2d07d229519370be62ef0dde6525df45a7b807759b9ba1c85579dbecb429432c4e1a84094edda567f1245ba887686342d0a31b7dbe09bd2be75516b255d2bfad9337649e86a29b0a19e16b4059c7c45e9f81db6780af6487a11f9088ea265a99d6e95535e14fe839945f8f7da9bf9142dd12c305bd41bb392cae8eb81b28fda176d4b538f4ddaaed47913cd9149d934ca36879718bbd76a2d7ce11e6294398ea433af6cf53b951974ec96a9527178b6cbad3088a2e2dc75113fa88ede462e68b4d6b63020a45e94fbc6c3e6677d6cffee0e3bf606cd2d4b9fac89f91db8f3a1fb9f506708314249fa5c36912e3cb281acbdec3b080735ae24ebb4bca3c7900c21175435afbe5024a706e90f8ecf257c99cd8b67b5a9c2bdc2bb624201f55882349526f8faf463eecb183635db72a6aef5fa2048d97e6f6c513598f49158050df1efc6b13b8ae396cd6a905c26b94d1d50d361f10c0362a8c206c7dd553dd8b116694aa82ac029c64aa71b8a307793da12f93ce030d3c42443c37b91043687befb7968da97ffe91d45e4fd506ba4d9c5d7fe5ac7433fb6bb3ce471f59ade734d109d2093fa119827b65a360f2128e7e85ab494609b60d6e236ed8a72984f6c75652f5baa07e2e921365af2b819eef58343e65ffb45ba8580d62f5b8a9988f7176c1559f8ede3b1b92e0ff27978fc5225ed1512b605f1fd4fce46e768970b11a7b4802c93eb05a8571887cdc15f69929eadcd1f9d08ed2d6aab2997ffa2102c2d8983a78ad43779d03aa612ecbbdde634b14e980b176f04f99efad82a04001f34d6addb89e0ce629856f5ad401fed1a2c046e1fe18741b24d4253830af94a1defeecdf6f70b430e48d7b2e4ae2fb331322d96e1a361e4dcae1d0865e7ccc4aa58bcbb3ad1ce0b294437887e03088a6bb4c92c3044bb33d2a893975023ad979fb2f84d4842326cf058595398779116245c452e54989df0591238af63c5b187d18457f008f2759ae470282ee4640e92639a46915fb67f22967beb1f46736aa9c90df08f39ee481f6859f9eafdecd473bdc24ef3ad71b4c54dde360f2d550db18af7589c8107f29b0a513b65f039da10c2dc55e408ce75c77aba97c116ab078ed1467464fe4041668228316f0fff7c0e0f1a3cc47aae570182197cc3a030a4af7fe2d401b5a13d59b8fe55d48b0667b782cbf1c2e9e491167d87830bb25008aff93c4459a3ce9fd8655a542c6311d91ec6b6bd7935aba1cd01d10439f5e5a3883566c8538edb97c5d2a7c7533d415973729f52dc03134f3d777b7ad07c0f5b0d985ca48fde6cce9ec99f1223f476dcfbb5ef865a3f54459415b25e2031eeb469c83ac68fd77e59c6b6a4b9543a943c4461e47e94d038c63abf2734a3c0e99b95505e13af6cf7b66840dc60e96fb218436ea00b4a577c2effdba43e6adf97cb47c0ce606e87a7834dec04396c1e4f7df59ae5acedfd1d68c87e405fc5d788884686270cb08f0fb15fe8b11589792f9afc11152cd45f43fac6e758588cfaa88874267c3096bd689108bbb0296f3d182df7d46cf7e6b8bb923ba887443c3d2211785e364c1e55d4e9396d950e50cc11ba9a4da70a64f6acbbcd421183eb2c0521054c4f39650409e21a9d3b781725b0c38abce7b4615fa64a9cbf71a19f7e414279a7494d2e66e4e2b2d5ce7027109cfc763a9dcac37065ae80ec0cf3962deec0f9eba3bd7c514a9854ddec6542cf60a1e69cf5d1a73239633675d4ac1f3b0758e69d1d9fb8659f43f07ef6b0b2a7c9740649198b44f3272a8810d374b00c1d49b7f667ed538d89e91e5734f8d6e270aef0a406fcb4072497dd5f25b49d31cfd64f7af2d5b4df72b74c39a66f442ae61aebe1cdb96b660e3248dad3d05bfce3d8630902a565c3a7636220e0435679ce1c45367570dd08722ddfe7f1bf56c44bcab8ef2d0979eeaa569dade4ec34751833d455b31b55edcb9b64f3045725fcd3a08ce0c20b09a437133df5738092eba91430208814b4135b0a64331aff1847ca60426c91e96a029cff039b14462da6e5f9c545980b3712f7fa5f3958d92278194cf6b37ef76e91103d14db403956a7070d87afa81df227f2189926e1265a2872e9d64c64496083caff36dd3c27e961957acb86f0f9a3cbb5ddbb6bf9c62dc102d70d62eea969b1c2c5f42823f76827e918ffa77cc12ca8d31effd0b55529c496da762b6a95d43360ea4e811979ee316e143733f886a6eca5ac76746d4a302ec57b6b4af57c25631d7773243abd400d15274703154dfde2f1a63e075e4b22ed4516dd1496e3f7848bbf19e3215edda64140649d9b1a06975773d5dd0ca9c4bdfd5eb9fb6164aa659e2a8415098dd05496d0b2a20d966a4c9efefa964e007a3b731d3bad501fd21ca564c6155d893c3075c234af6378a12595d8a88ae0518350b75d57fb91b7610bfc3168f548a9a63432b49a9dbee2ee1a4ddd80255e2c655cc80d59d7e90e21fb090db6d59ef84c0becfda6bd01c5a806ce67bea77fdba62ba40e2114d31e6087ad67b28adc20d7cabe7911aa2db119cf5f43b2011bb92556e8e303a264f813764027fbec36f8248a667c766cfc12c80d96965f222d39b5f58a54b255d3b1eb4530952b6d251ff1f9a2cbc585d539704c8ea6884699ebc95d57cd1daef169da86cc10fe7300352e939c35bbe3104aea1b1c681f3e98be8fad7c91bb56724ffa794ea4ac7c4d51d4aad8e94087b4cdcab897e70558e6648ab42dfadab447735912af011fdbd9a47a4958b953b01d2e274449854cb7d4b44d88fb2db162b8dd664c7c32858c7714c69b838cb30b17e6a42ca760256c4c6da57ad5be955ca8c787262d8bd3f4a5f0170e70f92ee2ec9d227d066e41d0d4b640166b2f6937a66bc84506d102d3edac818b246954ba200a3057820da10b64ff99f016b42d90a29b43290d731ef23a72612d646f92acc05620068fd94edd12902197733cc9dbb55d95930ccc749c4a169b4b7056dba24f767da022eb01243353e1f4d0af2eb32e3feb331283ceab3e0112b37556749a701d11ada5cbe1b4c829fac46e12612679e47d4a066be939b886f0fdc2b4c5b4dd183ca025c5191ac67d7f992643333504da30e8300a0b40152671", 0xf12}], 0x2) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r4, 0x0) (async) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r4, 0x0) open(&(0x7f00000000c0)='./file0\x00', 0x615, 0x0) (async) r5 = open(&(0x7f00000000c0)='./file0\x00', 0x615, 0x0) getsockname$unix(r4, &(0x7f00000001c0)=@abs, &(0x7f0000001180)=0x8) (async) getsockname$unix(r4, &(0x7f00000001c0)=@abs, &(0x7f0000001180)=0x8) sendto(r5, &(0x7f00000011c0)="7cfb022208ffd1e1cd109304ca0d4e110e3cf3b5bafe0c8c20344fae815bca652ad47a58a40fd3eeb7d029707af98f87fb8821b179e7944f8bc8407bdb5f2a5209a3391860f9f8eaa42b43631adc92983f1eb7cdce0f88c5db3c129b00d5fd51360a7dc8edfb2c7093f81dd0ff51152309bfd5c905bbbafa00a693", 0x7b, 0x409, &(0x7f0000001240)=@in6={0x18, 0x1, 0xffffffd6, 0x2}, 0xc) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x0, 0x3}}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) (async) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r6 = socket(0x18, 0x4000, 0x0) r7 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x462, 0x0) ioctl$BIOCSETIF(r7, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) (async) ioctl$BIOCSETIF(r7, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) read(r7, &(0x7f0000000340)=""/249, 0xf9) setsockopt(r6, 0x1000000029, 0xc, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) dup2(r1, r6) (async) dup2(r1, r6) setsockopt(r6, 0x1000000029, 0xc, &(0x7f0000000040)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) (async) setsockopt(r6, 0x1000000029, 0xc, &(0x7f0000000040)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) close(r6) semctl$IPC_RMID(0xffffffffffffffff, 0x0, 0x0) symlink(&(0x7f0000000900)='.\x00', &(0x7f0000000240)='./file0\x00') rename(&(0x7f0000000100)='./file0/file0\x00', &(0x7f00000003c0)='./file0/file0/../../file0\x00') ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000300)={0x2, &(0x7f00000000c0)=[{}, {0x1}]}) 1.604598523s ago: executing program 3 (id=321): ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x3, 0x0, "031ffe4000ff000104000000002408ad00", 0x1}) (async) ioctl$TIOCSETA(0xffffffffffffffff, 0x802c7414, &(0x7f00000000c0)={0x0, 0x0, 0x3, 0x0, "031ffe4000ff000104000000002408ad00", 0x1}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x10, 0x5, 0xfc) setsockopt(r0, 0x1000000029, 0xd, &(0x7f00000000c0)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) (async) setsockopt(r0, 0x1000000029, 0xd, &(0x7f00000000c0)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r1 = msgget$private(0x0, 0x10) socket(0x18, 0x1, 0x0) (async) r2 = socket(0x18, 0x1, 0x0) setsockopt(r2, 0x1000000029, 0x2b, &(0x7f0000000040), 0x0) r3 = geteuid() getsockopt$sock_int(r2, 0xffff, 0x100, &(0x7f0000000100), &(0x7f0000000140)=0x4) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000540)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000300)={0x0, 0x0, 0x0}, &(0x7f0000000340)=0xc) setregid(0x0, r5) r6 = geteuid() getgroups(0x4, &(0x7f0000000000)=[0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0]) (async) getgroups(0x4, &(0x7f0000000000)=[0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0]) r8 = getpgid(0xffffffffffffffff) r9 = getpgid(0x0) msgctl$IPC_SET(r1, 0x1, &(0x7f0000000040)={{0xff, r3, r5, r6, r7, 0x10, 0x6b}, 0x0, 0x6, r8, r9, 0x12e, 0x8, 0x7f, 0x99}) (async) msgctl$IPC_SET(r1, 0x1, &(0x7f0000000040)={{0xff, r3, r5, r6, r7, 0x10, 0x6b}, 0x0, 0x6, r8, r9, 0x12e, 0x8, 0x7f, 0x99}) 1.590741128s ago: executing program 3 (id=324): r0 = syz_open_pts() ioctl$FIOASYNC(r0, 0x8004667d, &(0x7f0000000000)=0x3) poll(&(0x7f0000000140)=[{r0, 0x86ef6a69ee17bf91}], 0x1, 0xffdffffc) (async) poll(&(0x7f0000000140)=[{r0, 0x86ef6a69ee17bf91}], 0x1, 0xffdffffc) minherit(&(0x7f0000ffd000/0x2000)=nil, 0x2000, 0x3) (async) minherit(&(0x7f0000ffd000/0x2000)=nil, 0x2000, 0x3) syz_open_pts() syz_open_pts() 1.590392062s ago: executing program 0 (id=325): syz_emit_ethernet(0x2a, &(0x7f0000000040)=ANY=[@ANYBLOB="051bffffff000022ca6fdffa0806000108"]) (async) r0 = open(&(0x7f0000000040)='./bus\x00', 0x2, 0x0) ioctl$VNDIOCSET(r0, 0x80086476, &(0x7f0000000500)={0x0, 0x0, 0x0}) (async) listen(r0, 0xa33) (async) mknod(&(0x7f0000000040)='./bus\x00', 0x100000000205f, 0x0) (async) mknod(&(0x7f0000000240)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x2000, 0x0) link(&(0x7f0000000340)='./bus\x00', &(0x7f0000000600)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00') open$dir(&(0x7f00000000c0)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x800, 0x1e4) (async) ktrace(&(0x7f0000000380)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x0, 0x100, 0x0) (async, rerun: 32) madvise(&(0x7f0000335000/0x3000)=nil, 0x3000, 0x5) (async, rerun: 32) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) fcntl$lock(0xffffffffffffffff, 0x7, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x100800000000000}) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0xfffffffffffffe20) (async) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) (async) r2 = socket(0x18, 0x1, 0x0) socket(0x18, 0x3, 0x0) connect$unix(r2, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) (async) getsockopt$sock_int(r1, 0xffff, 0x200, &(0x7f00000000c0), &(0x7f0000000040)=0x55) 1.567623522s ago: executing program 0 (id=329): socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) (async) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) (async, rerun: 64) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000440), 0x1, 0x0) (rerun: 64) ioctl$BIOCSETIF(r2, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) (async, rerun: 32) sendto$unix(0xffffffffffffffff, &(0x7f0000000140)="22d1637cc610dd1b33e0888caa018de784b1a7aa7394bec254f41aa9a5d37d7a092d1df8405befefff0c8d841f8ce88686ad83a976512952b90c9a0a0f58bc16d43b3a96ccc87600a5727afd796a85629bb0b73f06ce210896f544f22d3ccaf4ca382bf9c82cd0723521a3398d3487b2aac8285579d7fc5833a6b550c9565c1344d86b93e9f4b593d060360353cb158d025e7e3b4700fca9dd233ddd1a7dd654d13a7bd99a2c57", 0xa7, 0x0, 0x0, 0x0) (async, rerun: 32) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) sysctl$net_inet_ip(&(0x7f0000000000)={0x4, 0x2, 0x0, 0x1c}, 0x4, 0x0, 0x0, &(0x7f0000001100), 0x4) r3 = socket(0x2, 0x2, 0x0) ioctl$FIONREAD(r3, 0x80286987, &(0x7f00000001c0)) (async) ioctl$BIOCSETWF(r2, 0x80104277, &(0x7f0000000040)={0x3, &(0x7f0000000000)=[{0x64, 0x0, 0x0, 0x1}, {0x0, 0xff, 0x0, 0x2009}, {0x6, 0x8, 0x7, 0x10100001}]}) (async) write(r2, &(0x7f0000000080)="d81ad3d20cf7eb4e9be33bbd1a30", 0xe) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000280)={'tap', 0x0}) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000080)=[{0xc, 0x0, 0x0, 0x1}, {0x48, 0x3, 0xfa, 0x10004}, {0x4006, 0x0, 0x5, 0xfffffffe}]}) (async) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f00000002c0)={0x1, &(0x7f0000000240)=[{0xd630, 0x6, 0xfb, 0x81}]}) (async) syz_emit_ethernet(0x2a, &(0x7f00000038c0)=ANY=[]) (async, rerun: 32) write(r0, &(0x7f0000000080)="09cd00007f5d5e8ee581c27a83e11f472e74820b2a2e6201cf78aa95ab10eba007a90172c84c837c427502005c2a191c97413fbbec0428d6b04ab7572fdc6a5ae75fb8ea512f6d626401466a3f32f5408ad7ea09cce00ce170668f0f9c14bd4fb65836c74dd6f9e325e6560a00", 0xfffffe53) (async, rerun: 32) sendto(r0, &(0x7f0000000200)="b7886c", 0x3, 0x400, &(0x7f0000000100)=@in={0x2, 0x0}, 0xc) execve(0x0, 0x0, 0x0) 1.564108289s ago: executing program 3 (id=332): sysctl$net_inet_ip(&(0x7f0000000280)={0x4, 0x2, 0x0, 0x5}, 0x4, 0x0, 0x0, 0x0, 0x0) syz_emit_ethernet(0x3a, &(0x7f0000000400)={@broadcast, @broadcast, [], {@ipv4={0x800, {{0xb, 0x4, 0x0, 0x0, 0x2c, 0x65, 0x0, 0x0, 0x0, 0x0, @empty, @remote={0xac, 0x14, 0x0}, {[@generic={0x88, 0x2}, @timestamp={0x44, 0x14, 0xb, 0x1, 0x0, [{}, {[], 0x1ff}, {[@loopback]}]}]}}}}}}) 1.450048276s ago: executing program 3 (id=335): sysctl$hw(&(0x7f0000000000)={0x6, 0x1}, 0x2, 0x0, &(0x7f00000000c0), 0x0, 0x0) (async) r0 = openat$zero(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) fcntl$lock(r0, 0x9, &(0x7f0000000040)={0x0, 0x1, 0x0, 0x1000300000004}) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) (async) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x6381) (async) mknod(&(0x7f0000000000)='./bus\x00', 0x2000, 0x6380) (async) r2 = open(&(0x7f0000000140)='./bus\x00', 0x0, 0x0) open(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) readv(r2, &(0x7f0000000300)=[{&(0x7f0000000180)=""/169, 0xa9}], 0x1) (async) openat$zero(0xffffffffffffff9c, &(0x7f0000000980), 0xe8, 0x0) fcntl$lock(r1, 0x9, &(0x7f0000000000)={0x1, 0x0, 0x8000000000000, 0x2000200000001}) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000000)={0x2, &(0x7f00000000c0)=[{0x2, 0x6, 0x0, 0x402}, {0x2}]}) (async) sysctl$kern(&(0x7f00000000c0)={0x1, 0x33}, 0x3, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x3414, 0x0, 0x37) 275.974187ms ago: executing program 2 (id=347): r0 = socket(0x18, 0x3, 0x0) setsockopt(r0, 0x1000000029, 0x1b, &(0x7f0000000000)="5ab7776a", 0x4) mknodat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0xc0e99db6de761f86, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) r2 = kqueue() poll(&(0x7f0000000000)=[{}, {r1}, {r2}], 0x3, 0x0) sendmsg$unix(0xffffffffffffffff, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="89000000ffff000001"], 0x9}, 0x0) sysctl$kern(&(0x7f0000000100)={0x1, 0xc}, 0x2, 0x0, 0x0, 0x0, 0x0) r3 = open(&(0x7f0000000040)='./file0\x00', 0x2, 0x0) ioctl$TIOCFLUSH(r3, 0x80047476, &(0x7f00000000c0)=0xff800004) 271.697484ms ago: executing program 0 (id=348): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000040)={0x2, &(0x7f00000000c0)=[{}, {0x1, 0x0, 0x0, 0x3}]}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x37}, 0x4, &(0x7f0000000000)="71f91e3471ac0058bc5a91501d942400b5e1a0757cb9af769c7afec37082", &(0x7f0000000080)=0x56, 0x0, 0x2e) sysctl$kern(&(0x7f0000000000)={0x1, 0x32}, 0x2, &(0x7f0000000040)="21af2006", &(0x7f00000000c0)=0x4, &(0x7f0000000100), 0x0) (async) setsockopt(0xffffffffffffffff, 0x10001, 0xc, &(0x7f0000000000)="ff", 0x1) fcntl$lock(0xffffffffffffffff, 0x0, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x100000000000000, 0xffffffffffffffff}) (async) connect$unix(0xffffffffffffffff, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) (async) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) close(r0) (async) sysctl$kern(&(0x7f0000000400)={0x1, 0x26}, 0x2, 0x0, 0x0, &(0x7f00000004c0), 0x0) r1 = socket(0x18, 0x2, 0x0) (async) setsockopt(0xffffffffffffffff, 0x1000000000029, 0x39, 0x0, 0x0) r2 = open$dir(&(0x7f0000000080)='./file0\x00', 0x290, 0x0) mmap(&(0x7f000030d000/0x3000)=nil, 0x3000, 0x1, 0x1012, r2, 0x0) mlock(&(0x7f0000ff9000/0x1000)=nil, 0x1000) (async) setsockopt(r1, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) (async) connect$unix(r0, &(0x7f00000000c0)=@abs={0x0, 0x7}, 0x1c) r3 = openat$null(0xffffffffffffff9c, &(0x7f0000000100), 0x80, 0x0) unlink(&(0x7f0000000140)='./file0\x00') r4 = socket(0x11, 0x3, 0x0) sendto$unix(r4, &(0x7f0000000180)="b10005166000009f050000002010000000000000cea10500fef96ecfc727d3357ae302b37b67ca1f2d61dbadc0e350041c56ea83dbcd4bb65f882b297be1aa5b23edeb51e2f0ac3ebbc257699a1f139b672f4d335d223e7db3008b95665bc6fc21180000000001800000000000000405b3b9c2668396f4cd1257aea8c500002002fbfc0cba0800000008e37f71a3f834173712051eeab71d89e000040381ecb66400"/177, 0xb1, 0x402, 0x0, 0x0) (async) getsockname$unix(r0, &(0x7f0000000180)=@file={0x0, ""/4101}, &(0x7f00000011c0)=0x1007) dup2(0xffffffffffffff9c, r3) 192.113227ms ago: executing program 4 (id=349): syz_emit_ethernet(0xe, &(0x7f0000000000)=ANY=[@ANYBLOB="0000000000000001"]) writev(0xffffffffffffffff, &(0x7f0000000580)=[{&(0x7f0000000000)="c886b4d3e0", 0x5}], 0x1) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r0 = socket(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x1, &(0x7f0000000080)="0315f1d89ec5a317a9357682", 0xc) r1 = socket(0x2, 0x1, 0x0) setsockopt$sock_int(r1, 0xffff, 0x1001, &(0x7f0000000100)=0x200000, 0x4) syz_emit_ethernet(0xe, &(0x7f0000000000)=ANY=[@ANYBLOB="0000000000000001"]) writev(0xffffffffffffffff, &(0x7f00000004c0)=[{&(0x7f0000000040)="b886b4", 0x3}, {&(0x7f0000000240)="06b75a20fd5b758ab8a478ae6067744073b7b03fe08caf0443b9a4024c80bc1c41d5e140a06b1cd19216966743be47e7c9ec385af4204f5e37b3f0e403", 0x3d}, {&(0x7f0000000280)="7c99cb5ec7cd8226689dcd3052f68e01f95f47", 0x13}, {&(0x7f00000002c0)="6086f59bf5cf097dfb92d4c46f17aea93e82eed82f63e2c1dfab653dfab335deea5be2e9e945b8af5e9b18bfb922f633115fe36c47bd790f6babf0dfaede15fe814828e1ff06791b0143a2e973be9fb9580afe88138e0cf124f4a469106deebe2539f0c9bb355e35a4d28fbc6394e4afbcd7ebc7382743d8fe18a23c87fc7b155eecb137058dc26002dbb08b2adbb49d0b4c372f279e31100512e83b20b3745ea546ff772e4740390470f77e224271297a873f79604899a0dc84a25d995aad2f2900673d5043e59c77b7797c8f43709ab0f3e61e41ddbabde862fadcfbc95dbc42ce05e884facb1948d8fa454868c9a198883b9eb1b625f3", 0xf8}, {&(0x7f00000005c0)="7d4e3c3215a345b73ed0ee91ae66ee9f314bcf14f4851908afae95efe1690122071f9eed3b7d2ac02d4365028468ddbef2b7984f7c59d829b571f4d8820488df575fbb66c5145c3ba63ca34f05831f581043b1e7688dde57dca96ea1712e8b05145856f038c55151f748d7d7dc5772dfd98b3257f9457166f219772d06f531c35e85380e1c408b58ef81dc21a92209d07d810ddb197d18a3b8cd21e669a3a6be46a1d39931078aaf0bbb1f0b941a897e4815ecddd66d60c0fd037f9791058c90026553", 0xc3}], 0x5) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) setsockopt$sock_int(r1, 0xffff, 0x1, &(0x7f0000000080)=0x8, 0x4) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r2 = open$dir(&(0x7f0000000440)='./file0\x00', 0x10420, 0x150) r3 = openat(r2, &(0x7f0000000480)='./file0\x00', 0x40, 0x73c602b2018a1f31) connect$unix(r1, &(0x7f0000000000), 0x10) openat$zero(0xffffffffffffff9c, &(0x7f00000003c0), 0x2, 0x0) openat$vnd(0xffffffffffffff9c, &(0x7f0000000400), 0x100, 0x0) dup2(r0, r0) connect$unix(r3, &(0x7f0000000540)=@file={0x1, './file0\x00'}, 0xa) r4 = socket$unix(0x1, 0x5, 0x0) close(r4) write(r0, &(0x7f00000000c0)="6bbc4044635cdfa0130442359ce30f1d6397d3e99e3a21cac54252de3f31068e94599964f0992fc4f57a21f3e43840110c5aedadf534eb754e43cfefbf30d1873b41d1b6db5ac9b567031f5f94e299e42815a09a0b895be4e6fbe32bbcc6eb773fd30096f35767d120948e67b7183f75f955cebe0ab31be9a3471867737ede7592cb85a0a3fa080000009b265adc3f46c7a4790853cbcce224abc7b30926aef1d2c9497b96374901fd3f0fa136327cedf27ab77a7bd690a931e870d6576296ea83f54541af73092ebe7575a3899854202d3ae7ed09d9cb3895d29f8722ad1fc4315f2c7a83cfba586bf6cf2b232222ba0315879fcc0c5c729cbafa39551ad6d7bf1fe58fefee90cd34bebbc4ba6faf759e1647ee8384574e91bb29d971700c1f0f2b3a27263a73328833bd4bc5577fd4521ff3ce1257081533ede709c175acf59272ef759399e20f7f3ebedcdb6485ae8b72228ef2a8172601ce45147783ee8e31631baab0f9836486f8e0acb23c55df91", 0x171) 191.034679ms ago: executing program 5 (id=350): open(&(0x7f0000000040)='./file0\x00', 0x78c, 0x0) acct(0x0) acct(&(0x7f0000000000)='./file0\x00') ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000000)={0x3, &(0x7f00000000c0)=[{}, {0x3}, {0x5, 0x5, 0x0, 0x20}]}) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r0 = socket(0x2, 0x3, 0x2f) r1 = dup(r0) setsockopt$inet_opts(r1, 0x0, 0x22, &(0x7f0000000040)="fd0cc085", 0x4) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r2 = socket(0x8, 0x1, 0x0) r3 = dup(r1) dup2(r3, r2) connect$unix(r2, &(0x7f0000000000), 0x10) sendto$inet(r1, &(0x7f00000001c0)="5e1351d18b9da08c", 0x8, 0x0, 0x0, 0x0) syz_emit_ethernet(0x138, 0x0) sysctl$kern(&(0x7f00000000c0)={0x1, 0x49}, 0x6, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x1918, 0x0, 0x37) 190.619467ms ago: executing program 2 (id=351): open(&(0x7f00000000c0)='./file0\x00', 0x615, 0x0) socketpair$unix(0x1, 0x0, 0x0, &(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r1 = socket(0x2, 0x2, 0x0) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x40, 0x0) ioctl$BIOCSETIF(r2, 0x8020426c, &(0x7f0000000180)={'tap', 0x0}) ioctl$BIOCSETF(r2, 0x80104267, &(0x7f00000001c0)={0x3, &(0x7f00000002c0)=[{0x1c, 0x0, 0x0, 0x400}, {0x40, 0xfe}, {0x6, 0x4, 0x77, 0x1000}]}) syz_emit_ethernet(0x3e, &(0x7f00000000c0)=ANY=[]) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000040)={0x2, &(0x7f0000000080)=[{0x1034, 0x0, 0x0, 0x5}, {0x6, 0xfa, 0x1, 0xfffffffe}]}) sysctl$kern(0x0, 0x0, &(0x7f0000000300)="00000300000000000000000080b5313df0ddd68ee313f8cb0100dc48dc27c94ebcdfcae9fa933d4a43bc29d910b4b6eea2e55a7aa84fd4cb8bcd94d52c", &(0x7f0000000080)=0x3d, 0x0, 0x0) r3 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000440), 0x1, 0x0) ioctl$BIOCSETIF(r3, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x1) ioctl$BIOCSETWF(r3, 0x80104277, &(0x7f0000000040)={0x0, 0x0}) write(r3, &(0x7f0000000080)="d81ad3d20cf7eb4e9be33bbd1a30", 0xe) connect$unix(r1, &(0x7f0000000000), 0x10) r4 = getpid() setgroups(0x0, 0x0) ktrace(&(0x7f0000000000)='./file0\x00', 0x0, 0x100, r4) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000380)={0x0, 0x0, 0x0}, &(0x7f00000000c0)=0xc) setregid(0x0, r5) setrlimit(0x1, &(0x7f0000000980)={0xff, 0xd21}) sendmmsg(r0, &(0x7f00000007c0)={0x0, 0x9}, 0x10, 0x0) 190.071161ms ago: executing program 7 (id=352): mkdir(&(0x7f0000000080)='./file0\x00', 0x15f) (async) setreuid(0xee00, 0x0) (async) r0 = getuid() chown(&(0x7f0000000180)='./file0\x00', r0, 0x0) (async, rerun: 64) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000040)={0xffffffffffffffff}) (async, rerun: 64) syz_open_pts() (async) r2 = syz_open_pts() open$dir(&(0x7f0000000040)='./file0\x00', 0x80, 0x0) (async, rerun: 32) fcntl$lock(r2, 0x8, &(0x7f0000000040)={0x0, 0x0, 0xfffffffffffffffc, 0x1000300000000}) (rerun: 32) fcntl$lock(r2, 0x8, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x100000001}) (async) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000580)={0x0, 0x0, 0x0}, &(0x7f0000000140)=0xc) r4 = getuid() (async) r5 = open$dir(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) fchdir(r5) setreuid(0xee00, r4) semctl$IPC_SET(0x0, 0x0, 0x1, &(0x7f00000000c0)={{0x0, 0x0, r3, 0x0, r3}}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x4e}, 0x3, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000180)=0x66, 0x0, 0x27) 159.47144ms ago: executing program 4 (id=353): r0 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) r1 = socket(0x0, 0x0, 0x0) pwritev(r1, &(0x7f00000002c0)=[{&(0x7f0000000900)="9ea3e31339e9214cb1321336f2b80a51cd0aa2800400470b2247121186960d171abba2d23a51bedc24a4d91efd0fa0e76dabaff361c72092b581ff7764054fd6187821796d3ce086b2d2085f84fc45c8420000000000000000000000000000a38c2a0a8d6fc610ad5776d5344c806e731369a9638d6048cb71658257fc8122ae0a8eb5a00c9f9028934f3da952f70245a8a862cca573bd6c6fecd20a911508d07644cb6d81d6dca19c7d879c3d79c83ba0203fe4be6adaca016aba1b70a87fe6598d3f6bbb0a8f28", 0xc8}, {&(0x7f00000001c0)="9a9e10f23378c5c510c5e0f807c8057a3ededd7bf990b6fe0cc8816ec380428efc5c60d06947a47967ae9b824fd5269e91e8b4713bcd12fcc07351bf98acb4f9134d66d6f6b7a5b69c66704ac50ffe2a1012ccb6e943ed9aceef8dee54dc6b31c7466282c85eb771de08e67bee22e53004f40f929d23e6c9a17c77eef7e8de581058c54541cac962615e1a0ec56be32b9b3a2434ae2330097c3f18e762f17eeeb0dcb81b3ae95d9e7b0f726291c28386e37b9acc1b414b0c51852fe367dfe03757b2f0b104669c60af61f2eab31f00b51ad209948c115ed82f3db7f19f7f", 0xde}], 0x2, 0x8) msgget$private(0x0, 0x2a8) ioctl$WSMOUSEIO_SETPARAMS(0xffffffffffffffff, 0x80105728, &(0x7f0000000080)={&(0x7f0000000040)=[{0x8}, {0x24}, {0x24}], 0x3}) ioctl$WSMOUSEIO_GETPARAMS(r0, 0x80105727, &(0x7f0000000080)={&(0x7f0000000040)}) r2 = socket(0x1e, 0x3, 0x0) sysctl$kern(&(0x7f00000000c0)={0x1, 0x3d}, 0x9, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x1, 0x0, 0x37) r3 = geteuid() r4 = socket(0x11, 0x3, 0x0) sendto$unix(r2, &(0x7f00000007c0)="26844806f6d9b572cc3c12ee2d97c9fc833d4d9597943f6176bf827b09dcbc324c839c34ab1cc9b419f919d2150790f406dfafae924d1f281df4533a8fb01f40ee3d4f0971d5b17f8ea5731c6d4d70f74c48069c259df7734b2e348a638cc747692ca574916439d8ded32dcf2611daad5da0d699bfdd", 0x76, 0xc, &(0x7f0000000840)=@file={0x0, './file0\x00'}, 0xa) sendto$unix(r4, &(0x7f0000001180)="0600053feb31", 0x6, 0x0, 0x0, 0x0) mknodat(0xffffffffffffff9c, &(0x7f0000000280)='./file0\x00', 0x1000, 0x0) unveil(&(0x7f0000000140)='./file0\x00', &(0x7f0000000180)='x\x00') chmod(&(0x7f0000000180)='./file0\x00', 0x23f) sendmsg$unix(r2, &(0x7f00000008c0)={&(0x7f00000000c0)=@abs={0x0, 0x0, 0x0}, 0x8, &(0x7f0000000640)=[{0x0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}, {&(0x7f0000000540)="b466304c215cb3463f3fa4f5d20281b948bc314780ca230c887e878888c01881ed61b2e987cbb37710a74e2c36c98e3193740c06ca6efb76031af2263b33d1ccee61ef47f053ca3d639d6a102009c103172bf289f08c140f021a9536b95389ea05ba815880831470250d11271106457be4fcdc9d2218b6379f5f03f2a157ca4ff16ce9ac05df40037de26d45abefc43c614588e58581f6cd5321b0a2f6a52949d2c6b5eb77048a99747e8e7982ea4d4a281998c9ab235ff54067fe67c38642150151b69e28ae7bde", 0xc8}], 0xa}, 0x0) r5 = open(&(0x7f0000000140)='./file0\x00', 0x78e, 0x8) r6 = getpid() ktrace(&(0x7f0000000280)='./file0\x00', 0x0, 0x928, r6) mknodat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x2000, 0x2d87) mmap(&(0x7f0000000000/0x13000)=nil, 0x13000, 0x5, 0x10, r5, 0x0) recvmsg(0xffffffffffffffff, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x0, 0x0}, 0x842) pwritev(0xffffffffffffffff, &(0x7f0000000340)=[{0x0}], 0x1, 0x126) recvmmsg(r5, &(0x7f00000016c0)={&(0x7f0000000300)={0x0, 0x0, &(0x7f0000000000)=[{0x0}, {0x0}, {0x0}, {0x0}], 0x4, 0x0}, 0x9}, 0x10, 0x801, 0x0) socket(0x6, 0x3, 0x0) r7 = open$dir(&(0x7f0000000100)='./file0\x00', 0x400, 0x15c) syz_emit_ethernet(0x2a, &(0x7f0000000100)={@broadcast, @empty, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x1c, 0x0, 0x0, 0x0, 0x11, 0x0, @rand_addr, @broadcast}, @generic="657fc788a5ca7a03"}}}}) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000740)={0x0, 0x0, 0x0}, &(0x7f0000000780)=0xc) fchownat(r7, &(0x7f0000000700)='./file0\x00', r3, r8, 0x2) sysctl$net_inet_tcp(&(0x7f0000000000)={0x4, 0x2, 0x6, 0x9}, 0x4, &(0x7f0000000300)="9b0209c3eb987ab7fe4189c99e805e6e84d356960798a692992117d6728436ba1bd87f42e3303eac3846528d050712f838130efce33f523ba44765f5f6915b0227390ed95bd9dc6d4dc7e149d4d6d06a3f23616e773302d9cae75e39a5a11e32e0e6ebd635450b2eba540af7f2aa5dbfbdd900a0dad2b74f50acd76b5c567049ef436dbea0d7562f52950fa5ef6e84c513252ddd8680a944d5c2bd02adc7f1fe850c00000000000000062ab475cca257352828a76e5334be562995e894238b96ca5d4d3e670feac9b4e8aa9bef19525cb6f7e8570b2a374f1400041ed45bb7ad3fe963cb9a8bd949ee0fc6dbceb7d956015947b3e88aa810f8ed7cca10ff010000000000001345daa49507756f49775275ca390b94e85d5a95b8bdacb9429c25483a9275d0da3b561c6adc3c141f26a88016dd6b436218bdbdc9ac0a623855e941dc1872fcb045e0d9df1ecc6357ee21e2b0802cb60eec6add5e94723235f06715e7eecc3e0760c70e1dd7873e27142bbae1a7e44de453a073fe3426f334b80f043ba9136d57c799353d46dd81439b111a511a288bee5dfb2e353e3bb073e3342273216b07e49ca4df0fd2dbe9a8eb377010ee678aad0bd8e9fb7d82693a096344671843a1f2082612b0ff237c6e505ff5f5ba932954d73c630fdb791f833a1da5af0704f687e196f4f7859e071fc98111cc9024f790ce16ceaa7d0104e39789d9100000010000000000050000000000", &(0x7f0000000880)=0x210, 0x0, 0x0) 158.417346ms ago: executing program 2 (id=354): r0 = socket(0x18, 0x3, 0x3a) sendto$unix(r0, &(0x7f0000000000), 0x0, 0xa, &(0x7f0000000080)=@file={0x1, './file0\x00'}, 0xa) (async) ioctl$WSMUXIO_REMOVE_DEVICE(0xffffffffffffffff, 0x80085762, &(0x7f0000000040)={0x1}) (async, rerun: 32) r1 = socket(0x18, 0x3, 0x3a) (rerun: 32) setsockopt(r1, 0x29, 0x6c, &(0x7f0000000040), 0x4) (async, rerun: 64) setsockopt$inet6_MRT6_ADD_MIF(r1, 0x29, 0x66, &(0x7f0000000240)={0x0, 0x0, 0x0, 0x1}, 0xc) (async, rerun: 64) sysctl$net_inet6_ip6(&(0x7f0000000040)={0x4, 0x18, 0x29, 0x34}, 0x4, &(0x7f0000000140), 0x0, 0x0, 0x0) (async) setsockopt(r0, 0x9, 0x6c, &(0x7f0000000000), 0x0) 157.715067ms ago: executing program 0 (id=355): setrlimit(0x8, &(0x7f00000002c0)={0x42, 0x61}) r0 = syz_open_pts() writev(0xffffffffffffffff, &(0x7f0000000300)=[{&(0x7f0000000040)="fb408c0a5e1b2c1d6d00000080", 0xd}], 0x1) sysctl$vm_swapencrypt(&(0x7f0000000040)={0x7, 0x2, 0x2}, 0x4, &(0x7f0000000140)="118bea625d95de8f92c010baed45ec4bf03ace254b57973bb6de7b1c90301e9d3b5e6fb6ffffffffffffffff76c775a2a4e0556565a830032eef776127fd247103c14ab0a1cea9b4593be484f46a02ea73e910d041c5777bd852e57d3248832b91d06fe47d126022a1654859149e9486306d2f11fb1cc826c42f81b0d114f8af4ceb029a5210bb6947464bf678ba1d64a2013131fedfe60443aa13e015b28a16ea924bf89ad45c006213a6d0e194b9abcb3ddfab0c69b8c280bfc9c11f26026f6231b5e725921be8b099", 0x0, 0x0, 0xfffffffffffffd2a) close(r0) r1 = syz_open_pts() ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000000)={0x78cf, 0x5, 0x6, 0x10000, "fca866a55b9c50e45d3b51e960d0c0a2d5b329db", 0x6, 0x7e4}) ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000200)={0x27ffb, 0x3, 0x8000085, 0x7ffffffe, "102e260a007be2dfe7d62007f533e2942b7a3ceb", 0x0, 0x10}) writev(r0, &(0x7f0000000240)=[{&(0x7f0000001ec0)="0d862d4a58968b451e31bfa26c9afe68ed5e1d20953c6fe095ccd54a67f1a720a2669441becd092c941702a3e276b99325b275e4717632412d1e2f210695dee7c1ee75b6709bdf2d3e2fccfb3916fe9ae0bb0839ae9e7f6ed76339cc8482014c4ed063ba95d7296984fc4854fa8c092d4b1bbec102a4b77f1ef61f793bb1f276f498f6aa194fe9c052dd57bde83db6ee257718f4afd196e9f33b5428fd07d374528e3d304d642ff42bae96db34e662f45d730e4e150491b3d94c4579578c776a7e92c34bd12edf8d21eb2965542fb56987435dd177ac5c146c539122be18de4dc57793a87dc1678733ffc2c56072711f312321dac4428975007fa7046f7db3422572837fa22d2076e9b85e623a1df76bfd96ff3a47bcf97dc82157fed4d95499414ccb2fce8c3cd26b806d83be7a1865f7dc39eb29508aa745884284d7fb6b619f95ba2b8b9819583cf2427f854962cc58d106dbac0d77751a099523ba7aabd6f878eeb6c60a4e3d990e0f2c5172406cd0c3007e0cbd14aeb9f93baccdc23e88877bd7a30cdc84acf4fa481231d603b577df0294f121913f510c697ee8dfa1dc93aa300459c9bbe6c33e4fdf4b2195087d32d44a2f3601a90f7af0cdd8ea23ae05c89971712bb1133aba4d97ee337ae041e6fa1614042e3213d79d898082e653d1d7f684dbb82b4d25409d45caaa2291dfb7042906d30f5b07ce46f1762ecf4981f55b393681c7ede895fa85df67acf8b212a92390689418236d237f95b48afc09c9f56b35789681dcd9e6b0abef21d41e8c2b7a192b90c1accd0abdaaa5dc28", 0x240}], 0x1) 156.320719ms ago: executing program 7 (id=356): syz_extract_tcp_res$synack(&(0x7f0000000000), 0x1, 0x0) (async) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) ioctl$BIOCSETWF(r0, 0x80104277, &(0x7f00000000c0)={0x1, &(0x7f0000000080)=[{0x7ff, 0x4, 0x5, 0x3506}]}) (async) syz_emit_ethernet(0xe, &(0x7f0000000100)={@random="302a260056be", @remote, [], {@generic={0x6007}}}) (async) syz_extract_tcp_res$synack(&(0x7f0000000140), 0x1, 0x0) (async) r1 = kqueue() sysctl$net_inet_ipip(&(0x7f0000000180), 0x4, &(0x7f00000001c0)="5722a430802a238493fc18303d8283c17e54c8d5510ea67484f55b8f536bd3e91757538491d9e25c3bbca391596a416f3e4ad4bc25fd899e8cd61ca08b42dae7b7ac8a3cce68ad7cf87e71f7816c644630d9151557e06b89a41fcd19db60239fec7554913f5a1482a5f6c50695d265710b2292a019898c86704402f9bf801058edd13ff947b392e0ab4d56d782e9dfb7f9e127887b575f4d15d2ac008e4207ac898befdbcfde9d1554abbb0c5fd9462978e91708d4467f8d9e0e90d5750bc73007af70910aab", &(0x7f00000002c0)=0xc6, &(0x7f0000000300)="fbfd884162cb190bae41223628251dc85a86d5dca12e7a9d553471d3b68fd530c0a645e59949ab419dd8206a791b2723df97951b67b51356a2e89835456a017e492607358a2bbc848cb8ca27", 0x4c) r2 = openat$tty(0xffffffffffffff9c, &(0x7f0000000380), 0x800, 0x0) (async) r3 = open$dir(&(0x7f0000000400)='./file0\x00', 0x80, 0x40) r4 = accept(0xffffffffffffff9c, 0x0, &(0x7f0000000440)) kevent(0xffffffffffffffff, &(0x7f00000003c0)=[{{r2}, 0xfffffffffffffffb, 0x0, 0x40, 0x3, 0x40}], 0x0, &(0x7f0000000480)=[{{r1}, 0xfffffffffffffffb, 0x10, 0x20, 0xfffffffffffffffd, 0x6}, {{r3}, 0x3fa0040f0f9e9cb0, 0x88, 0x1, 0x200, 0x8000000000000000}, {{r4}, 0xffffffffffffffff, 0x4a, 0x8, 0x5fc, 0xffff}], 0x5, &(0x7f0000000500)={0x3, 0x2}) (async) syz_emit_ethernet(0x53, &(0x7f0000000540)={@random="91dec3c99210", @broadcast, [], {@generic={0x8582, "02f7145e917999124fe567b4c567ab59e41d69a8ca1d7c856846fdc5e81ab645883a1e2cd41ae4e8aae82cca736a54a1607eb1fa9646b8a97db4a86595ccb710fb0e2b7fc3"}}}) (async) ftruncate(r3, 0x8000) (async) r5 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f00000005c0), 0x1, 0x0) ioctl$WSDISPLAYIO_DELFONT(r5, 0x8058574f, &(0x7f0000000600)={'./file0\x00', 0x40, 0x8, 0x2e, 0x0, 0x1, 0x3, 0xffffffff, 0x0, 0x0, 0xfffffffeffffffff, 0x8}) (async) getuid() r6 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000680), 0x20000, 0x0) ioctl$WSKBDIO_GETMAP(r6, 0xc010570d, &(0x7f0000000700)={0x3, &(0x7f00000006c0)=[{0x1, 0x7, 0x223a, 0x1, 0x6}, {0x4, 0x7c0, 0x40, 0x0, 0x88}, {0x2a, 0x5, 0x2, 0x7f, 0x2}]}) (async) ioctl$TIOCSPGRP(r0, 0x40047477, &(0x7f0000000740)) (async) ioctl$TIOCGETD(r3, 0x4004741a, &(0x7f0000000780)) (async) recvmmsg(r4, &(0x7f0000001f80)={&(0x7f0000001f40)={&(0x7f00000007c0)=@in6, 0xc, &(0x7f0000001e00)=[{&(0x7f0000000800)}, {&(0x7f0000000840)=""/133, 0x85}, {&(0x7f0000000900)=""/4096, 0x1000}, {&(0x7f0000001900)=""/223, 0xdf}, {&(0x7f0000001a00)=""/71, 0x47}, {&(0x7f0000001a80)=""/18, 0x12}, {&(0x7f0000001ac0)=""/243, 0xf3}, {&(0x7f0000001bc0)=""/147, 0x93}, {&(0x7f0000001c80)=""/230, 0xe6}, {&(0x7f0000001d80)=""/81, 0x51}], 0xa, &(0x7f0000001ec0)=""/94, 0x5e}, 0x3}, 0x10, 0x1, 0x0) (async) ftruncate(r3, 0x81) syz_extract_tcp_res$synack(&(0x7f0000001fc0), 0x1, 0x0) bind(r4, &(0x7f0000002000)=@un=@file={0x0, './file0\x00'}, 0xa) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000002040)={'tap', 0x0}) r7 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000002080), 0x800, 0x0) ioctl$WSDISPLAYIO_LDFONT(r7, 0x8058574d, &(0x7f00000020c0)={'./file0\x00', 0x6, 0x1, 0x0, 0x0, 0x7, 0x8, 0x1, 0x1, 0x0, 0x9, 0x580}) (async) ioctl$BIOCGBLEN(r0, 0x40044266, &(0x7f0000002140)) (async) fsync(r2) (async) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000002180)) 155.943113ms ago: executing program 5 (id=357): r0 = socket(0x18, 0x3, 0x0) r1 = socket(0x2, 0x3, 0x0) writev(0xffffffffffffffff, &(0x7f0000000580)=[{&(0x7f0000000000)="c886b4d3e0", 0x5}], 0x1) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) connect$unix(r1, &(0x7f0000000000), 0x10) write(r1, &(0x7f0000000080)="04bdfa5d1d2873c63e3534825ba166e2fea9aec43050006123339a346f731573d8d508753f95b7688ad48b8cf6bbca325cebc37fc4e1dd543dbe2da6dd", 0x2000) mknod(&(0x7f0000000000)='./bus\x00', 0x3a0914c44f7b202d, 0x504) r2 = open(&(0x7f0000000040)='./bus\x00', 0x10005, 0x0) mknod(&(0x7f0000000080)='./file0\x00', 0x2000, 0x6381) writev(0xffffffffffffffff, &(0x7f00000001c0)=[{&(0x7f0000000180)="2dba396607193df345a909f01fa6c0597dd59208b6f898f362f92bc44175a1ff85aad425815b180f3502", 0x2a}], 0x1) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000140)={0x1, &(0x7f0000000040)=[{0x100, 0x3, 0xfb, 0x7}]}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r3 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000080), 0x10000, 0x0) r4 = socket(0x11, 0x3, 0x0) dup2(r3, r4) ioctl$FIONBIO(r4, 0x82907003, &(0x7f0000000140)=0x1) ioctl$TIOCSETD(r2, 0x8004741b, &(0x7f0000000080)=0x7) close(r2) close(r0) r5 = socket(0x18, 0x1, 0x0) sendmsg$unix(r5, &(0x7f00000004c0)={&(0x7f0000000040)=@file={0x1, './file0\x00'}, 0xa, &(0x7f0000000440)=[{&(0x7f0000000080)="78e404c0f7141e3bb824094612e46a2d0f815cbc04238f9ffd668fa42bccfcd2cfbf9304ede0", 0x26}, {&(0x7f0000000100)="a56c4e65e4651b0b6b984d3e545a6a5e0fb5648d51f292da9a8b89dc0ce462e84081caf37daed2b580440a1919e6b84f48b89733b2964e74541112128cc966c47d425615ec8f28fca1e88060acc46001f66c9b7e52682722384ed5d0b4397f843b", 0x61}, {&(0x7f0000000180)="a308f25526a5ef9d7a31a31d0331c09ed799d80069fa8731faa2d89658bd93f0eac403da522d666bedb9448b5b87eacfdab3863c963beadb9f7f43a4304c54ac1028a48c730a5f172bd8509cc924512ade094b644b5f8a4ebe1dcf609e1efa85c422dd857a66088a088d8f61390f1fb0f4ab124dbc6b27ffde84491c623102d7bb3512a11fca7db09250a567ccc66c603c8b147c6923c62fc19f9275f89574bab9660269427331f2d289f7772edc9ce96b0d98874d36b6ff8bcebb4832179e3aa7577c7ef7852e1627785cc710a31ab87783b9b09bd7cf426f4a", 0xda}, {&(0x7f0000000280)="8c22a1209779", 0x6}, {&(0x7f00000002c0)="9f428231635332b4dbd68dfbbdd4f4020c63419e22c336addf92a76f6d4fa6e759b75f09a37f1aeace6fa644bfd17941b2e4cad2805c36fecdb2abfc28f88ea9afc0a06079484f0f665e15bbed62ee53d17f121973f0b9f4ec579c6e8359fd15787e45077c300355a7fdb0efed75fd665736c07127ad25e9", 0xffffff81}, {&(0x7f0000000340)="eabaf7b0e8572345fe8c9d1bce7a6be81480bf8cba5775df1c1712a29f5ecef6b71e37e5e0eecd3b3807789e475075a4230ddb5da7f8bcf04d08a24047f5a02764b7930d4353808ae9238bc98df35761b10b000000e53ee1e0a79dcb9182ef74d8b4cae9ff8743cee62411b24b8d8b38cdd06083b87c4234633081d156b6ff23a5933b0d57dbf2d10e48226aaab8ee9df366384083658016589308bf8119c03c131aed04a906290a414161beabfc31789b3b30843a4907db30c3669c", 0xbc}, {&(0x7f0000000400)}], 0x7, 0x0, 0x0, 0xc}, 0x406) setsockopt(r5, 0x1000000029, 0x4, &(0x7f0000000000)="02000000", 0x4) fcntl$lock(0xffffffffffffffff, 0x0, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x100000000000000, 0xffffffffffffffff}) connect$unix(r0, &(0x7f00000000c0)=@abs={0x682eb13985c518e6, 0x7}, 0x1c) 114.638346ms ago: executing program 2 (id=358): sysctl$net_inet_ip(&(0x7f0000000040), 0x4, 0x0, 0x0, 0x0, 0x0) sysctl$net_inet6_ip6(&(0x7f0000002300)={0x4, 0x18, 0x29, 0x36}, 0x4, &(0x7f0000002340), 0x0, 0x0, 0x0) setrlimit(0x6, &(0x7f00000000c0)={0x2, 0x800}) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, 0x0) fcntl$lock(0xffffffffffffffff, 0x0, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x1000300000003}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) ioctl$VT_GETSTATE(0xffffffffffffffff, 0x40067664, &(0x7f0000000300)) sysctl$net_inet_ip(&(0x7f0000000100)={0x4, 0x2, 0x0, 0x11}, 0x4, 0x0, 0x0, 0x0, 0x0) r0 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000140), 0x782, 0x0) r1 = dup(r0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$SPKRTUNE(r1, 0x20005302, &(0x7f0000000100)) r2 = socket(0x18, 0x1, 0x0) setsockopt(r2, 0x1000000029, 0xc, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) setsockopt(r2, 0x1000000029, 0xc, &(0x7f0000000040)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r3 = socket(0x11, 0x3, 0x0) connect$unix(r3, &(0x7f0000000000)=@file={0x1, '\x00'}, 0x3) sendto(r3, 0x0, 0x0, 0xa, 0x0, 0x0) openat$pf(0xffffffffffffff9c, &(0x7f0000000380), 0x1, 0x0) select(0x40, &(0x7f0000000000)={0x8, 0xfffffffffffffffd, 0x7, 0x9, 0x4, 0x6, 0x6, 0x7}, 0x0, &(0x7f0000000080)={0x400000000409, 0x610, 0x7, 0x4, 0xc, 0x0, 0xffffffffffffffff, 0x67}, 0x0) sysctl$net_inet_ip(&(0x7f0000000100)={0x4, 0x2, 0x0, 0x18}, 0x4, &(0x7f0000000140)="92071e668df9c06c2a0fb5d419d84fc01670e278ea306e81d4be1d3373022818458982beef09a3ddf06b5bc4fc8a801de9184fa8328c7a46c001119b59daf02cadc94567d0cf0d38c991268d23192f905cfdeefbc695cc46614317b76637b1bd88ff78245a3a5c2d21c49a69dd3ae6216c2afdf2109a3b258cf0a6430a01ea657f6520c015a25e1060a4d83a9cbf8c9829f4bcd73a97cffd2e25975b74411402cf5d89674196d001882c93da80569fc0835c65fcb0c8dcfdac6517", &(0x7f0000000200)=0xbb, &(0x7f0000000240)="390a78d9e431633c505f6d80ba8f9a9e573cd67106bc1a2235889d1664a153d0e8a98b3820a2f97cfdcf31d2e092dfaf1d37077018114ea6b185c308fd1ad5645cbe07f2f52b37f3fd634a48d48edc7f19ee4957dee0f0e03153fd4e39ecb6bb1c0610d158efcbbbe4fad813a790e07e9a99904a9c9af064628cd88c87258639523d12bfa9b8a9c6d0fd5887ee8493a19d0e0281cff2f4b34c409f738e7e4aac7ef6", 0xa2) 113.742159ms ago: executing program 4 (id=359): msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000080)={{0x0, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x32, 0x1b}, 0x80000000000004, 0x3d3, 0xffffffffffffffff, 0x0, 0x8000000000000000, 0x9, 0x0, 0xffe}) sendmsg$unix(0xffffffffffffffff, &(0x7f0000001700)={&(0x7f0000000080), 0x1c, 0x0}, 0x0) bind$unix(0xffffffffffffffff, &(0x7f0000000080)=@abs={0x1f95d27d48731892, 0x7}, 0x1c) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x100000000000000, 0x80}}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000240)) setreuid(0xee00, 0x0) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000040)={0xffffffffffffffff}) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000580)={0x0, 0x0, 0x0}, &(0x7f0000000140)=0xc) close(r0) getuid() r2 = open$dir(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) fchdir(r2) semctl$IPC_SET(0x0, 0x0, 0x1, &(0x7f00000000c0)={{0x0, 0x0, r1, 0x0, r1}}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x4e}, 0x3, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000180)=0x66, 0x0, 0x27) r3 = socket(0x18, 0x1, 0x0) close(r3) r4 = socket(0x18, 0x2, 0x0) sysctl$vfs_nfs(&(0x7f0000000900)={0xa, 0x2, 0x1}, 0x3, &(0x7f0000000940)="47cd4d0128edb9e718ab7b15b4fcdf7222d5350b17735efe0b74c732bb271c7b0a236ff290637ce0cfc26cf115a5467865e60a9294b5e7ac544ecba38b522ded196ffa74cd33c2d417b82e7b0812c3bd0f524cf471755b744df01657877e67a6ede25e074aeb2d644cdd53e2f2a701fbde89735cf43fc831d88bbfc15fb4ced61c8edde4664b94efc84be4dabbf2a2b2b545a463b802522660174615369922e9f50427e917ac426fa7c11a1d0cd68cf1961b2a0fe2df84e7535b8c0e3b88015cf89add0d2793592c6236dd7a679445d9a80b09a93632f2e89090280bcdb16f59f3dc7062cfa9c2b2c2c0ef8b6969ab3d317df49336786470f38fa98253e277a3966f1d369bbde6ce1be3d9b1aa38cea9dabf3271b6c83f4176b3dff69555ea41612c512e074b73658c3387f4d51f9b2de2b4e20fec0c050323dc126dea2df935157bffa99fe9fcac998f99ca1299cfe392d6db97b8495cf09905a74f3ee62b61ade1d6b9c586c91935c754122707ddcdc2fbf3ae975aea537ad2a17cf31892346746c9355ca968a48c5f22f10700100a431720b269bfc44068b608e3bc355592be0809b31e86d8da48e9cbc803b0d02d3d652098a6d2be18b76e85412e3271d0f6476537daf0caded1f4a7fc578afacd4c831b535669819889e3e0502c638efc217a990651db76598b727ef975d997f7de5913ee4b2762cd124a41c8115b44867eab6c4b15d65180ecfb20f4d67652117bc9016724399266bae8ea40e81a33a192016132e4de248cbc93a96832511b4cebebb233d9b6c59fee86691ba251776be4cb9944441b551ffc0bf26ed4e18b70db1bc9e39fa70483a9686679f0055a17b1dfd804847230759b151a5c4c1e584e", &(0x7f0000001940)=0x270, 0x0, 0x0) setsockopt(r4, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) r5 = syz_open_pts() shmctl$IPC_SET(0xffffffffffffffff, 0x1, 0x0) write(r5, &(0x7f0000000100)='@', 0x1) ioctl$TIOCSTOP(r5, 0x2000746f) ioctl$TIOCSETD(r5, 0x8004741b, &(0x7f0000000000)=0x8) socket(0x11, 0x3, 0x0) r6 = openat$zero(0xffffffffffffff9c, &(0x7f0000000280), 0x0, 0x0) fcntl$lock(r6, 0x9, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x20001fffffffd}) r7 = openat$zero(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) fcntl$lock(r7, 0x9, &(0x7f0000000040)={0x0, 0x1, 0x7, 0x1000300000004}) 113.479782ms ago: executing program 7 (id=360): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000040)={0x2, &(0x7f00000000c0)=[{0x0, 0xfe}, {0x1, 0x0, 0x1, 0xffffffff}]}) (async) sysctl$kern(&(0x7f00000000c0)={0x1, 0x3e}, 0x3, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x3414, 0x0, 0x37) 90.364626ms ago: executing program 5 (id=361): mkdir(&(0x7f0000000040)='./file0\x00', 0x0) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r0 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r0, 0xc0106924, &(0x7f00000001c0)) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) unveil(&(0x7f0000000080)='.\x00', 0x0) ioctl$TIOCSETAF(0xffffffffffffffff, 0x802c7416, &(0x7f0000000000)={0x0, 0xffffff49, 0x7, 0x5bc, "225e00d1554709aa0900fa4ab1896c04aec100"}) sendto$unix(0xffffffffffffff9c, &(0x7f0000000000)="b10005040000040000000710c1", 0xd, 0x4, 0x0, 0x0) r1 = socket(0x11, 0x3, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) sendto$unix(r1, &(0x7f0000000000)="b1000504000004000000000001000000331c13fecea10500fef96ec0c72fd3357ae30200004e3003000000acf20b7804be38164991f7c8cf5f882b297be1aa0500000051e2f0ad3ebbc257699a1f139b672f4d335c223e7d0c032bfa896443a42102000000720fd18bfbb670c1f5a872c881ea6e2ec5890400000000008000361b4cc702fac500002021fbfa0c0f00008abfba221554f4e0f668246c0900000008e371a378343712051eea040000000000", 0xb1, 0x40d, 0x0, 0xffffffffffffff17) setreuid(0x0, 0xee01) r2 = shmget$private(0x0, 0x3000, 0x386, &(0x7f0000ffa000/0x3000)=nil) shmctl$IPC_SET(r2, 0x1, &(0x7f0000000000)={{0x0, 0x0, 0x0, 0x0, 0x140}, 0x5, 0x0, 0x0, 0xffffffffffffffff}) r3 = socket(0x11, 0x3, 0x0) sendto$unix(r3, &(0x7f00000000c0)="b1000501", 0x4, 0x0, 0x0, 0x0) shmat(r2, &(0x7f000006b000/0x2000)=nil, 0x1800) shmctl$IPC_RMID(r2, 0x0) r4 = socket(0x18, 0x3, 0x0) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000140)={0x0}, &(0x7f0000000180)=0xc) pipe(&(0x7f0000000100)={0xffffffffffffffff}) fcntl$setstatus(r6, 0x4, 0xc0) pipe(&(0x7f00000001c0)={0xffffffffffffffff}) ioctl$WSKBDIO_GETMAP(r7, 0x80047476, &(0x7f0000000100)={0x0, 0x0}) r8 = fcntl$getown(r7, 0x5) fcntl$setown(r6, 0x6, r8) setpgid(r5, r8) ioctl$FIONREAD(r4, 0xc1286944, &(0x7f0000000100)) chroot(&(0x7f00000001c0)='./file0/../file0\x00') open(&(0x7f0000000080)='./file0/../file0\x00', 0x40, 0x0) 89.6626ms ago: executing program 7 (id=362): mknod(&(0x7f0000000400)='./file0\x00', 0x80, 0x287c) r0 = socket(0x18, 0x2, 0x0) close(r0) connect$unix(r0, 0x0, 0x0) r1 = open(&(0x7f0000000300)='./file0\x00', 0x0, 0x0) poll(&(0x7f00000000c0)=[{r1, 0x6e}], 0x1, 0xfffffffd) close(r1) 80.356263ms ago: executing program 7 (id=363): msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000080)={{0x0, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x32, 0x1b}, 0x80000000000004, 0x3d3, 0xffffffffffffffff, 0x0, 0x8000000000000000, 0x9, 0x0, 0xffe}) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000040)={0x0}, 0xc) r1 = getpid() setpgid(r0, r1) mprotect(&(0x7f00003bf000/0x1000)=nil, 0x1000, 0x0) sendmsg$unix(0xffffffffffffffff, &(0x7f0000001700)={&(0x7f0000000080), 0x1c, 0x0}, 0x0) bind$unix(0xffffffffffffffff, &(0x7f0000000140)=@abs={0x1, 0x0, 0x3}, 0x8) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x100000000000000, 0x10040000000002}}) mprotect(&(0x7f0000123000/0x4000)=nil, 0x4000, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r2 = socket(0x18, 0x1, 0x0) close(r2) r3 = socket(0x1, 0x1, 0x0) r4 = kqueue() kevent(r4, &(0x7f0000000000)=[{{r3}, 0xffffffffffffffff, 0x1, 0xa6c845073ff8f143, 0x8, 0x10}], 0x6, 0x0, 0x7, 0x0) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000100)={0x3, &(0x7f0000000040)=[{}, {}, {0x3, 0x0, 0x0, 0x2}]}) sysctl$net_inet_ip(&(0x7f0000000040)={0x4, 0x2, 0x0, 0x1e}, 0x5, &(0x7f0000000140)="e33745e84d5ebfb9cc2f7fa3a7f7891721720e69dac610a4fb5eaf3e3c6e1d648a8ca6ebc70f949c442aee9dc79e2cd74f4e106f382caf01ada3bc4efb0f6bc50690e5d879fac2492f4a0491b1ea3359aa5c5164ad97ac7c3aaddd498c0f962f5167b69cfdc8287fc34b8138340e60c404a855858ea5fc", &(0x7f0000000000)=0x22, 0x0, 0xfffffdfd) r5 = socket(0x18, 0x2, 0x0) setsockopt(r5, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) sendmsg$unix(r2, &(0x7f0000001700)={0x0, 0x0, 0x0}, 0x0) msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000080)={{0x0, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x32, 0x1b}, 0x80000000000004, 0x3d3, 0xffffffffffffffff, 0x0, 0x8000000000000000, 0x9, 0x0, 0xffe}) (async) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000040), 0xc) (async) getpid() (async) setpgid(r0, r1) (async) mprotect(&(0x7f00003bf000/0x1000)=nil, 0x1000, 0x0) (async) sendmsg$unix(0xffffffffffffffff, &(0x7f0000001700)={&(0x7f0000000080), 0x1c, 0x0}, 0x0) (async) bind$unix(0xffffffffffffffff, &(0x7f0000000140)=@abs={0x1, 0x0, 0x3}, 0x8) (async) ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x100000000000000, 0x10040000000002}}) (async) mprotect(&(0x7f0000123000/0x4000)=nil, 0x4000, 0x0) (async) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) (async) socket(0x18, 0x1, 0x0) (async) close(r2) (async) socket(0x1, 0x1, 0x0) (async) kqueue() (async) kevent(r4, &(0x7f0000000000)=[{{r3}, 0xffffffffffffffff, 0x1, 0xa6c845073ff8f143, 0x8, 0x10}], 0x6, 0x0, 0x7, 0x0) (async) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000100)={0x3, &(0x7f0000000040)=[{}, {}, {0x3, 0x0, 0x0, 0x2}]}) (async) sysctl$net_inet_ip(&(0x7f0000000040)={0x4, 0x2, 0x0, 0x1e}, 0x5, &(0x7f0000000140)="e33745e84d5ebfb9cc2f7fa3a7f7891721720e69dac610a4fb5eaf3e3c6e1d648a8ca6ebc70f949c442aee9dc79e2cd74f4e106f382caf01ada3bc4efb0f6bc50690e5d879fac2492f4a0491b1ea3359aa5c5164ad97ac7c3aaddd498c0f962f5167b69cfdc8287fc34b8138340e60c404a855858ea5fc", &(0x7f0000000000)=0x22, 0x0, 0xfffffdfd) (async) socket(0x18, 0x2, 0x0) (async) setsockopt(r5, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) (async) sendmsg$unix(r2, &(0x7f0000001700)={0x0, 0x0, 0x0}, 0x0) (async) 79.648814ms ago: executing program 4 (id=364): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x100, 0x0) r1 = dup(r0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000200)={0x3, &(0x7f0000000140)=[{0x8}, {0x48, 0x9, 0x9, 0x10104}, {0xe, 0x0, 0x4, 0xfffffffa}]}) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000080)={'tap', 0x0}) syz_emit_ethernet(0x2a, &(0x7f00000004c0)=ANY=[]) 79.16848ms ago: executing program 5 (id=365): r0 = syz_open_pts() r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) fcntl$lock(r1, 0x9, &(0x7f0000000000)={0x0, 0x0, 0xeffffffffffffffb, 0x10002efffffff, 0xffffffffffffffff}) ioctl$WSMUXIO_LIST_DEVICES(r1, 0xc1045763, &(0x7f0000000080)={0x4, [{0x0, 0x1000}, {0x2, 0x7}, {0x3, 0x4}, {0x2, 0xd}, {0x1}, {0x2, 0x3}, {0x1}, {0x2, 0xd}, {0x2, 0x9}, {0x3, 0x4d}, {0x1, 0x4}, {0x1}, {0x3, 0x9}, {0x1, 0x4e31}, {0x3, 0xedbd}, {0x1, 0x400}, {0x1, 0x6}, {0x2, 0x7f}, {0x3, 0x70dc}, {0x2, 0x4}, {0x1, 0x3}, {0x3, 0x5}, {0x0, 0x1000}, {0x1, 0x8}, {0x2, 0x3}, {0x1, 0x4}, {0x0, 0x3}, {0x2, 0x9}, {0x2, 0x6ea8}, {0x2, 0x1}, {0x3, 0x5}, {0x3, 0x6}]}) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000040)={0x0, 0x0, 0x1, 0x0, "1a0001ad09fb000700000000098000"}) readv(r0, &(0x7f0000000700)=[{&(0x7f0000000200)=""/211, 0xd3}], 0x1) syz_emit_ethernet(0x3e, &(0x7f0000000000)={@broadcast, @empty, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x1c, 0x0, 0x0, 0x0, 0x11, 0x0, @rand_addr, @broadcast}, @icmp=@dest_unreach={0x3, 0x0, 0x0, 0x0, 0x8, 0x0, {0x5, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @empty, @multicast1}}}}}}) 75.055816ms ago: executing program 0 (id=366): semget(0x0, 0x2, 0x588) (async, rerun: 64) r0 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) (rerun: 64) writev(r0, &(0x7f0000000180)=[{&(0x7f0000000080)="96e9cf1c159f0b4bd4d5af6db8737cdcd536bd1d3c69904f000001003794417a80412b81b220a2be41ca6ac25ac05e6f4c", 0x31}, {&(0x7f0000000300)="e782bed0d0b91bc1915a744ac36390ca4139", 0x12}], 0x2) execve(0x0, 0x0, 0x0) (async) unveil(&(0x7f0000000080)='./file0\x00', &(0x7f00000000c0)='x\x00') (async) r1 = getppid() ktrace(&(0x7f0000000000)='./file0\x00', 0x0, 0x10, r1) 5.734361ms ago: executing program 4 (id=367): r0 = socket(0x11, 0x3, 0x0) sendto$unix(r0, &(0x7f0000000080)="b10005010000009f0500070007010000331c13fecea10500fef96ecfc72fd3357ae30200004e3039d2d236acf20b7804be38164991f7c8cf5f882b297be1aa0500000051e2f0ad3ebbc257699a1f139b672f335c223e7d0c032bfa896443a42118210000720fd38bfb0000fd54c125191b1257aea8c500002002fbfe0c2300008abfba0902000000e371a3f8343712051eeab70800000000050000ffffffff00"/177, 0xb1, 0x0, 0x0, 0x0) sysctl$kern(&(0x7f0000000040)={0x1, 0x1}, 0x2, 0x0, 0x0, 0xfffffffffffffffe, 0xfffffffffffffe2a) 5.28908ms ago: executing program 5 (id=368): fcntl$lock(0xffffffffffffffff, 0x8, &(0x7f0000000000)={0x0, 0x2, 0xffffffffffffffff, 0x2}) sysctl$kern(&(0x7f0000000000)={0x1, 0x49}, 0x6, 0x0, 0x0, 0x0, 0x0) r0 = socket(0x18, 0x3, 0x0) getsockopt$sock_int(r0, 0xffff, 0x1000, &(0x7f0000000280), &(0x7f0000000640)=0x4) openat$bpf(0xffffffffffffff9c, 0x0, 0x0, 0x0) 4.865835ms ago: executing program 3 (id=369): getitimer(0x3, 0x0) open(&(0x7f0000000040)='./file0\x00', 0x200, 0x0) (async) r0 = open(&(0x7f0000000040)='./file0\x00', 0x200, 0x0) r1 = accept$unix(r0, 0x0, &(0x7f0000000140)) fcntl$dupfd(r1, 0xa, r0) open$dir(&(0x7f0000000000)='./file0\x00', 0x2, 0x0) (async) r2 = open$dir(&(0x7f0000000000)='./file0\x00', 0x2, 0x0) writev(r2, &(0x7f0000000340)=[{&(0x7f0000000000), 0x2cfea}], 0x1000000000000013) mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x10, r0, 0x0) sysctl$kern(&(0x7f00000000c0)={0x1, 0x50}, 0x3, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0xfe10, 0x0, 0x37) 4.443502ms ago: executing program 7 (id=370): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000080), 0x0, 0x0) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000080), 0x20, 0x0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000040)={0x0, 0x0}) openat$bpf(0xffffffffffffff9c, &(0x7f00000000c0), 0x200, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000200)={0x3, &(0x7f0000000380)=[{0x80, 0x0, 0x0, 0x4}, {0x50, 0x0, 0x0, 0x4000e}, {0x812e, 0x8, 0xd6, 0x1}]}) syz_emit_ethernet(0x4a, &(0x7f0000000000)=ANY=[@ANYBLOB="308ba5ca35ace88494b36e2286df62b05b230014ff0300000000000000000000000000000000fe8000000000000000000000000000bb4e234e23d8cc679d85f814a6e963eab4ec93bc7d6e4bdad8923ab6dcb5d084dcfd1440c268", @ANYRES32=0x41424344, @ANYRES32=0x41424344, @ANYBLOB="5040800090780b4d"]) (async) syz_emit_ethernet(0x4a, &(0x7f0000000000)=ANY=[@ANYBLOB="308ba5ca35ace88494b36e2286df62b05b230014ff0300000000000000000000000000000000fe8000000000000000000000000000bb4e234e23d8cc679d85f814a6e963eab4ec93bc7d6e4bdad8923ab6dcb5d084dcfd1440c268", @ANYRES32=0x41424344, @ANYRES32=0x41424344, @ANYBLOB="5040800090780b4d"]) r2 = getpgid(0xffffffffffffffff) sysctl$kern(&(0x7f00000000c0)={0x1, 0x50}, 0x4, &(0x7f0000000280)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000300)=0x2, 0x0, 0x4c) (async) sysctl$kern(&(0x7f00000000c0)={0x1, 0x50}, 0x4, &(0x7f0000000280)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000300)=0x2, 0x0, 0x4c) getpgid(r2) clock_getres(0x5, 0x0) (async) clock_getres(0x5, 0x0) 1.66374ms ago: executing program 5 (id=371): r0 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) ioctl$WSMOUSEIO_SETMODE(r0, 0x80045726, &(0x7f0000000040)) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000040)={0xffffffffffffffff, 0xffffffffffffffff}) recvmmsg(0xffffffffffffffff, &(0x7f0000000700)={&(0x7f00000001c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000680)=""/100, 0x64}, 0x80003f8d}, 0x10, 0x0, 0x0) syz_emit_ethernet(0x5e, &(0x7f0000000400)=ANY=[@ANYBLOB="aaaaaaaaaaaa7004f5b3750786dd60d90000002800003bcc2629a17a6c58afb8877c8be162e3fe8000000000000000000000000000aa890090780000000000000000000000000000ffff00000000fe8000000000000000001d00000000aa8b97d50e5e4174a06976a4d2d639cb0aae5e364b11259ba26c6cdcbff91202b2cf9e20cd8c19a352db851509dd126cae2a4bcb816db2182e433a0220f95196b2c003789217bacaa1a3fc6967e2e7edfd96cb17360ed7d33403"]) r3 = open(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) r4 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) ioctl$WSKBDIO_GETENCODINGS(r4, 0xc0105715, &(0x7f0000000080)) r5 = fcntl$dupfd(r1, 0x0, r2) recvmsg(r5, &(0x7f0000000540)={0x0, 0x0, &(0x7f0000000280)=[{&(0x7f0000000100)=""/136, 0x88}, {&(0x7f0000000200)=""/76, 0x4c}], 0x2, 0x0}, 0x800) mknod(&(0x7f0000000240)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x2000, 0x0) mknod(&(0x7f0000000040)='./bus\x00', 0x100000000205f, 0x0) link(&(0x7f0000000340)='./bus\x00', &(0x7f0000000600)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00') mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x0) open(&(0x7f0000000100)='./file0\x00', 0x0, 0x4) setsockopt$sock_timeval(r2, 0xffff, 0x1005, &(0x7f0000000000)={0x0, 0x8}, 0x10) syz_open_pts() ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000200)=[{}, {0x0, 0x0, 0x20}, {0x6}]}) close(r2) connect(r3, &(0x7f00000000c0)=@in={0x2, 0x2}, 0xc) syz_emit_ethernet(0x2e, &(0x7f0000000000)={@broadcast, @random="ac566789c541", [], {@ipv4={0x800, {{0x8, 0x4, 0x0, 0x0, 0x20, 0x0, 0x0, 0xfc, 0x0, 0x0, @broadcast, @remote={0xac, 0x14, 0x0}, {[@timestamp={0x44, 0xc, 0x7, 0x1, 0x0, [{}, {}]}]}}}}}}) socket(0x18, 0x2, 0x0) readv(0xffffffffffffffff, &(0x7f0000000100)=[{&(0x7f00000002c0)=""/50, 0x32}], 0x1) r6 = openat$zero(0xffffffffffffff9c, &(0x7f00000003c0), 0x0, 0x0) preadv(r6, &(0x7f0000000200)=[{0x0}, {0x0}, {&(0x7f0000000100)=""/254, 0xfe}, {&(0x7f0000000400)=""/4096, 0x1000}, {&(0x7f0000001400)=""/4096, 0x1000}], 0x5, 0x0) sendmsg(0xffffffffffffffff, &(0x7f00000003c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=ANY=[@ANYBLOB="1800000029"], 0x3e}, 0x0) recvfrom$unix(r1, 0x0, 0x0, 0x0, 0x0, 0x0) r7 = socket(0x11, 0x3, 0x0) sendto$unix(r7, &(0x7f0000000180)="b1000504600000000000000007000000331c13fecea10500fef9ed061ddd1efb7ae320b37b673051d2d236073705ae04be38164991f7b85143222b297be1aa5b2354eb51e2f0ac3ebbc257699a5f139b672f4d335d223e7d029d6ba8af630037282102000000720f70c1f5a472c881ea6e69e0bb76d907a900000200361b1257aea8c5000020020000000000ffbb27c501f1306c7f008a09ba09006574ffffffffff35b5710426037503682ce371a30080", 0xb1, 0x0, 0x0, 0x0) getdents(0xffffffffffffffff, 0x0, 0x0) 636.073µs ago: executing program 4 (id=372): getuid() r0 = socket$unix(0x1, 0x2, 0x0) syz_emit_ethernet(0x2a, &(0x7f0000000000)=ANY=[@ANYBLOB="aaaaaac7a2e46f05fa08"]) ioctl$FIONREAD(r0, 0x80206979, &(0x7f0000000000)) r1 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x10000, 0x0) r2 = getppid() fcntl$setown(r1, 0x6, r2) ioctl$WSMUXIO_REMOVE_DEVICE(0xffffffffffffffff, 0x80085762, &(0x7f0000000040)={0x1}) r3 = socket(0x18, 0x3, 0x3a) setsockopt(r3, 0x29, 0x6c, &(0x7f0000000040), 0x4) setsockopt$inet6_MRT6_ADD_MIF(r3, 0x29, 0x66, &(0x7f0000000240)={0x0, 0x0, 0x9, 0x2, 0x9c}, 0xc) close(r1) 0s ago: executing program 0 (id=373): r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0xae828e137847f62, 0x0) setrlimit(0x1, &(0x7f0000000000)={0xfffffffffffffff9, 0x2}) ftruncate(r0, 0x20008002) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000140)=[{0x84, 0x4, 0x8, 0x9}, {0x4, 0xfa, 0x2, 0x10030}, {0xe, 0x0, 0x9, 0x6}]}) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000080)=[{0x1034, 0x0, 0x0, 0x5}, {0x81, 0x3, 0xfe, 0x5}, {0x6, 0xfa, 0x1, 0xfffffffe}]}) sysctl$kern(0x0, 0x0, &(0x7f0000000300)="00000300000000000000000080b5313df0ddd68ee313f8cb0100dc48dc27c94ebcdfcae9fa933d4a", &(0x7f0000000080)=0x28, 0x0, 0x0) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x462, 0x0) ioctl$BIOCSETWF(r2, 0x80104277, &(0x7f0000000040)={0x1, &(0x7f0000000140)=[{0x3c, 0x1c}]}) msgctl$IPC_SET(0x0, 0x1, 0x0) ioctl$FIONREAD(0xffffffffffffffff, 0xc020699c, 0x0) open(&(0x7f00000000c0)='./file0\x00', 0x200, 0x0) openat$bpf(0xffffffffffffff9c, 0x0, 0x800, 0x0) syz_emit_ethernet(0x3e, &(0x7f0000000000)=ANY=[@ANYBLOB="ffffffffffffaaaaaaaaaabb86dd60db83440008110000000000000000000000000000004000ff020020000000000000007d5eea46014effff78000000"]) mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0xd02) open(&(0x7f0000000080)='./bus\x00', 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r3 = openat$vnd(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) ioctl$VNDIOCSET(r3, 0x81946466, &(0x7f0000000000)={0x0, 0xfffffffffffffff8, 0x0}) ioctl$SPKRTONE(0xffffffffffffffff, 0x80085301, &(0x7f0000000040)={0x0, 0x7}) rename(&(0x7f0000000080)='./bus\x00', &(0x7f00000000c0)='./file0\x00') r4 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000440), 0x1, 0x0) ioctl$BIOCSETIF(r4, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x1) ioctl$BIOCSETWF(r4, 0x80104277, &(0x7f0000000040)={0x0, 0x0}) write(r4, &(0x7f0000000080)="d81ad3d20cf7eb4e9be33bbd1a30", 0xe) syz_emit_ethernet(0x2a, &(0x7f0000000180)=ANY=[]) r5 = open$dir(&(0x7f0000000440)='./file0\x00', 0x890, 0x0) ftruncate(r5, 0x40000) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.103' (ED25519) to the list of known hosts. ./file0 eCfile0 -Qr@ ]K w"I5BƳPObϡsJQ˒dOna<$w#pΣgTڰlsn+]d8$L9d+pckbd_enable: command error pckbd_enable: command error pckbd_enable: command error First bad /: bad dir ino 26280 at offset 0: mangled entry panic: bad dir Starting stack trace... panic(ffffffff82ff8ef2) at panic+0x1ba ufs_dirbadentry(ffff800037609528,ffff800037609528,da77fe22a5b3c8c0) at ufs_dirbadentry VOP_LOOKUP(fffffd807405dbe8,ffff8000376097a0,ffff8000376097d0) at VOP_LOOKUP+0x6e vfs_lookup(ffff800037609770) at vfs_lookup+0x8e1 namei(ffff800037609770) at namei+0x7aa domknodat(ffff8000376662b0,ffffff9c,20000040,205f,0) at domknodat+0xb4 syscall(ffff800037609970) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x570b723e820, count: 249 End of stack trace.