last executing test programs: 3.656214656s ago: executing program 1 (id=2): r0 = socket$inet6(0x18, 0x1, 0x6) r1 = kqueue() kevent(r1, &(0x7f00000001c0)=[{{}, 0xfffffffffffffff9, 0x9, 0x13, 0x3, 0xffffffffffffffff}], 0x1, 0x0, 0x5215, 0x0) closefrom(r0) open$dir(&(0x7f0000000c80)='./file1\x00', 0x0, 0x9) mkdir(&(0x7f0000001c00)='./file0\x00', 0x11) openat$wskbd(0xffffffffffffff9c, &(0x7f0000000200), 0x1, 0x0) openat$vnd(0xffffffffffffff9c, &(0x7f0000000000), 0x42, 0x0) truncate(&(0x7f00000059c0)='./file2\x00', 0x1) r2 = syz_open_pts() syz_open_pts() syz_open_pts() r3 = fcntl$dupfd(r2, 0x0, r2) getdents(r3, 0x0, 0x0) symlink(&(0x7f0000005ac0)='./file1\x00', &(0x7f0000005b00)='./file0\x00') r4 = openat$pf(0xffffffffffffff9c, &(0x7f0000000040), 0x80, 0x0) ioctl$DIOCSETIFFLAG(r4, 0xc0284459, &(0x7f0000000180)={'./file2\x00', &(0x7f0000000080)=""/194, 0x6, 0x40, 0xffffffff, 0x4}) 3.379896121s ago: executing program 2 (id=9): r0 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x10000, 0x0) ioctl$WSMOUSEIO_GTYPE(r0, 0x40045720, &(0x7f0000000040)) r1 = getuid() r2 = getgid() fchownat(r0, &(0x7f0000000080)='./file0\x00', r1, r2, 0x2) fchmodat(r0, &(0x7f00000000c0)='./file0\x00', 0x100, 0x6) fstat(r0, &(0x7f0000000140)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) lchown(&(0x7f0000000100)='./file0\x00', r1, r4) r5 = fcntl$getown(r0, 0x5) setsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f00000001c0)={r5, r3, r2}, 0xc) ioctl$DIOCRCLRTSTATS(r0, 0xc4504441, &(0x7f0000001700)={{'./file0\x00', './file1\x00', 0x0, 0x1}, &(0x7f0000000200)=[{'./file0/file0\x00', './file0\x00', 0x0, 0xdb}, {'./file0\x00', './file0\x00', 0x2a, 0x8}, {'./file0\x00', './file0\x00', 0x40, 0xe}, {'./file0/file0\x00', './file0\x00', 0x0, 0x7}, {'./file0\x00', './file0\x00', 0xa1dd4dfd215cdb53, 0xc}], 0x200, 0x5, 0x2, 0xfffffffa, 0x3a0000, 0x0, 0xa, 0x80000001}) r6 = getegid() ktrace(&(0x7f0000001b80)='./file0\x00', 0x2, 0x20002824, r5) getpeername(r0, &(0x7f0000001bc0)=@in6, &(0x7f0000001c00)=0x1c) r7 = open(&(0x7f0000001c40)='./file1\x00', 0x800, 0x9a) r8 = getpgrp() setsockopt$sock_cred(r7, 0xffff, 0x1022, &(0x7f0000001c80)={r8, r3, r2}, 0xc) ioctl$TIOCSTOP(r7, 0x2000746f) ioctl$TIOCFLUSH(r0, 0x80047410, &(0x7f0000001cc0)=0xffffffff) pselect(0x40, &(0x7f0000001d00)={0x5, 0x3, 0xff, 0x8d, 0x40, 0x7, 0xca2, 0x1}, &(0x7f0000001d40)={0x4, 0x2, 0x0, 0xffffffff00000001, 0x6, 0x9, 0x4}, &(0x7f0000001d80)={0x64a, 0x4, 0x1, 0xfff, 0x8, 0xaf, 0x2, 0x3}, &(0x7f0000001dc0)={0x8000, 0xa}, &(0x7f0000001e00)={0xd6b}) getsockopt(r0, 0xf, 0x7, &(0x7f0000001e40)=""/29, &(0x7f0000001e80)=0x1d) ioctl$DIOCRCLRTSTATS(r0, 0xc4504441, &(0x7f0000002f80)={{'./file2\x00', './file0\x00', 0x2d, 0x3}, &(0x7f0000001ec0)=[{'./file0/file0\x00', './file0/file0\x00', 0x20, 0xff}, {'./file0\x00', './file0\x00', 0x6a, 0x2}, {'./file1\x00', '\x00', 0x4, 0x2d}, {'./file0\x00', './file0/file0\x00', 0x1, 0x8}], 0x4, 0x4, 0x3, 0x8, 0x3, 0x7ff, 0x22, 0x7f}) ioctl$WSDISPLAYIO_GETSCREENTYPE(r0, 0xc028575d, &(0x7f0000003400)={0x9, 0x0, './file3\x00', 0x0, 0x69ed, 0x6, 0xffff}) mkfifo(&(0x7f0000003440)='./file2\x00', 0x0) pipe2(&(0x7f0000003480), 0x10000) r9 = open$dir(&(0x7f00000034c0)='./file4\x00', 0x20, 0x19) getresuid(&(0x7f0000003540), &(0x7f0000003580), &(0x7f00000035c0)=0x0) fchownat(r9, &(0x7f0000003500)='./file1\x00', r10, r6, 0x6) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000003600)={'tap', 0x0}) fstatat(r7, &(0x7f0000003640)='./file1\x00', &(0x7f0000003680), 0x2) 3.3753767s ago: executing program 4 (id=10): r0 = openat$pci(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) fcntl$setflags(r0, 0x2, 0x4) closefrom(r0) ioctl$PCIOCGETROM(r0, 0xc0107005, &(0x7f0000000540)={{0x5, 0x3, 0xff}, 0x5, &(0x7f0000000000)=[0x0, 0x0, 0x0, 0x0, 0x0]}) r1 = socket$inet(0x2, 0x3, 0x2f) connect$inet(r1, &(0x7f0000000100)={0x10, 0x2, 0x3, 0xffffffff}, 0x10) (async) sendmmsg(r1, &(0x7f0000000500)={{0x0, 0x0, 0x0, 0x0, 0x0}}, 0x38, 0x400) (async) r2 = dup2(r0, r0) (async) r3 = openat$pf(0xffffffffffffff9c, &(0x7f0000000580), 0x80, 0x0) (async) r4 = socket$inet6(0x18, 0x2, 0x0) bind$inet6(r4, &(0x7f0000000040)={0x1c, 0x18, 0x2, 0xfffffffd, "fffe0000000000000000008000", 0xfffffff5}, 0x1c) connect$inet6(r4, &(0x7f0000000080)={0x1c, 0x18, 0x3, 0x400, "000000000000f400", 0x9}, 0x1c) connect$inet6(r4, &(0x7f00000000c0)={0x1c, 0x18, 0x3, 0xfffffff9, "93321eb608c6b14b2dd39e1ede47b2c4", 0x2}, 0x1c) (async) ioctl$DIOCRADDADDRS(r3, 0xc4504443, &(0x7f00000000c0)={{'./file0\x00', './file1\x00', 0x20, 0x7}, 0x0, 0x34, 0x0, 0x5, 0xa, 0x4ad, 0xffffffff, 0x2e, 0x7}) (async) ioctl$DIOCXBEGIN(r2, 0xc00c7006, &(0x7f0000000080)={0x0, 0x202, 0x0}) 3.375094344s ago: executing program 3 (id=4): r0 = kqueue1(0x10000) fcntl$getflags(r0, 0x1) r1 = socket$inet6(0x18, 0x1, 0x0) writev(r1, &(0x7f00000002c0)=[{&(0x7f0000000040)="0b69dbda3b381aeb238ff0bbecd272eb6f9d35f531014f4472a4afbe981cf94814a07d16cf7c6cb9dc66a7045d6821e981f145e3e8aa164894201db22295633b95c89cad99b653623ef6d98ba2738786106aa0217a19a14312cf5bde9dc014bc1f27", 0x62}, {&(0x7f00000000c0)="ed535cf2e7f7d22e2d2e683ba6d60ebeb0cf543c96668fe9fc816c33f2eb8e261d9e94c6e7e1efc00017206c9554113faab960b81cadec3c2a2ed2ed1e974a3cb7fb6b991987b428c6f33883979d1f", 0x4f}, {&(0x7f0000000140)="f0d9e26200a1a81c1654820bf6cb5825f02e9df9f531174f255fd1e59bcd083645c7f606712f563090f332a8fd458a45cd59cecb0fcb975c833a1b14dfbc37c6540376ffad10817a601f842fa3ee458c39c3c0f2c9bfe2f5e49664a76e22262752adb61d1a78303efbcf6d5a6977a4e5907f11c566587d5c003bd1b3ed50ec6364d2fd0e6b3775ce081dcca20c225f6415ae3dc254210592e09d5a38efa6d10d6f452f9809f7a7ac8f54ac19e23182ea5269ba55c9508043ff899c887c47b945f98ee4455e6f8f86c75606f39a2b8e28cec8ee4f217abce402b626", 0xdb}, {&(0x7f0000000240)="12874c5d5e5c5ee4582d99f83d54dcaba11fbc02d8bcf6a7350ae748f07f8b8e389fcf91891a721268fb88cc5e06e74bc441f3e08efa05be768aa5a2df8888c23d916357f426c95a1a12283f71", 0x4d}], 0x4) (async, rerun: 64) r2 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x8000, 0x0) (async, rerun: 64) r3 = openat$pf(0xffffffffffffff9c, &(0x7f0000001f80), 0x2, 0x0) ioctl$DIOCNATLOOK(r3, 0xc0504417, &(0x7f0000000640)={@v6=@local={0xfe, 0x80, '\x00', 0x0}, @v6=@ipv4={'\x00', '\xff\xff', @rand_addr=0x919}, @v4=@loopback, @v4=@loopback, 0x7, 0x4c7f, 0x9, 0x9, 0x2, 0x6325, 0x18, 0x0, 0x3}) (async) r4 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETF(r4, 0x80104267, &(0x7f0000001040)={0x1, &(0x7f0000001000)=[{0x6, 0x6, 0xff, 0x101}]}) ioctl$BIOCSETIF(r4, 0x8020426c, &(0x7f0000000440)={'tap', 0x0}) (async) sysctl$kern(0x0, 0x0, &(0x7f0000000040)="3f0dd77e8f8fdcb1fd4fbc01ffdf", 0x0, 0x0, 0x0) r5 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x2, 0x0) (async) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) ioctl$DIOCGETSTATES(r5, 0xc0104419, &(0x7f0000000040)={0x0, 0x0}) (async) ioctl$WSKBDIO_GETBACKLIGHT(r0, 0x400c5711, &(0x7f0000000300)) (async) ioctl$BIOCSETIF(r2, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) (async) syz_emit_ethernet(0x66, &(0x7f0000000480)=ANY=[@ANYBLOB="aaaaaaaaaaaaaaaaaaaaaaaa86dd68595b8100302c04fe80ff020000000000000000000000000001020090780000000a64761e00f000620100000000000000000000ffff0000fefeff020000000000c500000000000000000100"/102]) 3.228998654s ago: executing program 3 (id=11): mkfifo(&(0x7f0000001380)='./file0\x00', 0x8) r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x80, 0x0) socketpair$unix(0x1, 0x5, 0x0, &(0x7f00000006c0)={0xffffffffffffffff, 0xffffffffffffffff}) seteuid(0xffffffffffffffff) (async) seteuid(0xffffffffffffffff) r2 = syz_open_pts() ioctl$TIOCSETD(r2, 0x8004741b, &(0x7f0000000280)=0x5) open$dir(&(0x7f00000002c0)='./file0\x00', 0x2, 0x3c) closefrom(r1) poll(&(0x7f0000000040)=[{r0, 0x4}], 0x1, 0x2) socket$inet(0x2, 0x1, 0x6) (async) socket$inet(0x2, 0x1, 0x6) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000040)) (async) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000040)) readv(r0, &(0x7f0000002a40)=[{&(0x7f00000013c0)=""/4096, 0x1000}, {&(0x7f00000023c0)=""/224, 0xe0}, {&(0x7f00000024c0)=""/225, 0xe1}, {&(0x7f00000025c0)=""/141, 0x8d}, {&(0x7f0000002680)=""/160, 0xa0}, {&(0x7f0000002740)=""/123, 0x7b}, {&(0x7f00000027c0)=""/98, 0x62}, {&(0x7f0000002840)=""/98, 0x62}, {&(0x7f00000028c0)=""/88, 0x58}, {&(0x7f0000002940)=""/223, 0xdf}], 0xa) pselect(0x40, &(0x7f0000000080)={0xff, 0x3ff, 0x5, 0x8, 0x9, 0xb, 0x3, 0x80000009}, 0x0, 0x0, 0x0, 0x0) (async) pselect(0x40, &(0x7f0000000080)={0xff, 0x3ff, 0x5, 0x8, 0x9, 0xb, 0x3, 0x80000009}, 0x0, 0x0, 0x0, 0x0) 3.212874389s ago: executing program 4 (id=13): r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x2, 0x0) ftruncate(r0, 0x4ef) sysctl$net_inet_carp(&(0x7f0000001240)={0x4, 0x2, 0x70, 0x1}, 0x2, &(0x7f0000000000)="b11efad0f20dac5904a1", 0x0, 0x0, 0x0) 3.211722013s ago: executing program 7 (id=8): syz_emit_ethernet(0x56, &(0x7f0000000300)=ANY=[@ANYBLOB="aaaaaaaaaaaaaaaaaaaaaaaa86dd6f61184a0020060100000000090000000a00000000000000fe8000000000000000000000000000aa4e224e2200089078cac7994a8602"]) r0 = syz_open_pts() r1 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000001300), 0x20, 0x0) ioctl$WSMOUSEIO_SETPARAMS(r1, 0x80105728, &(0x7f0000001380)={&(0x7f0000001340)=[{0x1, 0x3}], 0x1}) openat$bpf(0xffffffffffffff9c, &(0x7f0000000300), 0x40000, 0x0) closefrom(0xffffffffffffffff) r2 = syz_open_pts() r3 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000080), 0x8000, 0x0) ioctl$BIOCSRTIMEOUT(r3, 0x8010426d, &(0x7f0000000000)={0x9, 0x1}) r4 = socket$unix(0x1, 0x5, 0x0) closefrom(r4) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) syz_open_pts() write(r2, &(0x7f0000000100)='~', 0x1) pselect(0x40, &(0x7f0000000080)={0xdc, 0x0, 0x2, 0x5, 0x2, 0x9, 0x9, 0x3}, 0x0, 0x0, 0x0, 0x0) read(r0, 0x0, 0x0) fchown(r0, 0x0, 0x0) 3.211279925s ago: executing program 2 (id=14): sysctl$vfs_nfs(&(0x7f0000000000)={0xa, 0x2, 0x2}, 0x33f, 0x0, 0x0, 0x0, 0x0) r0 = accept(0xffffffffffffffff, &(0x7f0000000680)=@in6, &(0x7f00000006c0)=0x1c) setsockopt$sock_int(r0, 0xffff, 0x200, &(0x7f0000000000)=0x6, 0x4) r1 = socket$inet6(0x18, 0x3, 0x0) bind$inet6(r1, &(0x7f0000000040)={0x1c, 0x18, 0x3, 0x61, "fff10000ed13160000b2526800000020", 0xfdfffff5}, 0x1c) bind$inet6(r1, &(0x7f0000000040)={0x1c, 0x18, 0x3, 0x100, "83e3da820000004300", 0x1}, 0x1c) r2 = openat$wsmuxkbd(0xffffffffffffff9c, &(0x7f0000000740), 0x80, 0x0) connect$inet(r2, &(0x7f0000000780)={0x10, 0x2, 0x3, 0x1ff}, 0x10) sysctl$hw(&(0x7f0000000580)={0x6, 0x8}, 0x2, &(0x7f00000005c0)="e5867ecdf75530316376221c2d4b85ae0d9cb2d2f7", &(0x7f0000000640)=0x15, &(0x7f0000000680), 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$kern(&(0x7f0000000000)={0x1, 0x3f}, 0x7, 0x0, 0x0, 0x0, 0x0) sysctl$net_inet_ip(&(0x7f0000000000)={0x4, 0x2, 0x0, 0x1c}, 0x4, 0x0, 0x0, 0x0, 0x0) sysctl$hw(&(0x7f0000000000)={0x6, 0x1}, 0x2, 0x0, 0x0, 0x0, 0x0) open$dir(&(0x7f0000000700)='./file0\x00', 0xce8cd613e13b5897, 0x4) r3 = socket$unix(0x1, 0x5, 0x0) closefrom(r3) recvmmsg(r3, &(0x7f0000000600)={{0x0, 0x0, &(0x7f0000000480)=[{&(0x7f0000000080)=""/8, 0x8}, {&(0x7f00000000c0)=""/174, 0xae}, {&(0x7f0000000180)=""/229, 0xe5}, {&(0x7f0000000280)=""/162, 0xa2}, {&(0x7f0000000340)=""/27, 0x1b}, {&(0x7f0000000380)=""/194, 0xc2}], 0x6, &(0x7f0000000500)=""/200, 0xc8}, 0x464a}, 0x38, 0x1002, &(0x7f0000000640)={0x2, 0x4}) 2.126024505s ago: executing program 4 (id=16): syz_emit_ethernet(0x3e, &(0x7f0000000040)=ANY=[@ANYBLOB="ffffffffffff00000000000086dd6090b8330008000000000000fe800000000000000000027809cb00bb4e224e2100089078"]) 1.986194153s ago: executing program 7 (id=18): r0 = socket$inet6(0x18, 0x3, 0x7) getsockname(r0, &(0x7f0000000080)=@in6, &(0x7f0000002580)=0x1c) open(&(0x7f0000000000)='./file0\x00', 0x2, 0x80) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) r1 = socket$inet6(0x18, 0x2, 0x0) bind$inet6(r1, &(0x7f0000000080)={0x1c, 0x18, 0x3, 0x4}, 0x1c) 1.951776597s ago: executing program 1 (id=19): sysctl$kern(&(0x7f0000000000)={0x1, 0x4b}, 0x2, 0x0, &(0x7f0000000080), 0x0, 0x0) mprotect(&(0x7f00000c3000/0x3000)=nil, 0x3000, 0x1) (async) r0 = syz_open_pts() ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000000)={0x1007, 0x3, 0xffffffc0, 0xffffffff, "fe8323860000c2e59897e4abb68600", 0x2, 0xcfe}) (async) ioctl$TIOCSTAT(r0, 0x20007465) ioctl$TIOCSETD(r0, 0x8004741b, &(0x7f00000000c0)=0x7) (async) sysctl$kern(&(0x7f0000000000)={0x1, 0x1d}, 0x2, &(0x7f0000000040), &(0x7f0000000080), 0x0, 0x0) (async) sysctl$net_inet_ip(&(0x7f0000000080)={0x4, 0x2, 0x0, 0xe}, 0x4, 0x0, 0x0, 0x0, 0x0) (async) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x42, 0x0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000040)=[{0x7, 0x4, 0xcf}, {0x3, 0x4, 0x1, 0x1}, {0xd9e6, 0x4b, 0x23, 0x7}]}) (async) r2 = shmget$private(0x0, 0x3000, 0x1, &(0x7f0000ffb000/0x3000)=nil) shmctl$SHM_UNLOCK(r2, 0x4) r3 = socket$inet(0x2, 0x3, 0x2) sysctl$net_inet_tcp(&(0x7f0000000100)={0x4, 0x2, 0x6, 0xc}, 0x4, &(0x7f0000000140)="69fed8c7062e4dae366f7f27e6e8988ff8e298d743660c7b8efd4e6bb5c135f4f3776220b2f51073133af95d5463368eb7a168a117394f0e404c79f821d2946b24a3237c3d5e262d3cc0157e7f472ad434ebad13a35312cc9f93de0bef698425896b564840a18adec5a37fd0a3df25b709c14bdc8ede00334712ebed0b1dcdd9f5477e76e7e36ff9a93e3d09a3120a29743cd7935af58c04dc923ec5615f9a42ad26d032c4ebde76b7720fac81815b", &(0x7f0000000200)=0xaf, &(0x7f0000000240)="c379878135324210ce2fb1ffe4d7c374d193fde187513b3a949073ae0b7c11d7bcd2277586805949dda34573391ca63d8df51342b2bd6d41d7d40b854f", 0x3d) setsockopt(r3, 0x0, 0xc, &(0x7f0000000040)="9a35566918948a466191d828", 0xc) (async, rerun: 64) ioctl$WSMOUSEIO_SETPARAMS(0xffffffffffffffff, 0x80105728, &(0x7f00000000c0)={&(0x7f0000000000)=[{0x7, 0x5}], 0x1}) (rerun: 64) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$kern(&(0x7f0000000000)={0x1, 0x4a}, 0x2, 0x0, 0x0, &(0x7f0000000080)="00000001", 0x4) (async) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) syz_emit_ethernet(0x2a, &(0x7f0000003480)=ANY=[]) (async) openat$wskbd(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0) 1.94703786s ago: executing program 0 (id=20): socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000001280)={0xffffffffffffffff, 0xffffffffffffffff}) r1 = socket$inet6(0x18, 0x1, 0x6) (async) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) r3 = kqueue1(0x10000) kevent(r3, &(0x7f0000000140)=[{{r1}, 0xfffffffffffffffa, 0x1, 0x4, 0x80000000, 0x1400000000000000}], 0xf00, 0x0, 0xffff4b51, 0x0) (async) r4 = kqueue1(0x10000) kevent(r4, &(0x7f0000000040), 0xc31, 0x0, 0x3486, 0x0) r5 = kqueue1(0x10000) kevent(r5, &(0x7f0000000080), 0x86, 0x0, 0xffff4b4d, 0x0) (async) closefrom(r2) (async) recvmmsg(r0, &(0x7f0000002ac0)={{0x0, 0x0, 0x0, 0x0, 0x0}, 0x4}, 0x38, 0x441, 0x0) (async) mkfifo(&(0x7f0000001800)='.\x00', 0xb) socket$inet(0x2, 0x8003, 0x1) (async) r6 = socket$inet(0x2, 0x2, 0xeb) getsockopt(r6, 0xffffffff, 0x63, 0x0, 0x0) (async) r7 = socket$inet6(0x18, 0x2, 0x0) setsockopt$sock_int(r7, 0xffff, 0x1000, &(0x7f00000002c0)=0x6, 0x4) bind$inet6(r7, &(0x7f0000000000)={0x1c, 0x18, 0x3, 0x2d, "0020e17290dca200000000001000", 0x1000007}, 0x1c) (async) r8 = socket$inet6(0x18, 0x2, 0x0) setsockopt$sock_int(r8, 0xffff, 0x1000, &(0x7f00000002c0)=0x6, 0x4) bind$inet6(r8, &(0x7f0000000040)={0x1c, 0x18, 0x3, 0xd, "0000000000000000030f00", 0x1000004}, 0x1c) setsid() 1.946338325s ago: executing program 4 (id=21): r0 = socket$unix(0x1, 0x5, 0x0) bind(r0, &(0x7f00000000c0)=@un=@file={0x0, 0x1, './file0\x00'}, 0xa) listen(r0, 0x472) shutdown(r0, 0x2) r1 = socket$inet(0x2, 0x8003, 0x1) setsockopt$sock_int(r1, 0xffff, 0x1000, &(0x7f0000000540)=0x200, 0x4) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x3d3f) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) r3 = socket$inet6(0x18, 0x2, 0x0) setsockopt$inet6_MRT6_ADD_MIF(r3, 0x29, 0x25, &(0x7f0000000000)={0x0, 0x0, 0x0, 0xa094, 0xfffffff7}, 0x4) closefrom(r2) bind$inet6(r2, 0x0, 0x0) bind$inet(r1, &(0x7f0000000000)={0x10, 0x2, 0x3, 0x16}, 0x10) sendmmsg(r1, &(0x7f0000001840)={{&(0x7f00000000c0)=@in={0x10, 0x2, 0x2, 0x5}, 0x10, 0x0, 0x0, 0x0}}, 0x38, 0x8) r4 = socket$unix(0x1, 0x5, 0x0) connect$unix(r4, &(0x7f00000000c0)=@file={0xfc, 0x1, './file0\x00'}, 0xa) socket$unix(0x1, 0x5, 0x0) (async) bind(r0, &(0x7f00000000c0)=@un=@file={0x0, 0x1, './file0\x00'}, 0xa) (async) listen(r0, 0x472) (async) shutdown(r0, 0x2) (async) socket$inet(0x2, 0x8003, 0x1) (async) setsockopt$sock_int(r1, 0xffff, 0x1000, &(0x7f0000000540)=0x200, 0x4) (async) openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) (async) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x3d3f) (async) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) (async) socket$inet6(0x18, 0x2, 0x0) (async) setsockopt$inet6_MRT6_ADD_MIF(r3, 0x29, 0x25, &(0x7f0000000000)={0x0, 0x0, 0x0, 0xa094, 0xfffffff7}, 0x4) (async) closefrom(r2) (async) bind$inet6(r2, 0x0, 0x0) (async) bind$inet(r1, &(0x7f0000000000)={0x10, 0x2, 0x3, 0x16}, 0x10) (async) sendmmsg(r1, &(0x7f0000001840)={{&(0x7f00000000c0)=@in={0x10, 0x2, 0x2, 0x5}, 0x10, 0x0, 0x0, 0x0}}, 0x38, 0x8) (async) socket$unix(0x1, 0x5, 0x0) (async) connect$unix(r4, &(0x7f00000000c0)=@file={0xfc, 0x1, './file0\x00'}, 0xa) (async) 1.9362637s ago: executing program 5 (id=22): sysctl$kern(&(0x7f0000000080)={0x1, 0x4b}, 0x2, &(0x7f0000000000)="5ff0c1c027761c8f191f07e22c92bb1a77641b10eabc4776f7b8c34b8de025ad9acb20ac5eb57ee81dc27c67ed9b1111122099909df097c324480fff7703a44cd344265a2988dbdf03ea143b40204e1b444d676b51083beeb5c9e894ee3dc82c609b1f13e2658c48c0e122b7ba089d1b8fad3b2eea", 0x0, 0x0, 0x0) munmap(&(0x7f0000000000/0x9000)=nil, 0x9000) 1.933779895s ago: executing program 7 (id=23): mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0xd02) r0 = open(&(0x7f0000000080)='./file0\x00', 0x800, 0x80) ioctl$TIOCSETD(r0, 0x84946467, &(0x7f00000000c0)=0x7) (async) ioctl$TIOCSETD(r0, 0x84946467, &(0x7f00000000c0)=0x7) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000080)={0x1, &(0x7f0000000040)=[{0x40, 0x3, 0xf9, 0x331eb958}]}) 1.830787383s ago: executing program 7 (id=24): mkdir(&(0x7f0000000080)='./file0\x00', 0x0) chmod(&(0x7f0000000100)='./file0\x00', 0x39b) seteuid(0xffffffffffffffff) mkdir(&(0x7f0000000200)='./file0/file0\x00', 0x120) rename(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)='./file0\x00') 1.830391373s ago: executing program 5 (id=25): r0 = kqueue1(0x0) kevent(r0, &(0x7f0000000040), 0xf00, 0x0, 0xffff4b51, 0x0) sysctl$net_inet_udp(&(0x7f0000000000)={0x4, 0x2, 0x11, 0x2}, 0x4, &(0x7f0000000040)="7291d611d9a61ce933b72eb3e752def992192cf7dfb5c9d440fc6016c5ec6a0f8064fbd3ef2c963771cfd3eb77486d1cf14affe443beb71e9717c804f58f023093a2a38316aa509dc61ed764a646202f11143d090a52120411feac6ef18a98ab59490f145a0e", &(0x7f00000000c0)=0xfffffffffffffec6, &(0x7f0000000100)="eb4d0e380b6d1abdc365087718ac49534822834491a4a165ecc9cbedfd712960dfd762876ad39138fae117337dfffff0cef7a313c336477d2aa53988017c2ec2fe5eb977ee9af5ca67cf9d6dfc3ff7aa7e75d5c38be4dc584558361346222731fe1b730c0bf63c486287b83802892b248071a90e87edd798476875baf5b4b7d3d0df00ce2ee2d8aee365bf17a6f53cae047e9ca8c848a58e17bc5b93fc32", 0x9e) r1 = kqueue1(0x10004) kevent(r1, &(0x7f0000000000)=[{{r1}, 0xffffffffffffffff, 0x1, 0x2, 0xffe, 0x8}, {{r1}, 0xffffffffffffffff, 0x32, 0x4, 0x5, 0x2}], 0xd00, 0x0, 0xffff4b51, 0x0) 1.828228314s ago: executing program 2 (id=26): pipe(&(0x7f0000000280)) (async) pipe(&(0x7f0000000280)={0xffffffffffffffff, 0xffffffffffffffff}) r2 = semget(0x3, 0x2, 0x219) getgroups(0x7, &(0x7f0000000040)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) setresgid(r4, r3, 0x0) setgroups(0x0, 0x0) seteuid(0xffffffffffffffff) semctl$SETALL(r2, 0x0, 0x9, 0x0) semctl$GETALL(r2, 0x0, 0x6, 0x0) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r0, 0x80047308, &(0x7f0000001840)={0x0, 0x0, 0x4, 0x0, 0xffffffffffffffff}) sysctl$hw(0x0, 0x0, &(0x7f0000000580)="5433be0b47cf96550c3e484377d9d58490", 0x0, 0x0, 0x0) socket$inet(0x2, 0x2, 0x0) r6 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000040), 0x80, 0x0) ioctl$WSMOUSEIO_SETPARAMS(r6, 0x80105728, &(0x7f00000000c0)={&(0x7f0000000000)=[{0x4, 0x1}], 0x1}) (async) ioctl$WSMOUSEIO_SETPARAMS(r6, 0x80105728, &(0x7f00000000c0)={&(0x7f0000000000)=[{0x4, 0x1}], 0x1}) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) mprotect(&(0x7f000036b000/0x1000)=nil, 0x1000, 0x1) ioctl$FIOASYNC(r5, 0xc0286988, &(0x7f0000000100)=0x2) syz_emit_ethernet(0x4e, &(0x7f0000000480)=ANY=[@ANYBLOB="aaaaaaaaaaaaffffffffffff86dd65e481e2001800000000000000000000000000000000000000000000000000000008ffff000000008200907800300100fe8000000000000000000000000000bbcf98e7fba52067ed94288aac7ba8cb498b68da77a0dec61564193196420e8dd30f3e4c2b54d7eefb20b8e2bacd62c3d7811e4982fb27ec397d16859068ea08f54e046daf747413c738ead01fec0a3e1d54a1a05af977dfe8831dac0d620a7deb0be17c01918dd6d9cacde06312cd9c6e133eb0ad310004398dccd48c"]) (async) syz_emit_ethernet(0x4e, &(0x7f0000000480)=ANY=[@ANYBLOB="aaaaaaaaaaaaffffffffffff86dd65e481e2001800000000000000000000000000000000000000000000000000000008ffff000000008200907800300100fe8000000000000000000000000000bbcf98e7fba52067ed94288aac7ba8cb498b68da77a0dec61564193196420e8dd30f3e4c2b54d7eefb20b8e2bacd62c3d7811e4982fb27ec397d16859068ea08f54e046daf747413c738ead01fec0a3e1d54a1a05af977dfe8831dac0d620a7deb0be17c01918dd6d9cacde06312cd9c6e133eb0ad310004398dccd48c"]) closefrom(r5) r7 = kqueue() kevent(r0, &(0x7f0000000080)=[{{r7}, 0xfffffffffffffffb, 0x707a411afb5a32bf, 0x2, 0x7, 0x8000000000000005}, {{r7}, 0xfffffffffffffffb, 0xa, 0xf0000000, 0x10000, 0x9}], 0xdd, 0x0, 0x4, 0x0) (async) kevent(r0, &(0x7f0000000080)=[{{r7}, 0xfffffffffffffffb, 0x707a411afb5a32bf, 0x2, 0x7, 0x8000000000000005}, {{r7}, 0xfffffffffffffffb, 0xa, 0xf0000000, 0x10000, 0x9}], 0xdd, 0x0, 0x4, 0x0) openat$speaker(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) (async) r8 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) writev(r8, &(0x7f0000002180)=[{&(0x7f00000001c0)="8a2fc8efa1aff7ec420444edf2537cb020b1c1989ed194277772ac3a8a4a59607bd681d554be419a191f5e5cc0d623050d43", 0x32}], 0x1) (async) writev(r8, &(0x7f0000002180)=[{&(0x7f00000001c0)="8a2fc8efa1aff7ec420444edf2537cb020b1c1989ed194277772ac3a8a4a59607bd681d554be419a191f5e5cc0d623050d43", 0x32}], 0x1) sysctl$hw(&(0x7f0000000140)={0x6, 0x6}, 0x2, &(0x7f0000000380)="ca354534148f2ea005df6eebd0bf010000008eb6320497d482316dba06c42ae13e85f915ff85803d145b260000004000000003197ccabbb5fdca0cab92480609252f68edd411dd59f13fe067c44a29511372162a76b8a8affd131755b9b6e1f7c9f77c12c50ecef484a2ee1f1dc1d9a332707b89444afe7b39b5c97d44c682eae1", &(0x7f00000000c0)=0x81, 0x0, 0x0) (async) sysctl$hw(&(0x7f0000000140)={0x6, 0x6}, 0x2, &(0x7f0000000380)="ca354534148f2ea005df6eebd0bf010000008eb6320497d482316dba06c42ae13e85f915ff85803d145b260000004000000003197ccabbb5fdca0cab92480609252f68edd411dd59f13fe067c44a29511372162a76b8a8affd131755b9b6e1f7c9f77c12c50ecef484a2ee1f1dc1d9a332707b89444afe7b39b5c97d44c682eae1", &(0x7f00000000c0)=0x81, 0x0, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) mprotect(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x4) sysctl$kern(&(0x7f00000011c0)={0x1, 0x34}, 0x2, 0x0, 0x0, &(0x7f0000000000)="ff000040", 0x3) (async) sysctl$kern(&(0x7f00000011c0)={0x1, 0x34}, 0x2, 0x0, 0x0, &(0x7f0000000000)="ff000040", 0x3) ioctl$SPKRTONE(r8, 0x80085301, &(0x7f0000000040)={0x7fff, 0x2}) (async) ioctl$SPKRTONE(r8, 0x80085301, &(0x7f0000000040)={0x7fff, 0x2}) r9 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000000), 0x200, 0x0) writev(r9, &(0x7f0000000440)=[{&(0x7f0000000680)="67dcc108c74c38fd8cf7c01f4e2dba957129e1876b16257faf83b8bbddedbe9522debc3bd30fb8f4bdf84563605305749f11bb7b7333a28ea003e632f9624f9c66d74c86c1a4011fc2504b397d971427373721224b08029d16c9ecc4b6783ea9770184ddf19c7a3f8bf93d7872d5dc28582df2cdfa11553d23701f909c717005f77b8712cbef35f10a6101ecd143a028572d78edb50204997767d56833dd16515ab6d26db274f1d2e66fde3ee0611e65a79e26e5c8f291b3b74326146ed10b1338ec1317b280d28b9ad8555258a5bd2fa2785199cb7bac06e3cc5ca4fe4807631457", 0xe2}], 0x1) (async) writev(r9, &(0x7f0000000440)=[{&(0x7f0000000680)="67dcc108c74c38fd8cf7c01f4e2dba957129e1876b16257faf83b8bbddedbe9522debc3bd30fb8f4bdf84563605305749f11bb7b7333a28ea003e632f9624f9c66d74c86c1a4011fc2504b397d971427373721224b08029d16c9ecc4b6783ea9770184ddf19c7a3f8bf93d7872d5dc28582df2cdfa11553d23701f909c717005f77b8712cbef35f10a6101ecd143a028572d78edb50204997767d56833dd16515ab6d26db274f1d2e66fde3ee0611e65a79e26e5c8f291b3b74326146ed10b1338ec1317b280d28b9ad8555258a5bd2fa2785199cb7bac06e3cc5ca4fe4807631457", 0xe2}], 0x1) unveil(0x0, 0x0) 1.827261788s ago: executing program 0 (id=27): r0 = socket$inet6(0x18, 0x8000, 0xb) setsockopt(r0, 0x8, 0x8000, 0x0, 0x0) 1.723047871s ago: executing program 3 (id=28): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000180), 0x100b0, 0x0) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(0xffffffffffffffff, 0xc00c642d, &(0x7f0000000000)={0x1000, 0x7f, r0}) ioctl$WSDISPLAYIO_LDFONT(r1, 0x8058574d, &(0x7f0000000040)={'./file0\x00', 0xc945, 0xef, 0x2, 0x0, 0x10001, 0x0, 0x2, 0x1, 0x2, 0x0, 0x7}) ioctl$DIOCGETQUEUES(0xffffffffffffffff, 0x80044403, &(0x7f0000000040)={0x8, 0x9, {'\x00', './file1\x00', './file1\x00', './file0\x00', {{0x7, 0x2}, {0x9, 0x7}, 0x4}, {{0x9, 0x1}, {0x7, 0x7ff}, 0x3}, {{0x8, 0x2}, {0xc, 0x1000}, 0x3ffffffd}, {0x7, 0x0, 0x0, 0x4}, 0x0, 0x1, 0x2, 0x9, 0x4}}) r2 = syz_open_pts() r3 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000d00), 0x20, 0x0) openat$vnd(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) sysctl$kern(&(0x7f0000000000)={0x1, 0x55}, 0x1, 0x0, 0x0, 0x0, 0x39) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$vfs_nfs(&(0x7f0000000000)={0xa, 0x2, 0x3}, 0x3, 0x0, 0x0, 0x0, 0x0) dup2(r3, r2) ioctl$TIOCSPGRP(r2, 0x8010427e, &(0x7f0000000040)) flock(r0, 0x5) syz_emit_ethernet(0x4a, &(0x7f00000026c0)=ANY=[@ANYBLOB="aaaaaaaaaaaaffffffffffff86dd6700000000143c3800000000000000000000000000000000fe8000000000000000000000000000aa4e224e20", @ANYRES32=0x41424344, @ANYRES32=0x41424344, @ANYBLOB="3300000990780306"]) ioctl$DIOCGETQUEUE(r1, 0xc148445f, &(0x7f00000001c0)={0xffffffe1, 0x9, {'\x00', './file0\x00', './file2\x00', './file0\x00', {{0x76d, 0xa09}, {0x8, 0x7ec21480}, 0x6}, {{0x4cb, 0x6}, {0xff, 0x84a7}, 0x5}, {{0x4, 0x7}, {0x5}}, {0xd7e, 0xc, 0xfe, 0x8}, 0x0, 0xc, 0xe, 0x2, 0x4}}) 1.700856304s ago: executing program 0 (id=29): mprotect(&(0x7f0000ffb000/0x3000)=nil, 0x3000, 0x4) minherit(&(0x7f0000ffb000/0x3000)=nil, 0x3000, 0x3) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x42, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000040)=[{0x2, 0x4, 0xcf}, {0x3, 0x4, 0x1, 0x1}, {0xd9e6, 0x4b, 0x23, 0x7}]}) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) syz_emit_ethernet(0x2a, &(0x7f0000003480)=ANY=[]) mkfifo(&(0x7f0000001380)='./file0\x00', 0x191) open(&(0x7f0000000000)='./file0\x00', 0x200, 0x80) open$dir(&(0x7f00000001c0)='./file0\x00', 0x200, 0x80) unveil(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)='w\x00') 1.69987661s ago: executing program 7 (id=30): syz_emit_ethernet(0x243, &(0x7f0000000240)=ANY=[@ANYBLOB="aaaaaaaaaaaaaa03aaaaaaaa86dd6f75184a020d3a7c39bc48e57db8883fa6958273532df404fe8000000000000000000000000000aac9009078000000086a0e1d10ffff0281fe80000000020000ff010000000000"]) r0 = semget(0x0, 0x0, 0x1a1) mlock(&(0x7f0000c00000/0x400000)=nil, 0x400000) munlock(&(0x7f0000400000/0xc00000)=nil, 0xc00000) madvise(&(0x7f0000b4a000/0x400000)=nil, 0x400000, 0x6) munmap(&(0x7f0000c76000/0x4000)=nil, 0x4000) pipe(&(0x7f0000000a80)={0xffffffffffffffff, 0xffffffffffffffff}) closefrom(r1) recvfrom(r1, &(0x7f0000000040)=""/22, 0x16, 0x3042, &(0x7f0000000080)=@un=@file={0x7, 0x1, './file0\x00'}, 0xa) semctl$GETZCNT(r0, 0x0, 0x7, &(0x7f0000000000)=""/15) 1.699193895s ago: executing program 2 (id=31): sysctl$kern(&(0x7f0000000000)={0x1, 0x27}, 0x5, &(0x7f0000000040)="40c2fabe", &(0x7f0000000080)=0x4, 0x0, 0x0) (async) ppoll(0x0, 0x3a, 0x0, 0x0) (async) r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x80, 0x0) (async) openat$pf(0xffffffffffffff9c, 0x0, 0x40000, 0x0) (async) pipe(&(0x7f0000000280)={0xffffffffffffffff}) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r1, 0x80047308, &(0x7f0000000440)={0x0, 0x0, 0x10004}) ioctl$DIOCRADDTABLES(r1, 0xc450443d, &(0x7f0000000f80)={{'./file0\x00', './file0\x00', 0x10, 0xfe}, 0x0, 0x428, 0x0, 0x5, 0x7, 0x6a4, 0xfffffffd, 0x4e, 0x7ff}) (async) ioctl$DIOCCLRSTATES(r0, 0x0, 0x0) open$dir(&(0x7f00000001c0)='./file0\x00', 0x402e0, 0x80) r2 = kqueue1(0x10000) kevent(r2, &(0x7f00000000c0), 0x1, 0x0, 0x1, 0x0) kevent(r2, 0x0, 0x0, &(0x7f0000000440), 0x3, 0x0) (async) ktrace(&(0x7f0000000100)='./file0\x00', 0x0, 0x100, 0x0) 1.698404321s ago: executing program 6 (id=32): r0 = socket$inet6(0x18, 0x1000, 0x4) connect$inet6(r0, &(0x7f0000000040)={0x1c, 0x18, 0x0, 0x6, "0000ef0e874c00000000000000001000", 0xc}, 0x1c) mkfifo(&(0x7f0000001380)='./file0\x00', 0x8) lstat(&(0x7f0000000000)='./file0\x00', &(0x7f0000000100)) open(&(0x7f00000000c0)='./file0\x00', 0x7c6, 0xea) r1 = open$dir(&(0x7f0000000080)='./file0\x00', 0x1, 0x4) ioctl$FIOASYNC(r1, 0xc0206911, &(0x7f0000000580)=0x7) dup3(0xffffffffffffff9c, 0xffffffffffffffff, 0x10000) r2 = socket$inet(0x2, 0x8003, 0x1) sysctl$net_inet6_ip6(&(0x7f00000001c0)={0x4, 0x18, 0x29, 0x35}, 0x4, &(0x7f0000000000), 0x0, 0x0, 0x0) getsockopt(r2, 0x0, 0x66, 0x0, 0x0) r3 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0xcf) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) r4 = socket$inet6(0x18, 0x2, 0x0) ioctl$FIOASYNC(r4, 0x8020699f, &(0x7f0000000580)=0x7) mmap(&(0x7f0000ff8000/0x4000)=nil, 0x4000, 0x4, 0x2010, r3, 0x2000) ioctl$WSMUXIO_ADD_DEVICE(r3, 0x80085761, &(0x7f0000000080)={0x3, 0x2}) 396.671546ms ago: executing program 4 (id=33): mkfifo(&(0x7f0000001380)='./file0\x00', 0x8) r0 = open$dir(&(0x7f00000002c0)='./file0\x00', 0x2, 0x3c) r1 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0xcf) mknod(&(0x7f0000000040)='./file0\x00', 0x2000, 0x5380) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x10000, 0x2) closefrom(r2) r3 = setsid() fcntl$setown(r1, 0x6, r3) fcntl$setown(r1, 0x6, r3) syz_emit_ethernet(0x2e, &(0x7f00000000c0)=ANY=[@ANYBLOB="ffffffffffffaaaaaaaaaaaa81002d00080045da001c00650000050190786b3ddf19b31480bb0ac1c3bdc694ad0b"]) r4 = dup3(r0, r2, 0x4) ioctl$DIOCGETRULESET(r4, 0xc444443b, &(0x7f0000000300)={0x2, './file0\x00', './file0\x00'}) ioctl$DIOCRSETADDRS(r4, 0xc4504445, &(0x7f0000000780)={{'./file0\x00', './file0\x00', 0x1, 0x9}, &(0x7f0000000100), 0x1, 0x0, 0x3c, 0x9, 0xa30, 0x3, 0x8, 0x5e}) ioctl$DRM_IOCTL_MODE_GETFB2(0xffffffffffffffff, 0xc06864ce, &(0x7f0000000000)={0x0, 0x1, 0x3, 0x38384752, 0x2, [], [0x400, 0x0, 0x2, 0x5], [0x8, 0x1, 0x7, 0x6], [0xfffffffffffffff8, 0x1, 0x7fff, 0x9]}) getsockopt$SO_PEERCRED(r1, 0xffff, 0x1022, &(0x7f0000000080)={0x0}, 0xc) fcntl$setown(r1, 0x6, r5) 395.811607ms ago: executing program 6 (id=34): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000000c0)={0x33b, &(0x7f0000000080)=[{0xadd, 0xc, 0x3, 0x80000081}]}) (async) sendmsg$unix(0xffffffffffffffff, &(0x7f0000002640)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="180e0008ffff000001"], 0x18, 0x40a}, 0x404) (async) sysctl$kern(&(0x7f0000000000)={0x1, 0x3d}, 0x2, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) (async) sysctl$kern(&(0x7f0000000000)={0x1, 0x59}, 0x3, &(0x7f0000000180)="ee8f409198157e3b0d482cd811439e57ce10400116e4853368b7858dd5313a55267eae31dfdeb4695f32fe7b7ad86f86b9026db90f9b45d9c0dfe6f336cdbed0b1e9503fb71d22c07e97988cb677f6e039bda806b77d270400"/104, &(0x7f0000000080)=0x5b, 0x0, 0xfffa) mkfifo(&(0x7f0000001380)='./file0\x00', 0x8) r0 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000001c80), 0x1, 0x0) ioctl$WSMUXIO_ADD_DEVICE(r0, 0x80085761, &(0x7f00000000c0)={0x1}) (async) pwrite(r0, &(0x7f0000000000)="8e4474123d10241f5dcbe915ff43ff4f70f6f6a2b1f388f108bc729f887c7300b186832e01af70c258a3f6bd3f4f26a8067fb80a3e46a04f0d2f5ef04008a93f8ec25bfcd1548efbb76b41119c5dfba1ef924933f9b9f5b17c810955f3ffac0589644308f9c0a707b048107bff1b57e9a9c653dbcfeb74641bf74d3c673fec439e4258b0b2c3f48d9abdf2fe40ff0724bbdcb9b5eec648600e606e30e34337369984ca16b6a83cc1c766f970e71aa5006f3bfcc46fc6038e71fa40ee7efb27396b218d9e01712034336c6677d990e2a5f566709d45a4c2ad0c5dda7d733289229c2341560273e3afe7b559dc0549ff", 0xef, 0x8) open$dir(&(0x7f0000001400)='./file0\x00', 0x10, 0x5) (async) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(0xffffffffffffffff, 0x80047308, &(0x7f00000001c0)={0x0, 0x0, 0x4, 0x0, 0xffffffffffffffff}) closefrom(r1) (async) r2 = getpgid(0x0) (async) socket$inet6(0x18, 0x2, 0x0) (async) r3 = socket(0x11, 0x3, 0x9) write(r3, &(0x7f0000000280)="d4cbd4ce8666", 0x6) (async) fcntl$setown(r3, 0x6, r2) (async) execve(0x0, 0x0, 0x0) 395.285453ms ago: executing program 5 (id=35): fcntl$setflags(0xffffffffffffffff, 0x2, 0x1) r0 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000000), 0x2, 0x0) closefrom(r0) ftruncate(r0, 0x1) (async) ioctl$WSKBDIO_COMPLEXBELL(r0, 0x80105702, &(0x7f0000000040)={0x0, 0xff, 0x4, 0x7ff}) (async) r1 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x20000, 0x0) ioctl$DIOCGETRULES(r1, 0xcd604406, &(0x7f00000000c0)={0x9, 0x0, 0xf, './file0\x00', './file0\x00', 0x0, "0897a4f212b9044849235d591b8b3d33513c3ea660b9eb441e69d764030504844694b2b0b64472b3ba6074d09b9957b6ff135410fd43a178b1ded2f008bc3a379d644672eead09074368943503cef0a56e3fde64c2f19553a0f4756e34ae352c6219ce0a366f418222a52888237b7b65732cd39d3e43f31b604e53fc6b573c4d3c2cad5079e0c65af5845abe9c00adeb4525864c6da3b0a670bb6547bec47ce373d106bcadd6f763c57dff644470fb090e0e658a4e55f9598a42c3172589c3136d17c82f944063878e6536deb10632d0aa838f4e5a81826de2abaf9b08134c75a108a7801445b42b34b9abe80b83c51e3bf2b7a6395c5e92b61e2c3e703fec7b9be6365b9e0721517d9651deb36fc544a04be64bdc11aa2a8a877b89221d1484e65ffe2d7172d6fba891e16eaf2b23e11b2e54e53fe4f1a7e0dcb8c8a2c662c711f4fe5ab6e9fc74a90a832934a6d8c76fc70fa0095e8a0cc73e7956990e11e4c04530e97127d0152cfedc1765783fe407f97fb46e90c3ff9439f6eb5aaaca729cdf3ae3c2d8aa510417a39b15f3a8a1e99865c0fd32d3ea180de6adf1cd9f03be2f50436f299ce1d27d442e190404688edad386e9f5f4d2564c6689419ff6131c27e149287f0ce3867138dc3198884f35cfad76dcad01ab3dbbc94313edff0b835559e4c8b62961b63429aadcf78371bcb017a270ad9a07f1b873bcb4bf3b117aca20559403f0f9d169d411927621263f5f7fb3af8e5ad2f5a7232efc7f1f48ace57a49352d61373e167afda86e1dbb51a22a66d2438fa0dc11660e0aba4959406dc0a574cbedb7da9088032edd781430f1717ae900a76dcd4e08386a3e0be05e14b9215a0ea7d32f259895e2d7426220feeb91a35d6bee7e0362df1c69fc8679baa935f9e1437e60080a9185b260ca86f1ef372663515b30d607ac584f2b46062f0a536d073a1653ad42e97be2730d439d931234047d3dd648ec79dd4e3066825ce509f52b7717777fd58a05bc056940efc4208d1c9a6c31da6da3336ee5c57be21f2657a207f72f97796544c0d844310aa1c688785c991d1b7ce86f58dbf642c36cc57868116084f01db82cafc94920df556eab8d5c7b3b9481fa9b568a8e3d088f13f31316e8372c86d5342e4fcacc3b33d5cbb89b43e2eeb28311f4e3bec3f9233fab866fc35987fa7292cfd9844bf814f901d35ea4d606cff9421a5813fa664d0f810b5225031f2cbba82f83ac2c455f96330538315baaaebab3f65b29c11e2b5d03795813805f72120a404b18b4ce9fe91aeb88245a19d1ad58e77972be854ba62023d8fb65b4003b5230169b0d15d013b2f8130255cd04dcf88cc63352748605390519a93bb26051f11c33385f02115399b92b0c506d6a3035cf2fa2487ad286f8376d9f83d5758397db0fcf5de0a31d592a8d200416456b33e3c49773814d11f0245a2f17614a96ec73c169d0154956ba6c3b67adeb7a5e5822c3e57102297dedb770e3ec7470b29223a6bf5dea7f6bc1f5bf53a4016f99c33439d21f2520fb8bf51951780c988e7b9466a06edb9b94ed468d607ccd44ae31cde1544f6c4da8fdf2cc300eaa18626f63409873791afc9ddbde47cc274e283bc7782f92a68f94c4943c7748d6a75728d0b2adccec84fda0931a3425e66d7dcd54998c86757314b508a363b5e31cff8ad0fbaa642fff35a6c890a6496eec6a7a5e1175afc7362b225acc4327ed62e6b43befe6313e052962a5f397ad9d917cbbeea3acf209380a34dd388c145affefe39699b59338b2f9ea49939e768b81ced2c22115fe673411249341e0cd47ffc04ea6f00834079382156d61307803da27e41cda44c6b51f3f813283b3e68276801b5d8c03d53522b7998824a1be5a17a42178e821a27c11d60dc8eceeea1e67b45a9b786b"}) (async) mknod(&(0x7f0000000e40)='./file0\x00', 0x2000, 0x200) (async) ioctl$TIOCSWINSZ(0xffffffffffffff9c, 0x80087467, &(0x7f0000000e80)={0x1b, 0xb, 0x5, 0x200}) (async) syz_emit_ethernet(0x12, &(0x7f0000000ec0)={@random="52fd83578a92", @broadcast, [{[], {0x8100, 0x2, 0x0, 0x3}}], {@generic={0x8c23}}}) (async) r2 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000000f00), 0x400, 0x0) ioctl$WSDISPLAYIO_LSFONT(r2, 0xc058574e, &(0x7f0000000f40)={'./file0\x00', 0x100, 0x2, 0x9, 0x1, 0x4, 0x76b7, 0x5baccc2, 0x2, 0x0, 0x2, 0x4}) (async) r3 = openat$zero(0xffffffffffffff9c, &(0x7f0000000fc0), 0x20, 0x0) (async) r4 = openat$pci(0xffffffffffffff9c, &(0x7f0000001000), 0x100, 0x0) (async) pipe2(&(0x7f0000001040)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) (async) r7 = dup(r2) (async) r8 = openat$dri(0xffffffffffffff9c, &(0x7f0000001140)='/dev/dri/card0\x00', 0x800, 0x0) kevent(r3, &(0x7f0000001080)=[{{r4}, 0xfffffffffffffffd, 0x42, 0xf0000040, 0x3, 0x9}, {{r1}, 0xfffffffffffffffe, 0x2, 0xfffff, 0x7, 0xf}, {{r2}, 0xfffffffffffffffe, 0x29, 0x8, 0xf, 0xa}, {{r5}, 0xfffffffffffffff7, 0x80, 0x2, 0x4a89cf14, 0x100000001}, {{r2}, 0xfffffffffffffffa, 0x40, 0x40000000, 0x1, 0x3}, {{r0}, 0xfffffffffffffffe, 0x90, 0x0, 0x4, 0x2}], 0x1, &(0x7f0000001180)=[{{r7}, 0xfffffffffffffff7, 0x33, 0x1, 0x3, 0x101}, {{r2}, 0xfffffffffffffff9, 0x90, 0x1, 0xfffffffffffffffd, 0x995}, {{r0}, 0xfffffffffffffff7, 0xc2, 0x8, 0x9, 0x9}, {{r8}, 0xfffffffffffffff7, 0x20, 0x40, 0x300000000, 0x7}], 0x7, &(0x7f0000001200)={0x7, 0x4}) (async) unveil(&(0x7f0000001240)='./file0\x00', &(0x7f0000001280)='x\x00') (async) mkdir(&(0x7f00000012c0)='./file0\x00', 0x2) (async) r9 = dup3(r0, r8, 0x10004) r10 = accept$inet(r3, &(0x7f0000001300), &(0x7f0000001340)=0x10) poll(&(0x7f0000001380)=[{r9, 0x100}, {r8, 0x1}, {r10, 0x100}], 0x3, 0xb) (async) sendto$unix(r7, &(0x7f00000013c0)="c9bbde4cf330abfeb464e924c93c18293c628dbb08118a3c5321ff740dc8191e", 0x20, 0x6, &(0x7f0000001400)=@abs={0xfa, 0x0, 0x0, 0x2}, 0x8) (async) ioctl$WSDISPLAYIO_GETSCREEN(r6, 0xc0245755, &(0x7f0000001440)={0x0, './file0\x00', './file0\x00'}) (async) sysctl$vfs_nfs(&(0x7f0000001480)={0xa, 0x2, 0x2}, 0x3, &(0x7f00000014c0)="3b73ec03be6aa97af816facd0199d0d17115291d62f793d72a895dfd3eec1bcca422004c351862cce067fe402289538f335d1b96e660cbd80c9e8a209b5f3cf4a35e", &(0x7f0000001540)=0x42, &(0x7f0000001580)="797cc03092445993f80583a366e4f61600e2c322121930678f1de86545330104078536d5d1008219eb3419be0c4bd6b97e70228d64a6044f666d368dedf47c21042f3a3d8c000cfe0104413ac84b3e8d98894c99fa794e874da0c2242469f5583327b736572e9c2a897555a5a5e331f0bcc572accd3f32181ff08eea6ca8c94100c3350b239fe45aef643745cba51675bf44ff42a2f6308f6cda3264c277ca97caa1fd00c0fb0e24a4ca8c8bc25a2942180a4b2381690169aa510c2e7edd2d701b", 0xc1) (async) ioctl$WSDISPLAYIO_LDFONT(r6, 0x8058574d, &(0x7f0000001680)={'./file0\x00', 0x9, 0x7, 0x6, 0x0, 0x6, 0x8, 0x7, 0x2, 0x1, 0x7, 0x4}) (async) ioctl$DRM_IOCTL_MODE_GETENCODER(r9, 0xc01464a6, &(0x7f0000001a80)={0x0, 0x81, 0x0, 0x5, 0x58f3a4bc}) (async) ioctl$DRM_IOCTL_MODE_GETRESOURCES(r8, 0xc04064a0, &(0x7f0000001bc0)={&(0x7f0000001ac0)=[0x0, 0x0], &(0x7f0000001b00)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000001b40)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000001b80)=[0x0, 0x0], 0x2, 0xa, 0x9, 0x2, 0x4, 0x7ff, 0x6, 0x464}) ioctl$DRM_IOCTL_MODE_GETCONNECTOR(r6, 0xc05064a7, &(0x7f0000001c00)={&(0x7f0000001700)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000001740)=[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}], &(0x7f0000001a00)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000001a40)=[0x0, 0x0, 0x0], 0xa, 0x8, 0x7, r11, r12, 0xe, 0x5, 0x9, 0x4, 0x1, 0x3}) 314.75706ms ago: executing program 2 (id=36): r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) r1 = socket$unix(0x1, 0x1, 0x0) sendmmsg(0xffffffffffffffff, 0x0, 0x0, 0x2) closefrom(r1) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) r2 = syz_open_pts() sysctl$hw(&(0x7f0000000200)={0x6, 0x1}, 0x2, 0x0, 0x0, &(0x7f0000000080), 0x0) sysctl$hw(&(0x7f00000002c0)={0x6, 0x6}, 0x2, 0x0, 0x0, &(0x7f0000000300), 0x0) ioctl$TIOCSETD(r2, 0x8004741b, &(0x7f0000001140)=0x9) write(r0, &(0x7f0000000100)="57f5e6cdd60bab423018b49c2ef68488500b02d440000a60a3b9b9bc4e48fef024237d52f2140cd8a1b6613aa70d1f3ea57e45eb9d7584b4df297c6818f8fd364038ce6b20b97f00000000000000a651525aba4e0a", 0x55) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x3ff) r3 = open(&(0x7f0000000200)='./file0\x00', 0x9da, 0xc9) r4 = syz_open_pts() syz_open_pts() ppoll(&(0x7f0000001c80)=[{r4, 0x4}], 0x1, 0x0, 0x0) ioctl$TIOCSETA(r3, 0x802c7414, &(0x7f0000000040)={0xa, 0x401, 0x51, 0x2, "dd15fbe7531f7c371a9ad34bbf83d1be4f98fb1d", 0x7, 0x2}) 313.861232ms ago: executing program 3 (id=37): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f00000000c0)=[{0x87, 0x7, 0x5, 0x9}, {0x30, 0x40, 0x4, 0x11}, {0x6, 0x5, 0xff, 0x9}]}) sysctl$kern(&(0x7f00000002c0)={0x1, 0x31}, 0x156, 0x0, 0x0, 0x0, 0x40) r2 = kqueue() pipe2(&(0x7f0000001880)={0xffffffffffffffff, 0xffffffffffffffff}, 0x4) ioctl$FIOASYNC(r3, 0x8004667d, &(0x7f0000004800)=0xf06) closefrom(r2) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f0000000440)={'tap', 0x0}) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(0xffffffffffffffff, 0x80047308, 0x0) munmap(&(0x7f0000ff5000/0x6000)=nil, 0x6000) mknod(&(0x7f0000000080)='./file0\x00', 0x2000, 0x5be7) ioctl$DIOCXBEGIN(r4, 0xc0104451, &(0x7f0000000e00)={0x2, 0x7fffffff, &(0x7f00000005c0)=[{0x0, './file0\x00', 0xe}, {0x1, './file0\x00', 0x4}]}) read(0xffffffffffffffff, &(0x7f0000000100)=""/69, 0x45) minherit(&(0x7f0000ff8000/0x4000)=nil, 0x4000, 0x3) open(&(0x7f0000000180)='./file0\x00', 0x200, 0xcf) getpeername$unix(r4, &(0x7f0000000280)=@abs, &(0x7f0000000340)=0x8) r5 = socket(0x11, 0x3, 0x9) setsockopt$inet_opts(r5, 0x0, 0x1, 0x0, 0x0) r6 = open(0x0, 0x7c6, 0xea) r7 = syz_open_pts() syz_open_pts() ioctl$TIOCSETAW(r7, 0x802c7415, &(0x7f0000000000)={0x4, 0x5, 0xffffffba, 0x3, "d349c8b3bcfa293242b5c059af933e89a3431db8", 0x101, 0x2}) ioctl$TIOCSETAF(r7, 0x802c7416, &(0x7f0000000040)={0x1b, 0xffffffe3, 0xffffffc0, 0x4d, "9012b357160485649a30e20d873b18c2f0b9057b", 0x0, 0x956e}) writev(r6, 0x0, 0x0) mmap(&(0x7f0000ffb000/0x4000)=nil, 0x4000, 0x2, 0x1010, r1, 0x1) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) r8 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) ioctl$DIOCSETSTATUSIF(r8, 0xc0284414, &(0x7f0000000100)={'./file0\x00', 0x0, 0x98, 0x1ff, 0xf2f, 0x7}) syz_emit_ethernet(0xba, &(0x7f00000001c0)=ANY=[@ANYBLOB="aaaaaaaaaaaaf07e2fa24037080049da00ac0068000004119078ac1400aaac1400aa440c00700000000000000000008b2b12e0000002ffffffffffffffff7f0083e319aae16694710001e0000002e0000002fffffff97f00000100000000ffffffff4418098d000000407f00000100000003fffffffa00000000830b05ac1400aae0000002010a792345ab16d8869a832b0200000000e000000200000005ac1400bbffffffffe00000010000000000010000ffffffffac1400aa"]) 283.495454ms ago: executing program 0 (id=38): r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x4a0, 0x1) r1 = openat(r0, &(0x7f0000000040)='./file0\x00', 0x40, 0x62) ioctl$VNDIOCGET(r1, 0xc4104603, &(0x7f0000000080)={'./file0\x00', 0x800, 0xc, 0x7}) r2 = accept4(r1, &(0x7f00000004c0)=@in6, &(0x7f0000000500)=0x1c, 0xc000) sendmsg(r2, &(0x7f0000000780)={&(0x7f0000000540)=@in6={0x1c, 0x18, 0x0, 0xd4f, "28d5eb714032508f87d21ba793b62d97", 0x2}, 0x1c, &(0x7f0000000640)=[{&(0x7f0000000580)="b1fcae808c0ae164c0c7c08e071e8b1a1c9a2550e4c77c17364dcdeca187b6bb433327efb370b575b4b6f2ec4802c8b1daef6c03a0f819efb86c60573b1e310b28aa5cd93131835ab0b99c951c41e67f986c6a0f2b84ae60df57a9ac238fc3351afad2f23cc3cfc3dd66fa7a94e0e0bc3bc5f5c178830fd4bed6103747bbdf4a8299557aa6906ce9d6383994e9a7cb07e0f51c3760dbce", 0x97}], 0x1, &(0x7f0000000680)=[{0x9c, 0x1, 0x5, "59a410dccf01f9d6026ba79998db199f667eb08eb61e2dcc751a494432a2bfb7708337f2d1303ea0d9f0d1495544b2bcb73f16515c1d0dcfea47e23ee4bf0a64d8f79826e88bdc4d0dc715eeba33d05958e3aea5cf375294b1261cefa73298bf0da8da58862a9f6683ab67fd4d70599774b77de132dd80b65a1a13831cc6f440d0f78deeabbda723d449a8780440"}, {0x64, 0xffff, 0xa, "971619200ac81643ba9065e70b25689afdb3f5decfa6ce95bfdebc0dedeeec2b1cd1f326749fba6d8350c3fde40f08ec0a0f2e21a7bd1fbd0c069a2f901fbed2c0c0da368cf115757d63b5370cd1dc2f1873f22e61"}], 0x100}, 0x409) ioctl$WSDISPLAYIO_GETSCREENTYPE(r1, 0xc028575d, &(0x7f00000007c0)={0x14, 0x3, './file0\x00', 0x1, 0x1000}) read(r1, &(0x7f0000000800)=""/226, 0xe2) ioctl$FIOASYNC(r0, 0x8004667d, &(0x7f0000000900)=0x3) mknod$loop(&(0x7f0000000940)='./file0\x00', 0xc000, 0x0) stat(&(0x7f00000009c0)='./file0\x00', &(0x7f0000000a00)={0x0, 0x0, 0x0, 0x0, 0x0}) fstat(r2, &(0x7f0000000a80)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) fchownat(0xffffffffffffff9c, &(0x7f0000000980)='./file0\x00', r3, r5, 0x8985597667d92440) ioctl$AUDIO_SETPAR(r1, 0xc0404125, &(0x7f0000000b00)={0x1, 0x1, 0x10, 0x4, 0x1, 0x3e80, 0x6, 0x8, 0x2d, 0xdf26}) getsockopt(r1, 0x10001, 0xb, &(0x7f0000000b40)=""/188, &(0x7f0000000c00)=0xbc) r6 = accept$inet(r1, &(0x7f0000000c40), &(0x7f0000000c80)=0x10) getsockname$inet(r6, &(0x7f0000000cc0), &(0x7f0000000d00)=0x10) recvfrom$inet(r6, &(0x7f0000000d40)=""/203, 0xcb, 0x800, &(0x7f0000000e40)={0x10, 0x2, 0x1, 0xe}, 0x10) socket$inet(0x2, 0x1, 0x11) r7 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f0000000e80), 0x10000, 0x0) ioctl$WSDISPLAYIO_USEFONT(r7, 0x80585750, &(0x7f0000000ec0)={'./file1\x00', 0x5, 0x3, 0x2, 0x0, 0x7ff, 0x5, 0x4aad, 0x0, 0x2, 0x4, 0x2}) ioctl$WSKBDIO_GETKEYREPEAT(r1, 0x400c5708, &(0x7f0000000f40)) mprotect(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0) r8 = semget$private(0x0, 0x0, 0x0) semctl$IPC_SET(r8, 0x0, 0x1, &(0x7f0000000f80)={{r3, r5, r3, r5, 0x44, 0x6, 0x0, 0x0, 0xfffffffffffffffb}, 0x0, 0x9, 0x0, 0x0, 0x4, 0x0, 0x2}) setresuid(r4, r3, r4) unveil(&(0x7f0000001000)='./file1\x00', &(0x7f0000001040)='r\x00') pipe2(&(0x7f0000001080), 0xa4920e87d896179e) sysctl$net_pipex(&(0x7f00000010c0)={0x4, 0x23, 0x2}, 0x3, &(0x7f0000001100)="9bf514feb2ae68afdb4dce4344e99a5e47c5c715bed8dab8cf531cca2e7aee20d3cfcaaefc4c23189c657a2fc1dce3d6aafaf6c0bc720ad252e9f185a6da27fa98774b143a9eeaacd2d9f22be2808ff347494364086897567fbebf86969e7f80173e5cfb6dc8fb503d43f89d1a021310c4b889da4ab0d376d80b00b1ebfb49cb559f3d3a91ff26cb641371fda992d0998a1b3a43c8c7db28c7559a0fa4ac32663db9dd3d8f18894eaa02975bd57af47a8b", &(0x7f00000011c0)=0xb1, &(0x7f0000001200)="dc4d70cee4dd7337cfcf770685e4bc54a9369c6f741ca67d15e5c34c65cbf8ea7086e121a473ba2f1b1cbbc0538313992e74d2d8e2e710b3c4e54dab5832fd8c0e4d2e9d3ae8b9a6cb7bd3b3eea121753366ec495f80385f476729d1f43dc5a0051fa759ab9a7139ce4198defc4c7bd2d86f86ec523ccdd5bdd76e8d97fa43b70511643a74546be6b39634130e7e918b08913cd1347b4db8794e25ed7baaa5e5d360176f4e08980bb0626caf379f81410d", 0xb1) socket$inet(0x2, 0x5, 0x2) socket$inet(0x2, 0x3, 0x2) 282.852562ms ago: executing program 0 (id=39): openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) syz_open_pts() socket$unix(0x1, 0x5, 0x0) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) closefrom(0xffffffffffffffff) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, 0x0) ioctl$BIOCLOCK(r0, 0x20004276) ioctl$BIOCGDLTLIST(r0, 0xc010427b, &(0x7f0000000140)={0x0, 0x0}) syz_open_pts() syz_open_pts() shmctl$IPC_RMID(0xffffffffffffffff, 0x0) pipe(0x0) 279.218743ms ago: executing program 6 (id=40): setresgid(0xffffffffffffffff, 0x0, 0x0) setegid(0x0) sysctl$net_inet_ip(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x1) sysctl$vm(0x0, 0x0, 0x0, 0x0, &(0x7f0000000080)='_ \x00\x00', 0x4) r0 = semget$private(0x0, 0x4, 0x280) semctl$GETPID(r0, 0x1, 0x4, &(0x7f00000000c0)=""/144) mkfifo(&(0x7f0000001380)='./file0\x00', 0x8) r1 = open(&(0x7f0000000180)='./file0\x00', 0x7c6, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) ioctl$FIOASYNC(r1, 0xc020699c, &(0x7f0000000580)=0x7) seteuid(0xffffffffffffffff) openat$pci(0xffffffffffffff9c, &(0x7f0000000600), 0x8000, 0x0) 158.752357ms ago: executing program 4 (id=41): r0 = open(&(0x7f0000001980)='./file0\x00', 0x80, 0xc3) poll(&(0x7f00000000c0)=[{r0, 0x10}], 0x1, 0x8) ioctl$DIOCADDQUEUE(r0, 0xc148445d, &(0x7f00000006c0)={0x9, 0x2000000, {'\x00', './file1\x00', './file0\x00', './file0\x00', {{0x7}, {0x9, 0x1}, 0x7}, {{0x7fffffff, 0x2c0}, {0x401, 0x2}, 0x4}, {{0x2, 0x1}, {0x5}, 0x401}, {0x22e, 0x40, 0x1, 0x8}, 0x0, 0x2, 0x3b531bac, 0x3, 0x9}}) ioctl$WSMUXIO_REMOVE_DEVICE(r0, 0x80085762, &(0x7f0000000000)={0x2, 0xa}) syz_emit_ethernet(0x8e, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000140)={'tap', 0x0}) r1 = syz_open_pts() r2 = open(&(0x7f00000000c0)='./file0\x00', 0x200, 0x112) ktrace(&(0x7f0000000180)='./file0\x00', 0x4, 0x0, 0x0) ioctl$TIOCCONS(r1, 0x80047462, &(0x7f0000000b40)=0xe413) syz_open_pts() sysctl$net_inet_tcp(&(0x7f0000004a40)={0x4, 0x2, 0x6, 0x13}, 0x4, 0x0, 0x0, 0x0, 0x0) r3 = openat$pci(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) ioctl$DIOCGETQUEUES(r2, 0xc148445e, &(0x7f00000001c0)={0x8, 0x2, {'\x00', './file1\x00', './file1\x00', './file0\x00', {{0x1, 0x1}, {0x6, 0x3}, 0x3}, {{0x7, 0xef7}, {0x5, 0x2}, 0x7}, {{0xffff}, {0x81, 0x8}, 0xff}, {0x60f6c162, 0x6, 0x6, 0xfff}, 0x0, 0x5, 0x10, 0x6, 0x3ff}}) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000300)={0xffffffffffffffff, 0xffffffffffffffff}) recvmmsg(r4, &(0x7f0000000900)={{0x0, 0x0, 0x0, 0x0, &(0x7f0000000840)=""/146, 0x92}, 0x5}, 0x38, 0x2042, 0x0) recvmmsg(r4, &(0x7f0000001080)={{0x0, 0x0, &(0x7f0000000ec0)=[{&(0x7f0000000940)=""/26, 0x1a}], 0x1, 0x0}, 0x2}, 0x38, 0x3000, 0x0) write(r5, &(0x7f0000001100)='W', 0x1) execve(0x0, 0x0, 0x0) r6 = kqueue1(0x4) kevent(r6, &(0x7f0000000000), 0x3ff, &(0x7f0000000040), 0xb592, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) r7 = dup2(r3, r3) ioctl$DIOCXBEGIN(r7, 0xc0187009, &(0x7f0000001900)={0x0, 0x2, 0x0}) accept$inet6(r0, &(0x7f0000000100), &(0x7f0000000180)=0x1c) r8 = open(&(0x7f0000000080)='./file0\x00', 0x200, 0x0) mmap(&(0x7f0000001000/0x2000)=nil, 0x2000, 0x1, 0x2810, r8, 0x2000) sysctl$kern(&(0x7f0000000000)={0x1, 0x16}, 0x2, 0x0, 0x0, 0x0, 0x0) sysctl$kern(&(0x7f00000011c0)={0x1, 0x48}, 0x2, 0x0, 0x0, 0x0, 0x0) 154.587676ms ago: executing program 5 (id=42): sysctl$ddb(&(0x7f0000000000)={0x9, 0x8}, 0x2, &(0x7f0000000040), 0x0, 0x0, 0x0) madvise(&(0x7f0000ffb000/0x1000)=nil, 0x1000, 0x0) socketpair$unix(0x1, 0x0, 0x0, &(0x7f0000000040)) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) (async) munmap(&(0x7f0000ffa000/0x4000)=nil, 0x4000) madvise(&(0x7f0000ffb000/0x4000)=nil, 0x4000, 0x1) ioctl$DRM_IOCTL_SYNCOBJ_CREATE(0xffffffffffffff9c, 0xc00864bf, &(0x7f0000000100)={0x0, 0x1}) sysctl$kern(&(0x7f0000000000)={0x1, 0x55}, 0x1, 0x0, 0x0, 0x0, 0x39) (async) sysctl$kern(&(0x7f0000000000)={0x1, 0x55}, 0x1, 0x0, 0x0, 0x0, 0x39) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) (async) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$vm_swapencrypt(&(0x7f0000000000), 0x3, &(0x7f0000000040), &(0x7f0000000100), &(0x7f00000000c0), 0x0) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000004200)={0xffffffffffffffff, 0xffffffffffffffff}) openat$pf(0xffffffffffffff9c, &(0x7f0000001700), 0x8840, 0x0) (async) r2 = openat$pf(0xffffffffffffff9c, &(0x7f0000001700), 0x8840, 0x0) r3 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) ioctl$DIOCRADDTABLES(r3, 0xc450443d, &(0x7f0000000f80)={{'./file0\x00', './file0\x00', 0x10, 0xfe}, 0x0, 0x428, 0xb3, 0x5, 0x9, 0x6a4, 0xfffffffd, 0x2, 0x7}) (async) ioctl$DIOCRADDTABLES(r3, 0xc450443d, &(0x7f0000000f80)={{'./file0\x00', './file0\x00', 0x10, 0xfe}, 0x0, 0x428, 0xb3, 0x5, 0x9, 0x6a4, 0xfffffffd, 0x2, 0x7}) socket$inet(0x2, 0x2, 0x0) (async) r4 = socket$inet(0x2, 0x2, 0x0) sendto$inet(r4, 0x0, 0x0, 0x400, &(0x7f0000000200)={0x10, 0x2, 0x2, 0x7fffffff}, 0x10) ioctl$DIOCGETQUEUE(r2, 0xc148445f, &(0x7f0000000480)={0x2, 0x100, {'\x00', './file0aaaaaaaaa\x00', './file0aaaaaaaaa\x00', './file0aaaaaaaaa', {{0x7f, 0x4}, {0x1000, 0x1}, 0x239e}, {{0x8000000000000001, 0x100}, {0x6, 0x8}, 0x5}, {{0xe, 0x7}, {0x7, 0x7}, 0x7ff}, {0x9, 0x6, 0x2, 0x80000000}, 0x0, 0x10000, 0xfffffffc, 0x5, 0x401}}) recvmmsg(r1, &(0x7f0000002840)={{&(0x7f0000001740)=@un=@file={0x0, 0x0, ""/4088}, 0xffa, &(0x7f0000002780)=[{&(0x7f0000002740)=""/31, 0x1f}], 0x1, &(0x7f00000027c0)=""/84, 0x54}, 0x101}, 0x38, 0x40, &(0x7f0000002880)={0xfff, 0x7}) sendmsg$unix(r0, &(0x7f0000004600)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000880)=ANY=[@ANYBLOB="1000", @ANYRES32=r1], 0x10, 0xd}, 0x400) 154.326321ms ago: executing program 6 (id=43): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x80, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x0, &(0x7f0000000040)=[{0x4, 0x65, 0x17, 0x5}, {0x4, 0x7, 0x4, 0x6}, {0xfffe, 0x2, 0x2, 0x2}]}) (async) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000440)={'tap', 0x0}) (async) sysctl$net_inet_udp(&(0x7f0000002080)={0x4, 0x2, 0x11, 0x4}, 0xb, 0x0, 0x0, 0x0, 0x0) (async) syz_extract_tcp_res(0x0, 0x1, 0x0) 148.323275ms ago: executing program 7 (id=44): getgroups(0x4, &(0x7f0000000200)=[0x0, 0x0, 0x0, 0x0]) setresgid(0x0, 0x0, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f0000000000)={0x0, 0x0, 0x0}, &(0x7f0000000140)=0xc) unveil(&(0x7f0000000040)='./file0\x00', &(0x7f00000000c0)='r\x00') setresuid(0x0, r1, 0xffffffffffffffff) r3 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000f00), 0x0, 0x0) sysctl$net_inet6_ip6(&(0x7f0000000040)={0x4, 0x18, 0x29, 0x2b}, 0x4, 0x0, 0x0, 0x0, 0x0) sysctl$kern(&(0x7f0000000000)={0x1, 0x50}, 0x2, 0x0, 0x0, 0x0, 0x0) getrlimit(0x3, &(0x7f00000003c0)) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) r4 = socket$inet(0x2, 0x1, 0x0) setsockopt$sock_cred(r4, 0xffff, 0x1023, &(0x7f00000003c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x44) lchown(&(0x7f0000000100)='./file2\x00', 0x0, r2) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) sysctl$net_inet_tcp(&(0x7f0000000040)={0x4, 0x2, 0x6, 0x12}, 0x4, &(0x7f00000023c0), &(0x7f0000000000)=0x19, 0x0, 0xfffffffffffffe99) closefrom(r3) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x7) ioctl$DIOCRADDTABLES(0xffffffffffffffff, 0xc450443d, &(0x7f0000002ec0)={{'./file1/file0\x00', './file1\x00', 0x64, 0x5}, &(0x7f00000019c0)=[{'./file0\x00', './file0\x00', 0xe}, {'./file0\x00', './file1\x00', 0x3, 0xbb}, {'./file1\x00', './file1/file0\x00', 0x32}, {'./file1\x00', './file0\x00', 0x48, 0x7}, {'./file0\x00', './file1\x00', 0x24, 0x88}], 0xa50, 0x5, 0x81, 0xa419, 0x9, 0xfffffff2, 0x0, 0x1}) dup2(0xffffffffffffffff, 0xffffffffffffffff) ppoll(&(0x7f0000000300)=[{0xffffffffffffffff, 0x10}], 0x1, 0x0, 0x0) pselect(0x40, &(0x7f0000000040)={0x9, 0xfffffffffffffff9, 0x327c, 0x9, 0x9, 0x0, 0x100000001, 0x3}, 0x0, &(0x7f0000000140)={0xb, 0x5, 0x2, 0xfffffffffffffff7, 0x7, 0x402, 0x400000af}, 0x0, 0x0) r5 = open(&(0x7f00000001c0)='./file0/file0\x00', 0x40000, 0xc3) ioctl$TIOCSETAF(r5, 0x802c7416, &(0x7f0000000000)={0xfffffffe, 0x5, 0x5, 0x80004a, "9012b30900", 0x1, 0x956d}) r6 = openat$dri(0xffffffffffffff9c, &(0x7f00000002c0)='/dev/dri/renderD128\x00', 0x20000, 0x0) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r3, 0xc01864c6, &(0x7f00000004c0)={&(0x7f0000000480)=[0x2, 0xffad], 0x2, 0x4, 0x0}) ioctl$DRM_IOCTL_MODE_REVOKE_LEASE(r6, 0xc00464c9, &(0x7f0000000500)={r7}) pselect(0x40, &(0x7f0000000000)={0xffffffffffffff81, 0x8, 0x7, 0x36, 0x200000000075, 0x7, 0x8, 0xa}, 0x0, 0x0, 0x0, 0x0) kill(0xffffffffffffffff, 0xe) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) 105.067271ms ago: executing program 0 (id=45): r0 = kqueue() mknod(&(0x7f0000000000)='./file0\x00', 0x2008, 0x1ea8) open(&(0x7f0000000200)='./file0\x00', 0x8000, 0x49) fcntl$lock(0xffffffffffffffff, 0x7, &(0x7f0000000040)={0x1, 0x0, 0x9, 0x300000002}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) r1 = open(&(0x7f0000000200)='./file0\x00', 0x9da, 0xc9) ioctl$DIOCGETQUEUES(r1, 0x80184404, &(0x7f0000000040)={0x1, 0x1, {'\x00', './file1\x00', './file1\x00', './file1\x00', {{0x7, 0x2}, {0x6, 0x13}, 0x2}, {{0x9, 0x5}, {0x2f1c, 0x526}, 0x4}, {{0xc, 0x2}, {0x9, 0x1000}, 0x40000000}, {0x7, 0x0, 0x0, 0x4}, 0x0, 0x10000, 0x6, 0x7, 0x4}}) ioctl$DIOCGETQUEUES(r1, 0x80044403, &(0x7f0000000040)={0x8, 0x9, {'\x00', './file1\x00', './file1\x00', './file0\x00', {{0x7, 0x2}, {0x9, 0x7}, 0x4}, {{0x9, 0x1}, {0x7, 0x7ff}, 0x3}, {{0x8, 0x2}, {0xc, 0x1000}, 0x3ffffffd}, {0x7, 0x0, 0x0, 0x4}, 0x0, 0x1, 0x2, 0x9, 0x4}}) r2 = open(&(0x7f0000000200)='./file0\x00', 0x40, 0xeb) ioctl$DIOCGETQUEUES(r2, 0x80184404, &(0x7f0000000040)={0x1, 0x1, {'\x00', './file1\x00', './file1\x00', './file1\x00', {{0x9, 0x400002}, {0x6, 0x13}, 0x2}, {{0x9, 0x5}, {0x2f1c, 0x526}, 0x4}, {{0x800, 0x2}, {0x8, 0x1000}, 0x40000000}, {0x7, 0x0, 0x0, 0x4}, 0x0, 0x10000, 0x6, 0x7, 0x4}}) ioctl$DIOCGETQUEUES(r2, 0x80044403, &(0x7f0000000040)={0x8, 0x9, {'\x00', './file1\x00', './file1\x00', './file0\x00', {{0x7, 0x2}, {0x9, 0x7}, 0x4}, {{0x9, 0x1}, {0x7, 0x7ff}, 0x3}, {{0x8, 0x2}, {0xc, 0x1000}, 0x3ffffffd}, {0x7, 0x0, 0x0, 0x4}, 0x0, 0x1, 0x2, 0x9, 0x4}}) closefrom(r0) socket$inet(0x2, 0x1000, 0x7f) 104.681495ms ago: executing program 5 (id=46): r0 = socket$inet6(0x18, 0x3, 0x7) r1 = socket$inet6(0x18, 0x2, 0x0) ioctl$FIOASYNC(r1, 0x8020699f, &(0x7f0000000580)=0x7) getsockopt$sock_int(r1, 0xffff, 0x800, &(0x7f0000000200), &(0x7f0000000080)=0x4) syz_emit_ethernet(0x66, &(0x7f0000000240)=ANY=[@ANYBLOB="ffffffffffffaaaaaaaaaaaa86dd6f75184a003033000000000000000000000b00000000000000000000000000000000000000000001030090780f0400006800000000062b7cfe8000000000000000000000000000aafe8000000000000000000000000000aa"]) r2 = socket$inet(0x2, 0x3, 0x7) dup2(r0, 0xffffffffffffffff) bind(r2, &(0x7f0000002300)=@in={0x10, 0x2, 0x1, 0xac1402aa}, 0x10) ioctl$BIOCSETIF(0xffffffffffffff9c, 0x8020426c, &(0x7f0000000000)={'tap', 0x0}) 102.67543ms ago: executing program 3 (id=47): closefrom(0xffffffffffffffff) getgroups(0x7, &(0x7f0000001240)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) pipe(&(0x7f0000000280)={0xffffffffffffffff}) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r4, 0x80047308, &(0x7f00000003c0)={0x0, 0x0, 0x4, 0x0, 0xffffffffffffffff}) closefrom(r5) r6 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000001c80), 0x1, 0x0) ioctl$WSMUXIO_REMOVE_DEVICE(r6, 0x80085762, &(0x7f0000000040)={0x1}) r7 = kqueue() kevent(r7, &(0x7f0000000080)=[{{r7}, 0xfffffffffffffffb, 0x707a411afb5a32bf, 0x11, 0x8000, 0x8000000000000005}, {{}, 0xfffffffffffffffb, 0xa, 0x40, 0x10000, 0x9}], 0xdd, 0x0, 0xd, 0x0) setresgid(0x0, r3, r2) setresgid(r0, r3, r1) syz_emit_ethernet(0x3e, &(0x7f00000000c0)=ANY=[@ANYBLOB="ffffffffffffaaaaaaaaaabb080045da00260068000005019078ac1400aaffffffff03069078000000004518fff80064000000000000e0100002ac1400aa"]) r8 = open(&(0x7f00000000c0)='./file0\x00', 0x7c6, 0xea) ioctl$FIOSETOWN(r8, 0x8004667c, &(0x7f0000000180)=0x4) socketpair$unix(0x1, 0x5, 0x0, &(0x7f00000006c0)={0xffffffffffffffff, 0xffffffffffffffff}) r11 = kqueue() sysctl$net_inet_tcp(&(0x7f0000004a40)={0x4, 0x2, 0x6, 0x13}, 0x4, 0x0, 0x0, &(0x7f0000004b00), 0x0) kevent(r11, &(0x7f0000000180)=[{{r10}, 0xfffffffffffffff7, 0x93, 0x80, 0x3, 0x42cb}], 0x4c, &(0x7f00000001c0)=[{{r10}, 0xfffffffffffffff7, 0xa, 0x1, 0x5, 0x9}], 0x9, 0x0) write(r8, &(0x7f0000000100)="1c35a08f176e445a89fdd294d17c1e55fd8fb3d6435adf95c33cddd638422f3dd39baf4f9d1d49404a82c103b31e5af2f6f9ac26f3b32fb8cc44b31717a0078aeaf0933a411ab5d570527960f1b0d2868c7da8503a252b2af94763680e0b185d444a502bd8c4515ec16bb798bbd8b324ac174d3ca8cc2d734aa4b3c47de65d9f6220c9811404f27cdc0f9331a16b6fe94c7f96ad4125973bebf22214d01cb8031b5925d11a41c6b118d37198534d32ea71ac4c1c610ad50cb069f13e99c50cae2bd6c1b64e661859d2aa0b8bfb228bf442b41f785aac02501bca8c7ef76e025934eeb2010a78aa8933c581bc2cf0417ce222f6751bfc0f49b492a41deb72b6035c72adb623a544370153edf01a51346e8af8e692004a8efbb14867e63fb8b8cdb7273dcda656b3c74537e6533d36287b38edd21fe41ade4d4e092b3937d39ed754a4c37a5d9fd5340e66ce24fc928495a34ba7e6e02b02a98ec496f08ebdef9d9241c7377a05b2d28f34f9483706aac31bb010517fa3b3bac20640c2a41876b6ea72d92eec50eff2ed1f6364d2a66b4c85fd596fa2c7fb3fd7c856747e8310016f749f0d57aba942406a4df55c7f4b73aa0bf53d38278e1c7149d5a15840980a322a77eaa70dba4d2005679b3f330553b8961d5f648f9ea7b3ea11695661e7df78218609e4d22da68af83b6fa00ce4058842748b7419498e8435087dfae61a1edc3c1e10c47e2557a5a968be48564723ca4c5c5ec5763fc7d4cfd8bb6fa98a3c3e1bd05cf29514f3d2a70ae20bdf612f646a569965759cec7079079067e25468277bc820956ea4fc56f40145bfc5d8b66050c36ceb2a1237b53fac70e338b9a1ca44dabe5525858ba66059686dac13ec2d45170b915a9a750f6c0b318a67447e5fcbffad6ec8e4fd3c8309f4e0fe0a6cb09798cde11b08bb37a1377a05d930553d18379b89589c6c9251294824510a9c7e18c5d93382d6a289a4d35c0075dd90bdfa36ce028a86508829e291790b6544217f661fb7d58004f2d4cae4829dd2677381173164560c7ab7461cb2d5c64a345f0fcfc82f7c0d1998ac0c0c8c580f005fad148fcc3aca6161f6ce5bcb2cd08bca2858801b998ad5c097e70184540472f98b03aac5ddcf1272e05ad4defb9dcdf15d942a09f4e52fbe5e2502500e38951d176c60110ffed0b1f1363381a85f378b1df0e31da4b7588efa11ecb875c835280e06e7123061138ba330c6c218a74399b1d7da09e32037d40e479821267aca136a13be614522e0adf5c04867b3e27c6c31eae4c84c15330668bd41c87fd65e117311f66cb74f172106c6330d8a6ed4a0e5ff18c68c012b312842b70513ef9cdd465040dfe55566d782ec0a62ab38f941ce4cb672b5444856c8eb86a9f0c24fb7fbad5370a6c76e2355389c8bedea5864cdf1baf85f95e4430eba9b36e5c7baa9fe1c2674d8be4e83e6a1688cd8ccb90b55eb4db75b563cab3798269b633602b54213ff8ed5e7aadb2832273589a7bd0916eb673a638583fd834ab136c6da16ee786778fc379a7028f9cec50e3513c0d892a2e0795a9e8306b96f301a9bc63b73aa2eb46242fc5d01f7b95943ff999282846dcb5d52f836e2635fa0704d54e55f690ec9701dd7f2dedff053778256df3569037833fe31925ab485272abc1b09f8355280526c496c2808ad7d06a13537aed5e0fd207eee0556ce76a96cc62b39197aa3553d4c17a88c8a90b06418ff1ce2f551e29b7a5a64d3e2b47771a72a98c4407cba7e57b381cc5fbdcc85b45d72e650c98f6f7961ff105bd03e76bc4227719c687b1395cb28356c56deec418246d26ed84fa94b7b47f25642a2dd6a688ab34224edd73dabdf658dc8113200a858821c62cad40fd9d97fa50cb5c407f01b3f21484fbd46de3cc919361f7880fa3a25bd4097f40a50331d34065a1e1d35736dec216f1a44bc007ad4153a5dea269064cb2a494eec17bcf4e9f93dae4872931e852e33a92d656a163d383d9b0e1a4643f39418bd564d955103e14161b01873f6a1ca158832cee38390e806cf89f4a627e8196f250ac4d8663af465f3ced65d46b5bcf32d829279a8869539c2130ac4ebf055ac385d84ecb6d323b2d6dfe21386f5b3b327bd5a0859932a1c2a542496c9af254407948bbae98aa1854b5c126ee6f8463546bf908305d68fddc8e490e30d70b42f0715c0fd5178245cf2dcde5f8d23afb735ffb153cadf60a54d1663aa58fff997a31b8601a750147202f4505f543070d2709c7efd2fb84198a2ae5f55e931db41ae532a214a83b46d05403ba33842e4b570b358d319be9d9232ead641c95839d9ca7180673712fab19e94eddcd377cbb81e3597f3e527102ec656057ba909ec68962eb062ed60ee6e03762408beaa6c914f57c6758e1fc9f0767570f0069981437026b5d49df2c102a295c56750559d7bb12167c6cf1f9437658c6158e2b4801a4525b874dd0826058617f96a2ef9b9c5ca0f5062cba6279b342cbf177d8a6ee7b1594fb5bcdfbb55d9465e1ccb1c2f77b05000b3c29707a7268193c144c7f567b435c5e7517c80fba3f31eaa5db0c6f17c1fbe4c87e2288974f2f9c155df054a328f6384357f56d24d77ae27ead4ba78ee579d5361641d9a265f6737b01dbfdf4bd29b8e58fff6b754e5d6d0f151acefd77a7b608ea162a1ae87860e1210928e01ebfb4b295c617bfd9b748a84ed4611167650e5f500242db247ed70f935419fc8f80f1798f1dcd435b771459cf258aaaf756b797b248067effeb04ac6fe42619b9f8be3aa957ae70dabe8dedd27089c872c2630a9b32d1fedc82629337b9fec67c9de5cafc85d4280d71f7fdd10e72a47ab90cfb21545c213a05d3d5ec211761b17a5a266ade7884b4da0b6b9479ff6197f3cd345a5e68adfcdec8505e48b5481752867edb7fdfa76fcded97700bb23e946ae6d6ee6b5420faeb8099ab25dfe4f000b7420aa94fe6857057fb708922c078c98bd18609c8127710e78d60f19c20c791187dd02ea68f639ce4e2ff653069fdc55a165e7dcbe9ce5c9e341a681b3059777ccd8b2fd557d8de71431c1c8c78db23ec52b8a01ae916045cd8a7d85ea2d9d77f8360a72262203a641a06907b23c46f63ecfd98a7f83950d5b77783407fdd997b5fd309186a72aa1e88dabb4b214f473a4a24728add1e4edb2371701d30e08945d42a465cbb3dba5f9a1fe34bd21ffbcc384c0f624988653c988ca797e58f80d7d30a183493838a91be8ca5361cee28d34c12f9d5efebc3da64f3a8a101ccf54dac607a78820a4353ddba2603d75e93bf88681ef6287d754c08df81a0149a2bb8c7695eb3c590818e6025378280ea062d71b4846c92b276f820a25f043855741549dd3b575c7858eda940587c9130d2dd41ee5aa10e989fb1215255e073b64c3a61ee6e380b2bb8f27940797fdd3c3e4ffae013b7247764e3cf3360cfa57f1377445825d4f26408730a245f57442caf1d95d53a49985893a575f60495284d8d44e3dc591de655966ffad23680b817839255760d1400d2e38b4f91f3ab59e10409d0103c22548466f71a07d2818495fed8a5e66d11712a04b9e2ee29efcb6311655b461952cdc0acbf0bbe07428f3c37289a2b1087347e883701a2a2cef0059c637c93c16ab09e79a1bce57d6123d43fffd8df326955147ce68b97a8fc8065346ebc0e3c46f3aa65632d1742262acd9716da2bb57ffdcb74576a914ca943fb442c88403d09116cbde28c9aa1c09c3c22a87f9835e9443b40b93be205a093e3c741a8b1ce0200dc8637212d149484dead2328cd329f22f6ac429daf206e7fdde3705a942ffa4c94cf6064585631387efae4fd4e10384c134b85d40bb0702ed5452cedc47bc9ad354d86a4eb266e82fd9793a361a842dc32f3da8a52ed76da2f94512d854b54fcdf4426976c1e6c768ddd56b2703b254858e14faef256855b5c1572495d18cf31bb9e2ec073695da42ac6fe62e3ee118c1e9654268f0e771028b7970b93337af9de9d1101bcedc41e474fe687ef1e9e890f799d132cf2ae41ad1a141a1f3bfd970f6416f67ed38b0c7c316caabb6085cf58e6fdffc4bf37a5ab957a20e26048f3786d22d41fd759976cde804f82261ce4d54722d6354ba38d8179df18ea10c7f3978f2e6361f5dcff37a34fb9c7b7f67f86189f06a2dd292ea087748c7781083fb4751c77d521a15875fb5534def0b2bcc39ce012b35c8e96bc9444c238a57cb094f0e4d63c8851a0f1b2871b48658a624ce66ed90acb9a24cf28097201a9b36e85356d1b03d2baa3087f8f41313c6fdc61c3135a082bb3db9a0511bed8452d9940dbfb63fe499aa20a69ab577396a127d5611414c51891ab217fbadacc01d477228e91366d0fb69ea3bb0d0d08b7344ddd59dca2f55847a512411ff6c4016322e0069394f5ae77443085cffa8730ad27abc95705205eaeee1de18cb2c40e2e467c17e2bc07073e63ecc42f95316994b78bbf6ec576ded76f33c04b1400ece6bb5e86f40853a66f77cd8152be5b4365ec607e0ab60c5e764233965f4df60eaba0d4f945b658c907e6b5c7519031e77ec3a41befadc48e65ac9ca283a561e8122f7aa6298ab473e8cac95503ed0811e9a8014e3cd6ebdd1c4578435b48d94a7656e874179bfd9f4068d1e240d6b490dcaa0ad7c30c3b7242989678ca13713b89049bd2276bb0496432c67f026fcf108130d4d6bff7247e687fe727577fc33d43e6655c15ff3b339b8f42c5132c830eee176afd08e413d3e9e62304e892586db4139203f148c151ded57279038021f959bc043fa585fb8b09d359b2cf2d03567268c5ca89ca6e7e02d9b51c4470a0d58a4cdcd03e71ba8e27572b83dfc2c8ac6363549cb12bb34aed1eaf1a582a22af65e624fb9a210b01e80c91d1ab71ea48ea755077747999976af27390410abe7bddf487d2e91a65807ea38c2fe843f08aeaf720c6e00f751e15d27b1ce205db7edcf7669d8c5ec668017a34987dfdfdc00581273fb1aeccb8dc53e8b7fd22f0cfb9fc7f878aca7916bde0e0467eb857bcc0812f175fa82deccac893fbada91423e84c918bf4eab84ed010c71b313b053bd12631c9bcec7f762f6a227e32afd55d9f80dcd43510bac5686ab74c4724d6367d734cc8181cc6de86e265a24619ceb83a25d6a56e0974853d78da8427ebd55f829a97ff93a3cf962d044cf50a32b3b47e47c9d9ef5ed2f01934497ff70072754cacdb6e06ab81711cdb123890d88a0cea40cd314fa683fae00f6fcf112c3b85c255fcb8809fdf8246288261dc22a29770864ea78c94d8387588d400530508ecb24a0c7a9ef02193f46b77bbc519ad854266a69f8c66de5c8d49a2b620f2f2b23a3b7e5aa5d00525efcefb9746c93163bc760f31f5ce0d430b0fea3805f3219c609ef5b53de39370fd73a831d6a0afd680649d1ec514269389676b27911f81365362f2cb06a95e9109a975caf8495cfed3e2746ea098c99bbb97bd8db70bea5ba48804e46022b00b3e3a4cf812fbb5a2e0884b0fc4538f19671d6b2fc5b75557bcd6080e011e42e8b803f7ece3f70c6680677147f6b8123806142b9464dd70079ae3a3dfc91a927e8f6bf96cac7a1f509ca7a9d4522a8f6b674fdffacae9463e108c44ce7a010862d06278735f43158541c685924e8c1ad9559feb518edf7924f03650d871eb12db023aa52870f3ea93399f2a4afc597e48fb2fff477e8db610f8970367bb3fa1cb6b2c63fae0539268a85f27088ba0e1fd3281a0a70921022be90ced73bb9", 0x1000) recvfrom(r9, &(0x7f0000000000)=""/163, 0xa3, 0x42, &(0x7f0000001100)=@in6={0x1c, 0x18, 0x3, 0x8, "1e3c8f60952700b22261d6d5195ef945", 0xe8a}, 0x1c) 2.136567ms ago: executing program 6 (id=48): getitimer(0x1, 0xffffffffffffffff) (async) getitimer(0x1, 0xffffffffffffffff) mknod(&(0x7f00000000c0)='./file0\x00', 0x2000, 0x4058c2) open$dir(&(0x7f00000002c0)='./file0\x00', 0x8, 0x2) (async) open$dir(&(0x7f00000002c0)='./file0\x00', 0x8, 0x2) r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) (async) openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) r1 = socket$unix(0x1, 0x5, 0x0) closefrom(r1) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) r2 = syz_open_pts() ioctl$TIOCSETAW(r2, 0x802c7415, &(0x7f0000000000)={0x7, 0x3, 0xffffffc0, 0x8, "fe83fe7a9542a14123a70000001efe02bfabb686", 0x2, 0xcfe}) (async) ioctl$TIOCSETAW(r2, 0x802c7415, &(0x7f0000000000)={0x7, 0x3, 0xffffffc0, 0x8, "fe83fe7a9542a14123a70000001efe02bfabb686", 0x2, 0xcfe}) ioctl$DIOCGETQUEUE(0xffffffffffffffff, 0xc0804467, &(0x7f0000000480)={0x2, 0x100, {'\x00', './file0aaaaaaaaa\x00', './file0aaaaaaaaa\x00', './file0aaaaaaaaa', {{0x7f, 0x4}, {0x1000, 0x1}, 0x239e}, {{0x8000000000000001, 0x100}, {0x6, 0x8}, 0x5}, {{0xe, 0x7}, {0x7, 0x7}, 0x7ff}, {0x9, 0x6, 0x2, 0x80000000}, 0x0, 0x10000, 0xfffffffc, 0x5, 0x401}}) socket$inet(0x2, 0x2, 0x0) (async) r3 = socket$inet(0x2, 0x2, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) (async) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) ioctl$FIOASYNC(r3, 0xc0286988, &(0x7f0000000580)=0x7) write(r0, &(0x7f0000000040)="77d5b655ea62eae9fde7033fcd8b8bdb777835656f91263b4d71958e4326ac23f4b439b8e819bdfde6eeda3e72dd8c5a2c1df009ace87fcfda3c73ac6494911f09f40986334a99aef1d4bed6453b59b0f61b22c6a7f6688f3e0d", 0x5a) utimes(&(0x7f0000000040)='./file0\x00', &(0x7f0000000080)={{0x4, 0x4000000000000a}, {0x5, 0xfffffffffffff0fe}}) utimes(&(0x7f0000000100)='./file0\x00', &(0x7f0000000140)={{0x8, 0x3ca7}, {0x8e, 0xb}}) getitimer(0x0, &(0x7f0000000000)) sysctl$kern(&(0x7f0000000200)={0x1, 0x4e}, 0x4000000000000005, 0x0, 0x0, 0x0, 0xfffffffffffffe95) 1.565993ms ago: executing program 5 (id=49): r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000000100), 0x40, 0x0) r1 = socket$unix(0x1, 0x5, 0x0) closefrom(r1) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) r2 = syz_open_pts() socket$inet(0x2, 0x3, 0x6) ioctl$TIOCSETAW(r2, 0x802c7415, &(0x7f0000000000)={0x9, 0x6, 0xa4, 0x3b6d67b8, "0000000000000000000000ffffffff00", 0x6, 0x1}) r3 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETF(r3, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f00000000c0)=[{0x1c, 0x0, 0x9, 0x6}, {0x34, 0x91, 0xe8, 0xfffffffb}, {0x6, 0x5, 0x2, 0x7}]}) ioctl$BIOCSETIF(r3, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) syz_emit_ethernet(0x3e, &(0x7f0000000280)={@broadcast, @remote, [], {@ipv4={0x800, {{0x5, 0x4, 0x2, 0x36, 0x30, 0x68, 0x0, 0x5, 0x1, 0x0, @local={0xac, 0x14, 0x0}, @multicast2}, @icmp=@dest_unreach={0x3, 0x2, 0x0, 0x0, 0x0, 0x0, {0x5, 0x4, 0x0, 0x6, 0xfff8, 0x64, 0x0, 0x0, 0x1, 0x6, @loopback=0xe0000002, @local={0xac, 0x14, 0x0}}}}}}}) write(r0, &(0x7f0000000080)="7ef5b69389691e", 0x7) 1.212264ms ago: executing program 2 (id=50): socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000140)) openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) pselect(0x40, &(0x7f0000001280)={0x7f, 0x0, 0x101, 0x9, 0x400000000, 0x5, 0x9, 0x7}, &(0x7f0000001240)={0xff, 0xffffffffffffff01, 0x1000000007ff, 0x8, 0x0, 0x7, 0x9, 0x9}, 0x0, 0x0, 0x0) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000140)) (async) openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) (async) pselect(0x40, &(0x7f0000001280)={0x7f, 0x0, 0x101, 0x9, 0x400000000, 0x5, 0x9, 0x7}, &(0x7f0000001240)={0xff, 0xffffffffffffff01, 0x1000000007ff, 0x8, 0x0, 0x7, 0x9, 0x9}, 0x0, 0x0, 0x0) (async) 0s ago: executing program 6 (id=51): mlock(&(0x7f0000ff5000/0xb000)=nil, 0xb000) mprotect(&(0x7f0000ffa000/0x3000)=nil, 0x3000, 0x2) r0 = getegid() setregid(r0, 0x0) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r1, 0xffff, 0x1022, &(0x7f0000000200)={0x0, 0x0, 0x0}, &(0x7f0000000240)=0xc) setresgid(0x0, 0xffffffffffffffff, r2) (async) setresgid(0x0, 0xffffffffffffffff, r2) setregid(r2, r2) getgroups(0x2, &(0x7f0000000000)=[0xffffffffffffffff, 0x0]) getgroups(0x3, &(0x7f0000000040)=[0x0, 0x0, 0x0]) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000080), 0xc) (async) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000080)={0x0, 0x0, 0x0}, 0xc) getgroups(0x2, &(0x7f00000000c0)=[0xffffffffffffffff, 0x0]) (async) getgroups(0x2, &(0x7f00000000c0)=[0xffffffffffffffff, 0x0]) setgroups(0x7, &(0x7f0000000100)=[r0, r2, r3, r4, 0xffffffffffffffff, r5, r6]) socket$unix(0x1, 0x7, 0x0) (async) socket$unix(0x1, 0x7, 0x0) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.50' (ED25519) to the list of known hosts. pckbd_enable: command error Connection to 10.128.0.50 closed by remote host. panic: Caught invalid memory access at ffffffff846ec918 size 8 op 0 Stopped at db_enter+0x17: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 20046 1 0 0x10000002 0 1K init db_enter() at db_enter+0x17 panic(ffffffff84638c51) at panic+0x270 __asan_load8_noabort(ffffffff846ec918) at __asan_load8_noabort+0xde witness_checkorder(ffff800028fe4690,9,0) at witness_checkorder+0x25a mtx_enter(ffff800028fe4680) at mtx_enter+0x105 kqueue_register(ffff800028fe4680,ffff8000297fe2a0,0,0) at kqueue_register+0x3ab knote_processfork(ffff8000298034f0,14e84) at knote_processfork+0x5b1 fork1(ffff800045fffc88,1,ffffffff8235e640,0,ffff8000297fe520,0) at fork1+0x1225 syscall(ffff8000297fe5c0) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b223066c480, count: 5 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: Caught invalid memory access at ffffffff846ec918 size 8 op 0 ddb{1}> show kasan KASAN: invalid read of 8 bytes at 0xffffffff846ec918 from pc 0xffffffff8139efea KASAN: first bad byte at 0xffffffff846ec918 (+0); shadow 0xfa: global redzone (out-of-bounds) KASAN: 0xffffffff846ec918 is 17 bytes to the right of the 39-byte global '.str.8' (/syzkaller/managers/kasan/kernel/sys/kern/subr_witness.c) KASAN: pc: witness_checkorder+0x25a KASAN: call trace: #0 __asan_load8_noabort+0xbd #1 witness_checkorder+0x25a #2 mtx_enter+0x105 #3 kqueue_register+0x3ab #4 knote_processfork+0x5b1 #5 fork1+0x1225 #6 syscall+0x1089 #7 Xsyscall+0x128 KASAN: shadow of 0xffffffff846ec800..0xffffffff846eca80 (1 cell = 8 bytes): 0xffffffff846ec800: 00 00 00 00 00 fa fa fa fa fa fa fa 00 00 00 00 0xffffffff846ec880: fa fa fa fa 00 00 00 00 fa fa fa fa 00 00 00 00 >0xffffffff846ec900: 00 fa fa[fa]fa fa fa fa 00 00 00 00 00 fa fa fa 0xffffffff846ec980: fa fa fa fa 00 00 00 00 00 fa fa fa fa fa fa fa 0xffffffff846eca00: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 fa KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope ddb{1}> trace db_enter() at db_enter+0x17 panic(ffffffff84638c51) at panic+0x270 __asan_load8_noabort(ffffffff846ec918) at __asan_load8_noabort+0xde witness_checkorder(ffff800028fe4690,9,0) at witness_checkorder+0x25a mtx_enter(ffff800028fe4680) at mtx_enter+0x105 kqueue_register(ffff800028fe4680,ffff8000297fe2a0,0,0) at kqueue_register+0x3ab knote_processfork(ffff8000298034f0,14e84) at knote_processfork+0x5b1 fork1(ffff800045fffc88,1,ffffffff8235e640,0,ffff8000297fe520,0) at fork1+0x1225 syscall(ffff8000297fe5c0) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b223066c480, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000297fdcd0 rbx 0xffff8000297fdd40 rdx 0 rcx 0xffff800028fe3ff0 rax 0 r8 0x101010101010101 r9 0x8080808080808080 r10 0 r11 0xffffffff815c6a70 x86_bus_space_io_read_1 r12 0xffffffff84638c51 __rodata_start+0x9fc51 r13 0xffff800028fe4c08 r14 0xffff800028fe4e07 r15 0x1 rip 0xffffffff8312f677 db_enter+0x17 cs 0x8 rflags 0x246 rsp 0xffff8000297fdcd0 ss 0x10 db_enter+0x17: popq %rbp ddb{1}> show proc PROC (init) tid=20046 pid=1 tcnt=1 stat=onproc flags process=10000002 proc=0 runpri=17, usrpri=52, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff85e4c060,0xffff800045fff4d0 process=0xffff8000298034f0 user=0xffff8000297f3000, vmspace=0xffff800000d8a988 estcpu=2, cpticks=5, pctcpu=0.0, user=0, sys=5, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 85636 83547 1 0 2 0 0 init 76529 409243 32190 0 2 0 0 syz-executor 76529 100774 32190 0 2 0 0x4000000 syz-executor 4207 158919 79769 0 2 0 0 syz-executor 4207 522546 79769 0 3 0 0x4000080 fsleep syz-executor 60119 503453 53367 0 2 0 0 syz-executor 60119 173612 53367 0 3 0 0x4000080 fsleep syz-executor 31340 339232 44524 0 2 0x10 0 syz-executor 31340 433047 44524 0 3 0x10 0x4000080 fsleep syz-executor 37013 498768 77877 0 2 0 0 syz-executor 37013 238186 77877 0 3 0 0x4000080 fsleep syz-executor 48574 392143 49924 0 2 0 0 syz-executor 48574 456280 49924 0 3 0 0x4000080 kqread syz-executor 48574 237981 49924 0 2 0 0x4000000 syz-executor 90943 299674 57701 0 2 0 0 syz-executor 90943 446477 57701 0 3 0 0x4000080 fsleep syz-executor 11877 118141 0 0 3 0x14000 0x280 nfsidl nfsio 13024 169527 0 0 3 0x14000 0x280 nfsidl nfsio 40544 222000 0 0 3 0x14000 0x280 nfsidl nfsio 9988 482525 0 0 3 0x14000 0x280 nfsidl nfsio 7261 444828 0 0 3 0x14000 0x280 nfsidl nfsio 94733 315207 0 0 3 0x14000 0x280 nfsidl nfsio 21307 373652 0 0 3 0x14000 0x280 nfsidl nfsio 97933 472278 0 0 3 0x14000 0x280 nfsidl nfsio 99523 215100 0 0 3 0x14000 0x280 nfsidl nfsio 71131 401739 0 0 3 0x14000 0x280 nfsidl nfsio 3640 203072 0 0 3 0x14000 0x280 nfsidl nfsio 83656 462822 0 0 3 0x14000 0x280 nfsidl nfsio 42575 473999 0 0 3 0x14000 0x280 nfsidl nfsio 15236 480291 0 0 3 0x14000 0x280 nfsidl nfsio 98424 362825 0 0 3 0x14000 0x280 nfsidl nfsio 58959 316518 0 0 3 0x14000 0x280 nfsidl nfsio 59889 259715 0 0 3 0x14000 0x280 nfsidl nfsio 79888 521223 0 0 3 0x14000 0x280 nfsidl nfsio 19947 1359 0 0 3 0x14000 0x280 nfsidl nfsio 72149 362348 0 0 3 0x14000 0x280 nfsidl nfsio 49924 158681 1385 0 3 0x2 0x80 nanoslp syz-executor 53367 383435 1385 0 3 0x2 0x80 nanoslp syz-executor 79769 129462 1385 0 3 0x2 0x80 nanoslp syz-executor 57701 341696 1385 0 3 0x2 0x80 nanoslp syz-executor 44524 14043 1385 0 3 0x2 0x80 nanoslp syz-executor 32190 445758 1385 0 3 0x2 0x80 nanoslp syz-executor 57054 293180 1385 0 3 0x2 0x80 nanoslp syz-executor 77877 445269 1385 0 2 0x2 0 syz-executor 1385 27517 62827 0 3 0x2 0x80 kqread syz-executor 62827 375807 1 0 2 0x100002 0x88 ksh 1716 208977 35557 74 3 0x1100012 0x80 bpf pflogd 35557 212548 1 0 3 0 0x80 sbwait pflogd 69185 459086 1 77 2 0x100012 0x80 dhcpleased 54736 522540 0 0 2 0x14000 0x40000200 smr 53123 348650 0 0 2 0x14000 0x200 zerothread 74469 55782 0 0 3 0x14000 0x200 aiodoned aiodoned 84519 250768 0 0 3 0x14000 0x200 syncer update 19830 415691 0 0 3 0x14000 0x200 cleaner cleaner 78592 195281 0 0 3 0x14000 0x200 reaper reaper 94002 239113 0 0 3 0x14000 0x200 pgdaemon pagedaemon 38537 406485 0 0 3 0x14000 0x200 bored viomb 56721 279222 0 0 3 0x14000 0x40000200 acpi0 acpi0 73394 331917 0 0 3 0x14000 0x40000200 idle1 65918 485243 0 0 3 0x14000 0x200 bored softnet1 99029 451787 0 0 3 0x14000 0x200 bored softnet0 6806 472507 0 0 3 0x14000 0x200 bored systqmp 23335 287612 0 0 3 0x14000 0x200 bored systq 39993 412947 0 0 3 0x14000 0x200 tmoslp softclockmp 48202 19965 0 0 3 0x14000 0x40000200 tmoslp softclock 15851 193136 0 0 3 0x14000 0x40000200 idle0 * 1 20046 0 0 7 0x10000002 0 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 1 (init) thread 0xffff800045fffc88 (20046) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8545f080) #0 witness_lock+0x632 #1 syscall+0x1048 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11081 12411K 12412K 166960K 12276 0 pcb 17 24K 24K 166960K 25 0 rtable 239 12K 13K 166960K 353 0 pf 34 22K 22K 166960K 45 0 ifaddr 43 12K 12K 166960K 45 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 3 1K 13K 166960K 9 0 counters 70 42K 42K 166960K 70 0 ioctlops 0 0K 4K 166960K 1489 0 iov 0 0K 16K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1363 88K 88K 166960K 1476 0 UFS quota 1 36K 36K 166960K 1 0 UFS mount 5 44K 44K 166960K 5 0 shm 2 2K 2K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 292K 166960K 11964 0 file desc 17 65K 93K 166960K 184 0 sigio 0 0K 0K 166960K 8 0 proc 23 62K 193K 166960K 563 0 subproc 72 9K 9K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 20K 20K 166960K 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 36K 36K 166960K 1 0 MSDOSFS mount 1 20K 20K 166960K 1 0 ttys 49 344K 344K 166960K 49 0 exec 0 0K 2K 166960K 383 0 fusefs mount 1 36K 36K 166960K 1 0 tdb 3 1K 1K 166960K 3 0 VM swap 14 124K 124K 166960K 15 0 UVM amap 158 169K 273K 166960K 3458 0 UVM aobj 4 4K 4K 166960K 4 0 pinsyscall 1050 1712K 1735K 166960K 1341 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 12 0K 2K 166960K 28 0 temp 34 9162K 9182K 166960K 4067 0 kqueue 6 18K 52K 166960K 37 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 35 0 35 1 0 1 1 0 8 1 rtentry 176 112 0 1 6 0 6 6 0 8 0 unpcb 144 90 0 78 2 0 2 2 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 14 0 12 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 96 0 94 2 0 2 2 0 8 1 nd6 152 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 25 0 0 1 0 1 1 0 8 0 pfstkey 128 25 0 0 1 0 1 1 0 8 0 pfstate 448 25 0 0 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 454 0 0 29 0 29 29 0 8 0 art_table 40 455 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 semapl 72 3 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1655 0 182 93 0 93 93 0 8 0 ffsino 296 1655 0 182 114 0 114 114 0 8 0 nchpl 144 1924 0 219 64 0 64 64 0 8 0 vnodes 216 1838 0 0 103 0 103 103 0 8 0 namei 1024 5940 0 5940 1 0 1 1 0 8 1 percpumem 16 51 0 0 1 0 1 1 0 8 0 kstatmem 264 27 0 0 2 0 2 2 0 8 0 scxspl 216 6999 0 6999 4 3 1 3 1 8 1 plimitpl 152 34 0 19 1 0 1 1 0 8 0 sigapl 424 522 0 456 8 0 8 8 0 8 0 knotepl 120 69 0 0 3 0 3 3 0 8 0 kqueuepl 224 45 0 37 1 0 1 1 0 8 0 pipepl 344 135 0 108 3 0 3 3 0 8 0 fdescpl 528 486 0 462 3 0 3 3 0 8 0 filepl 160 1953 0 1769 12 0 12 12 0 8 2 lockfpl 104 36 0 35 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 155 0 141 1 0 1 1 0 8 0 zombiepl 144 463 0 456 1 0 1 1 0 8 0 processpl 1232 522 0 456 6 0 6 6 0 8 0 procpl 664 620 0 546 7 0 7 7 0 8 0 sockpl 752 222 0 208 5 0 5 5 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mextrefs 64 17 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 164 0 0 11 0 11 11 0 8 0 bufpl 272 2382 0 106 152 0 152 152 0 8 0 anonpl 32 4430 0 0 36 0 36 36 0 222 0 amapchunkpl 152 9898 0 9501 23 0 23 23 0 158 3 amappl16 200 1982 0 1960 5 2 3 5 0 8 1 amappl15 192 12 0 12 2 1 1 1 0 8 1 amappl14 184 432 0 431 1 0 1 1 0 8 0 amappl13 176 126 0 123 1 0 1 1 0 8 0 amappl12 168 739 0 717 2 0 2 2 0 8 0 amappl11 160 6 0 5 2 1 1 1 0 8 0 amappl10 152 68 0 62 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 97 0 96 1 0 1 1 0 8 0 amappl7 128 149 0 145 1 0 1 1 0 8 0 amappl6 120 159 0 158 1 0 1 1 0 8 0 amappl5 112 98 0 94 1 0 1 1 0 8 0 amappl4 104 288 0 282 1 0 1 1 0 8 0 amappl3 96 1751 0 1659 3 0 3 3 0 8 0 amappl2 88 544 0 528 2 0 2 2 0 8 0 amappl1 80 10599 0 10411 15 0 15 15 0 8 5 amappl 88 2730 0 2599 4 0 4 4 0 92 0 uvmvnodes 80 99 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 486 0 462 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 486 0 462 1 0 1 1 0 8 0 vmmpekpl 168 6157 0 6121 2 0 2 2 0 8 0 vmmpepl 168 40213 0 39123 86 0 86 86 0 357 17 vmsppl 488 485 0 461 5 0 5 5 0 8 1 rwobjpl 80 15182 0 14656 24 0 24 24 0 8 2 pdppl 4096 981 0 922 97 24 73 87 0 8 14 pvpl 32 11936 0 0 97 0 97 97 0 265 0 pmappl 256 485 0 461 3 0 3 3 0 8 0 extentpl 40 47 0 29 1 0 1 1 0 8 0 phpool 120 422 0 28 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x19: leave x86_ipi_db(ffffffff852c8ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8545e880) at __mp_lock+0x272 softintr_dispatch(0) at softintr_dispatch+0x215 dosoftint(0) at dosoftint+0x7b Xsoftclock() at Xsoftclock+0x27 __asan_load4_noabort(ffffffff8545e880) at __asan_load4_noabort exit1(ffff8000299127d8,0,e,1) at exit1+0xa5d sigexit(ffff8000299127d8,e) at sigexit+0x191 postsig(ffff8000299127d8,e,ffff800029957eb0) at postsig+0x847 userret(ffff8000299127d8) at userret+0x2fd syscall(ffff8000299580a0) at syscall+0x2e0 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77295d1cf900, count: 1 ddb{0}> trace x86_ipi_db(ffffffff852c8ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8545e880) at __mp_lock+0x272 softintr_dispatch(0) at softintr_dispatch+0x215 dosoftint(0) at dosoftint+0x7b Xsoftclock() at Xsoftclock+0x27 __asan_load4_noabort(ffffffff8545e880) at __asan_load4_noabort exit1(ffff8000299127d8,0,e,1) at exit1+0xa5d sigexit(ffff8000299127d8,e) at sigexit+0x191 postsig(ffff8000299127d8,e,ffff800029957eb0) at postsig+0x847 userret(ffff8000299127d8) at userret+0x2fd syscall(ffff8000299580a0) at syscall+0x2e0 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77295d1cf900, count: -14 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x17: popq %rbp db_enter() at db_enter+0x17 panic(ffffffff84638c51) at panic+0x270 __asan_load8_noabort(ffffffff846ec918) at __asan_load8_noabort+0xde witness_checkorder(ffff800028fe4690,9,0) at witness_checkorder+0x25a mtx_enter(ffff800028fe4680) at mtx_enter+0x105 kqueue_register(ffff800028fe4680,ffff8000297fe2a0,0,0) at kqueue_register+0x3ab knote_processfork(ffff8000298034f0,14e84) at knote_processfork+0x5b1 fork1(ffff800045fffc88,1,ffffffff8235e640,0,ffff8000297fe520,0) at fork1+0x1225 syscall(ffff8000297fe5c0) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b223066c480, count: 5 ddb{1}> trace db_enter() at db_enter+0x17 panic(ffffffff84638c51) at panic+0x270 __asan_load8_noabort(ffffffff846ec918) at __asan_load8_noabort+0xde witness_checkorder(ffff800028fe4690,9,0) at witness_checkorder+0x25a mtx_enter(ffff800028fe4680) at mtx_enter+0x105 kqueue_register(ffff800028fe4680,ffff8000297fe2a0,0,0) at kqueue_register+0x3ab knote_processfork(ffff8000298034f0,14e84) at knote_processfork+0x5b1 fork1(ffff800045fffc88,1,ffffffff8235e640,0,ffff8000297fe520,0) at fork1+0x1225 syscall(ffff8000297fe5c0) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b223066c480, count: -10 ddb{1}>