last executing test programs: 466.021573ms ago: executing program 1 (id=2): r0 = openat$wskbd(0xffffffffffffff9c, 0x0, 0x10, 0x0) ioctl$WSKBDIO_GETMAP(r0, 0xc010570d, &(0x7f00000002c0)={0x5, 0x0}) ioctl$TIOCSTSTAMP(0xffffffffffffffff, 0x8008745a, 0x0) mknod(0x0, 0x2000, 0x1e5f) open(0x0, 0x80, 0x0) writev(0xffffffffffffffff, &(0x7f0000000200), 0x0) execve(0x0, 0x0, 0x0) ioctl$VMM_IOC_RESETCPU(0xffffffffffffffff, 0x82405605, &(0x7f00000000c0)={0xa, 0x88000148, {[0x3, 0x40, 0x6, 0x6, 0x3, 0xd, 0x5, 0x40000000000, 0x6, 0x2, 0x9, 0x91c, 0x8, 0x2000180, 0x0, 0xd3, 0x74, 0xffffffffffffbff7], [0x5438b950, 0x5, 0x1004, 0x5, 0x1, 0x1, 0x9, 0x78a, 0x1, 0x9bb], [0x6, 0x6, 0x8000000008, 0x8000000008, 0x10000, 0x210, 0x1000002], [0x100000000, 0x10801, 0x0, 0x5, 0x3], [{0x5, 0x1, 0xfffffbfb, 0x80000000005}, {0x2, 0x925, 0x20003, 0x338}, {0x1000, 0x7fffffff, 0x0, 0x5}, {0xb, 0xffff, 0x6, 0x594b}, {0x4, 0x9, 0x2, 0x8}, {0x1f, 0x4, 0x0, 0x7}, {0xe4, 0xffffff81, 0x1ff, 0x1}, {0x3, 0x10000, 0x8005, 0x5}], {0x6123, 0x0, 0x501, 0x8}, {0xfffe, 0x7f, 0x8, 0x4}}}) r1 = socket(0x18, 0x3, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000100)={'tap', 0x0}) ioctl$FIONREAD(r1, 0x8020699f, &(0x7f0000000100)) socket(0x2, 0x2, 0x0) syz_emit_ethernet(0x0, 0x0) r2 = socket(0x2, 0x3, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) ioctl$FIONREAD(r2, 0xc0206921, 0x0) r3 = socket(0x2, 0x1, 0x0) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x4c, 0x7, 0x3, 0x4}, {0x20, 0xf0, 0xcf}, {0x6, 0x80, 0x3, 0x10000}]}) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000140)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) write(0xffffffffffffffff, 0x0, 0x0) ioctl$FIONREAD(r3, 0x8020690c, &(0x7f00000001c0)) 457.913445ms ago: executing program 0 (id=1): r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x80, 0x0) ioctl$TIOCSETA(r0, 0xcd604406, &(0x7f0000000240)={0x8, 0x7c, 0x5, 0xffc00000, "d6a24901b178927c79486b46c1d100", 0x5, 0x808}) ioctl$DIOCXEND(r0, 0xc0044464, &(0x7f0000000100)=0x20d4) 444.772494ms ago: executing program 2 (id=3): r0 = socket$inet(0x18, 0x3, 0x102) ioctl$WSMUXIO_REMOVE_DEVICE(0xffffffffffffffff, 0x80085762, &(0x7f0000000040)={0x1}) r1 = socket(0x18, 0xc003, 0x3a) setsockopt(r1, 0x29, 0x6c, &(0x7f0000000040), 0x4) setsockopt$inet6_MRT6_ADD_MIF(r1, 0x29, 0x66, &(0x7f00000003c0)={0x0, 0x1, 0x10, 0x5, 0x2}, 0xc) setsockopt$inet6_MRT6_ADD_MFC(r1, 0x29, 0x68, &(0x7f0000000080)={{0x1c, 0x18, 0x1, 0xb, "1e785a01005ada388e04000000fffffe", 0x1}, {0x1c, 0x18, 0x3, 0x4, '\x00', 0x5}, 0x0, [0x3efa, 0x9f72, 0x1, 0x9, 0x8, 0x7f, 0x801, 0x4]}, 0x5c) sendmsg(r0, &(0x7f0000000240)={&(0x7f0000000280)=@in6={0x1c, 0x18, 0x0, 0x7, '\x00', 0x101}, 0x1c, &(0x7f00000003c0)=[{&(0x7f0000000180)="638802000000339afe51f6f2efa24a85abdd612dd68e59adfecf9323100084410a8591426ee03e", 0x12}, {&(0x7f0000000680)="a2", 0xfdac}], 0x2, 0x0}, 0x402) r2 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) dup2(r2, r1) 435.47167ms ago: executing program 5 (id=6): mknod(&(0x7f0000000200)='./file0\x00', 0x2000, 0x4287e) r0 = open(&(0x7f0000000300)='./file0\x00', 0x80000000000206, 0x4ebfac6bbaf7815) ioctl$FIOSETOWN(r0, 0x8004667c, &(0x7f0000000000)=0x1) sendto$unix(0xffffffffffffffff, &(0x7f0000000100)="b10005016000009f05003f0407000000001813fecea10516d09a32693f316e357ae325b37b673031d2d236acf20b8f25be38164991f7c8cf5f882b297be1aa5b23edeb51e2f0ac3ebbc257699a1f139b672f4d335c223ef0806d392664a5902821020000000000008bfbb770c116a985c881ea772ec5890400000000ff0000361b1257aea8c5000020022138f2d90000c11a000000000008e38295f80004073da51a221f00000080042000000000000000", 0xb1, 0x14, 0x0, 0x0) r1 = openat$pf(0xffffffffffffff9c, &(0x7f00000000c0), 0x82, 0x0) setitimer(0x2, &(0x7f0000000140)={{0x3, 0x122800000000009}, {0xffffdff0, 0x8020000000000001}}, 0x0) ioctl$DIOCGETQUEUE(r1, 0xc148445f, &(0x7f0000000a00)={0xa, 0xce, {'\x00', './file0\x00', './file0\x00', './file0\x00', {{0x5, 0xd4dd}, {0x0, 0x530}, 0x4}, {{0xfffffffffffffff7, 0xffffffff}, {0x8001, 0x80}, 0x3270}, {{0x7, 0xd856}, {0x8, 0x2}, 0x855f832}, {0x0, 0x11c, 0x10, 0x1}, 0x0, 0x3e7, 0xfffffffa, 0xf20d, 0x400}}) setuid(0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r2 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r2, 0xc0206983, &(0x7f00000001c0)) r3 = syz_open_pts() ioctl$TIOCSETA(r3, 0xcd60441a, &(0x7f0000000000)={0x8, 0x7, 0x9, 0x403, "000000000a00000f000010aff0338a6b4fc6d700", 0x7, 0x7}) 383.984875ms ago: executing program 0 (id=9): select(0x40, &(0x7f0000000180)={0xfffffffffffffff9, 0x44809e9d, 0xffffffffffffffff, 0xfffffffffffffffd, 0x2800000000000000, 0x181c, 0x8, 0x2000000000000004}, 0x0, 0x0, 0x0) mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x6381) r0 = kqueue() kevent(r0, &(0x7f00000000c0), 0x8, &(0x7f00000001c0), 0x15, 0x0) r1 = open(&(0x7f0000000080)='./file0\x00', 0x10, 0x100) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0\x00', 0x29, 0x9, 0x10004, 0x1, 0x0, 0x3, 0x7, 0x2, 0x0, 0x2000004, 0x6}) shutdown(0xffffffffffffffff, 0x1) mknod(&(0x7f00000000c0)='./file1\x00', 0x2000, 0x637d) r2 = open(&(0x7f0000000800)='./file1\x00', 0x8000, 0xba) ioctl$FIONBIO(r2, 0x82907003, &(0x7f0000000140)=0x1) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0\x00', 0x209, 0x40009, 0x4, 0x0, 0x8000000a, 0x2, 0x8, 0x2, 0x0, 0x2000004, 0x2}) ioctl$FIONBIO(r1, 0x82907003, &(0x7f0000000140)=0x2) dup(r1) closefrom(r0) 299.212508ms ago: executing program 2 (id=10): r0 = kqueue() kevent(r0, 0x0, 0x0, 0x0, 0x40000009, 0x0) r1 = socket(0x2, 0x8002, 0x0) syz_emit_ethernet(0xe, &(0x7f0000000000)=ANY=[@ANYBLOB="0000000000000001"]) writev(0xffffffffffffffff, &(0x7f00000000c0)=[{&(0x7f0000000000)="6dc100167f", 0x5}], 0x1) syz_emit_ethernet(0x138, &(0x7f0000000000)=ANY=[@ANYBLOB="ff02"]) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r2 = socket(0x2, 0x1, 0x0) connect$unix(r2, &(0x7f0000000000), 0x10) setrlimit(0x4, 0x0) getpeername$unix(r2, 0x0, 0x0) sysctl$net_inet6_ip6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ktrace(0x0, 0x1, 0xf0bf9083fffffeef, 0x0) r3 = fcntl$dupfd(r1, 0x2, 0xffffffffffffffff) closefrom(r3) 288.22977ms ago: executing program 4 (id=5): open(&(0x7f0000000000)='./file0\x00', 0x9cab835cfdc52675, 0x0) ktrace(&(0x7f0000000200)='./file0\x00', 0x4, 0xd27d43220c7df9f, 0x0) r0 = openat$vnd(0xffffffffffffff9c, &(0x7f00000001c0), 0x40, 0x0) ioctl$VNDIOCSET(r0, 0xc0384600, 0x0) ioctl$VNDIOCCLR(r0, 0x80384601, &(0x7f0000000c80)={0x0, 0x5, 0x0}) 279.235409ms ago: executing program 3 (id=4): sysctl$kern(&(0x7f00000000c0)={0x1, 0x33}, 0x2, 0x0, 0x0, 0x0, 0x0) openat$vmm(0xffffffffffffff9c, 0x0, 0x8, 0x0) ioctl$WSMUXIO_REMOVE_DEVICE(0xffffffffffffffff, 0x80085762, &(0x7f0000000040)={0x1}) r0 = socket(0x18, 0x3, 0x3a) setsockopt(r0, 0x29, 0x6c, &(0x7f0000000040), 0x4) setsockopt$inet6_MRT6_ADD_MIF(r0, 0x29, 0x66, &(0x7f0000000240)={0x0, 0x0, 0x0, 0xb, 0x2}, 0xc) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) setsockopt$inet6_MRT6_ADD_MIF(r0, 0x29, 0x67, &(0x7f00000000c0)={0x3}, 0xc) 170.856023ms ago: executing program 3 (id=12): ioctl$BIOCSRTIMEOUT(0xffffffffffffffff, 0x8010426d, 0x0) ioctl$VNDIOCSET(0xffffffffffffffff, 0x80184404, &(0x7f00000001c0)={0x0, 0x0, 0x0}) r0 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r0, 0xc028698d, &(0x7f00000001c0)) 151.880436ms ago: executing program 1 (id=13): chmod(&(0x7f0000000040)='.\x00', 0x35e) setuid(0xee01) open(&(0x7f0000000080)='./file0\x00', 0x78e, 0xca) r0 = setsid() ktrace(&(0x7f0000000000)='./file0\x00', 0x4, 0x1f04, r0) 138.332154ms ago: executing program 6 (id=14): open$dir(&(0x7f0000000040)='./file0\x00', 0x200, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x2, 0x0) setsockopt(r0, 0x1000000000029, 0x9, &(0x7f0000000040)="030000", 0x3) 137.491398ms ago: executing program 3 (id=15): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000000)={0x3, &(0x7f00000000c0)=[{0x2, 0x0, 0x0, 0x8000003}, {0x0, 0x0, 0x40}, {0x46, 0x0, 0x0, 0x37f}]}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x42}, 0x6, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x1918, 0x0, 0xffac) execve(0x0, &(0x7f00000002c0)=[&(0x7f0000000100)='tap'], 0x0) r0 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r0, 0xc028698a, &(0x7f0000000100)) 122.421357ms ago: executing program 1 (id=16): mknod(&(0x7f0000000180)='./bus\x00', 0x2000, 0xd01) socket$inet(0x18, 0x3, 0x102) msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000080)={{0x0, 0x0, 0x0, 0x0, 0x0, 0xa6}, 0x6c, 0x10000, 0x0, 0x0, 0x200000001, 0x80000000000000c, 0x0, 0x40, 0x0, 0x0, 0x0, 0x2}) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) sysctl$kern(&(0x7f00000000c0)={0x1, 0x49}, 0x2, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d", &(0x7f0000000080)=0xd, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) sysctl$kern(&(0x7f00000000c0)={0x1, 0x49}, 0x6, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0xfffffffffffffe3c, 0x0, 0x37) r0 = open(&(0x7f0000000040)='./bus\x00', 0x10, 0x0) r1 = openat$wsmouse(0xffffffffffffff9c, &(0x7f00000000c0), 0x8000, 0x0) ioctl$WSMOUSEIO_SETPARAMS(r1, 0x80105728, &(0x7f0000000040)={&(0x7f0000000080)=[{0x24, 0x8}], 0x1}) ioctl$VNDIOCSET(r0, 0x41406474, &(0x7f0000000500)={0x0, 0x0, 0x0}) 122.192675ms ago: executing program 3 (id=17): r0 = open$dir(&(0x7f00000000c0)='./file0\x00', 0x200, 0x186) mmap(&(0x7f0000000000/0xc00000)=nil, 0xc00000, 0x0, 0x10, r0, 0x0) pselect(0x0, 0x0, 0x0, 0x0, &(0x7f0000000280)={0x9, 0x7f}, 0x0) 121.181509ms ago: executing program 6 (id=18): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x40000, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000140)={0x3, &(0x7f0000000600)=[{0x1, 0x6f, 0x23, 0x3}, {0x30, 0x23, 0x82}, {0x9b1e, 0x4, 0xf4, 0x7f}]}) syz_emit_ethernet(0x2a, &(0x7f0000000200)=ANY=[]) 101.4802ms ago: executing program 3 (id=19): chmod(&(0x7f0000000040)='.\x00', 0x35e) setuid(0xee01) r0 = open(&(0x7f0000000040)='./file1\x00', 0x18289, 0x100) open(&(0x7f0000000000)='./file1\x00', 0x40, 0x0) write(r0, &(0x7f00000004c0)="b96abcf5ac7cffa09ea845315c0d853a14", 0xffffff1c) munmap(&(0x7f0000001000/0x400000)=nil, 0x400000) 99.935743ms ago: executing program 6 (id=20): r0 = socket$inet(0x2, 0x3, 0x0) close(r0) r1 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r1, 0x0, 0x200000000000a, &(0x7f0000000040)='\x00', 0x1) setsockopt$inet_opts(r0, 0x0, 0xd, &(0x7f0000000140), 0x0) 99.615788ms ago: executing program 1 (id=21): shmget(0x1, 0x2000, 0x294, &(0x7f0000ffe000/0x2000)=nil) setuid(0xffffffffffffffff) shmget(0x1, 0x1000, 0x147, &(0x7f0000ffd000/0x1000)=nil) 63.280475ms ago: executing program 6 (id=22): ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x100000000000000, 0x1}}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbdf13b9fd812eaa4e713048e69931929648", 0x14) shmget$private(0x0, 0x3000, 0x288, &(0x7f0000158000/0x3000)=nil) 62.96282ms ago: executing program 1 (id=23): r0 = syz_open_pts() readv(r0, &(0x7f00000002c0)=[{&(0x7f0000000340)=""/4085, 0xff5}], 0x1) ioctl$TIOCSETA(r0, 0x802c7414, &(0x7f0000000300)={0x80, 0x1, 0xdbfffffe, 0x10000, "d76c1f46000000ef1f0160fbff2000404b00", 0x800}) syz_open_pts() ioctl$TIOCSETAF(r0, 0x802c7416, &(0x7f0000000240)={0x79, 0xfffffffd, 0x400, 0xfffff620, "590113d22022b1c858669613a6683400000600", 0x3}) 62.52688ms ago: executing program 6 (id=24): socket$inet(0x2, 0x5, 0x0) mknod(&(0x7f00000002c0)='./file0\x00', 0x100, 0x10000) open(&(0x7f0000000040)='./file0\x00', 0x0, 0x164) r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x80, 0x0) mknod(0x0, 0x2000, 0x1e60) ioctl$WSMOUSEIO_SCALIBCOORDS(0xffffffffffffffff, 0x81205724, &(0x7f0000000100)={0x1, 0xffffaf35, 0x7f, 0x40005, 0x80000005, 0x7fbffffd, 0x25, 0x10, [{0x10000000, 0x40, 0x3, 0x3}, {0xfffffff3, 0xfffffffe, 0x9, 0x2}, {0x20007, 0x8000b86, 0xffffff79, 0x9}, {0xa, 0x6, 0x55, 0x200}, {0xc2, 0x8, 0x2, 0x800007}, {0x20002, 0x8, 0x8, 0x95}, {0xcdf, 0xdf65, 0x200004f8, 0x10}, {0x8, 0xf, 0x5, 0x8d}, {0xfffffffd, 0xe2b5, 0x40000003, 0x40000006}, {0x7, 0x2d1, 0x410001, 0x1ff}, {0x1e7, 0x400fff9, 0x927c, 0x4}, {0x5, 0x25, 0x9, 0x2d0b}, {0x3, 0x4f6, 0x80000001, 0x408}, {0x29a71718, 0x4, 0x3, 0x2579}, {0x0, 0xf8f, 0x8}, {0x1, 0x800bd3d, 0xf778, 0x88}]}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$VNDIOCSET(0xffffffffffffffff, 0x80184404, &(0x7f00000001c0)={0x0, 0x0, 0x0}) getsockname$inet6(0xffffffffffffffff, 0x0, &(0x7f00000002c0)) ioctl$TIOCSETA(r0, 0xcd604406, &(0x7f0000000240)={0x8, 0x7c, 0x5, 0xffc00000, "d6a24901b178927c79486b46c1d100", 0x5, 0x808}) ioctl$DIOCXEND(r0, 0xc0044464, &(0x7f0000000100)=0x20d4) close(0x3) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) mkdir(&(0x7f0000000500)='./file0\x00', 0x1) chmod(&(0x7f0000000180)='./file0\x00', 0x23f) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000080)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$sock_cred(r1, 0xffff, 0x1022, 0x0, 0x0) setgroups(0x0, 0x0) setuid(0xffffffffffffffff) bind$unix(0xffffffffffffffff, &(0x7f00000000c0)=@file={0xe, 0x1, './file0\x00'}, 0xa) listen(0xffffffffffffffff, 0x2) socket$unix(0x1, 0x1, 0x0) 61.298653ms ago: executing program 5 (id=25): ioctl$WSMUXIO_INJECTEVENT(0xffffffffffffffff, 0x80185760, &(0x7f0000000000)={0x0, 0x0, {0x100000000000000, 0x1}}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0x2e, &(0x7f0000000000)="ebffcbdf13b9fd812eaa4e713048e69931929648", 0x14) 49.352702ms ago: executing program 0 (id=26): sysctl$kern(&(0x7f00000000c0)={0x1, 0x37}, 0x2, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000040)=0x1c, 0x0, 0x0) unlinkat(0xffffffffffffff9c, 0x0, 0x4633c1de46705d12) mknodat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x1000, 0x0) open(&(0x7f0000000000)='./file0\x00', 0x70e, 0x0) r0 = open(&(0x7f0000000200)='./file0\x00', 0x1, 0x0) ioctl$FIONREAD(r0, 0x80206979, &(0x7f00000010c0)) 42.841359ms ago: executing program 5 (id=27): ioctl$WSMUXIO_LIST_DEVICES(0xffffffffffffffff, 0xc1045763, &(0x7f0000000040)={0x0, [{}, {0x1}, {0x0, 0x300}, {0x2, 0x4}, {0x0, 0x4000}, {0x2, 0xe}, {}, {0x3, 0x1}, {}, {0x4}, {}, {0x1}, {0x3, 0x6}, {0x2}, {0x3}, {}, {0x2}, {0x1, 0xb3}, {0x1}, {}, {0x3}, {0x0, 0x4}, {0x2}, {0x2}, {0x3}, {0x0, 0x5}, {0x2, 0x1}, {0x0, 0x10000}, {0x1, 0x80000000}, {0x1, 0x6}, {0x0, 0x2}]}) r0 = openat$pf(0xffffffffffffff9c, &(0x7f00000002c0), 0x1, 0x0) r1 = kqueue() kevent(r1, &(0x7f0000000000), 0x96, &(0x7f0000000540), 0xfffa4961, 0x0) ioctl$TIOCSETA(r0, 0xcd604404, &(0x7f0000000040)={0x1000ff28, 0x2, 0x869, 0x4, "2800180000020002000000000068ab5ade800600", 0x4, 0xdb5d}) 2.409585ms ago: executing program 3 (id=28): msgctl$IPC_SET(0x0, 0x1, &(0x7f0000000000)={{0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x44, 0x6}, 0x80000000, 0xfffffffffffffffd, 0x0, 0x0, 0x0, 0x1, 0x200023}) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0xc, &(0x7f0000000100)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) setsockopt(r0, 0x1000000029, 0xd, &(0x7f0000000000)="ebffcbff13b9fdc12eaa4e713048e69931929648", 0x14) 2.222171ms ago: executing program 0 (id=29): r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0x33, 0x0, 0x0) getsockopt(r0, 0x29, 0x33, 0x0, 0x0) 1.866002ms ago: executing program 5 (id=30): r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000100), 0x20, 0x0) ioctl$WSMOUSEIO_SCALIBCOORDS(0xffffffffffffffff, 0x81205724, &(0x7f0000000100)={0x7ff, 0x8, 0x6, 0x978, 0x4, 0x400001, 0xfffffff7, 0x10, [{0x5, 0xfe3, 0x0, 0x71801}, {0xfffffffe, 0xfffffff6, 0xf, 0x7}, {0x100004, 0x4, 0x1fc000, 0x5}, {0x3, 0x0, 0x8, 0xfffffffb}, {0x4, 0x3, 0xb, 0x7}, {0x2, 0x20048000, 0x7d457398, 0x400ff}, {0x2, 0xbffffff5, 0x4, 0x2}, {0x99d, 0x8, 0x0, 0x3}, {0x0, 0x5, 0xbfa9, 0x8000}, {0x6, 0x0, 0x4, 0x8}, {0xa450, 0x5, 0x488, 0xdf}, {0xa000, 0x5, 0x8, 0x8}, {0x2080e0, 0x9, 0x5, 0x3f7}, {0x1, 0xe9d9, 0x8001, 0xfffffff8}, {0x2, 0x5, 0x10000004, 0x20008}, {0x81, 0xf3, 0x7, 0x3a295788}]}) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r1 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) r2 = socket(0x18, 0x2, 0x0) ioctl$FIONREAD(r2, 0x8080691a, &(0x7f0000000100)) fchdir(r0) r3 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x40000, 0x0) ioctl$BIOCSETIF(r3, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) sysctl$kern(&(0x7f0000000400)={0x1, 0x17}, 0x2, 0x0, 0x0, 0x0, 0x0) ioctl$BIOCSETF(r3, 0x80104267, &(0x7f0000000080)={0x0, &(0x7f0000000600)}) ioctl$DIOCRSETADDRS(r0, 0xc4504445, &(0x7f0000000580)={{'./file0\x00', './file0\x00', 0x1, 0x7}, &(0x7f0000000440)=[{@broadcast, '\x00', './file0\x00', 0x4, 0x4, 0x18, 0x2, 0x1, 0x9, 0x4}, {@remote={0xac, 0x14, 0x0}, '\x00', './file0\x00', 0x4, 0x2, 0x18, 0x6, 0x4, 0x25, 0x3}, {@multicast1, '\x00', './file0\x00', 0x9a6, 0x5, 0x1a, 0x40, 0x6b, 0x0, 0xbb}, {@loopback, '\x00', './file0\x00', 0x7, 0x3, 0x18, 0x3, 0x6, 0x3, 0xf8}, {@remote={0xac, 0x14, 0x0}, '\x00', './file1\x00', 0xff, 0x1, 0x2, 0xfb, 0x1, 0x14, 0x8}], 0xfffffff8, 0x5, 0x8001, 0x2, 0x7, 0xfffffffb, 0x60}) sysctl$hw(&(0x7f0000000000)={0x6, 0x17}, 0x2, &(0x7f0000000300)="304f95fd070db0fe4a7aaa4005193fa35553c88f450573388a938a74d9ec24415423b985dc7e8481b6ebd7e996b31041cc38ab31fd5eb5e9402661510a08b7cdf9e2e6ca48cacae7a1230863d079e9ec74da01d3af7b8f04e61f82c20ff390b160816164059c0c440647dd6986c784fefd60", &(0x7f0000000040)=0x72, &(0x7f0000000080), 0x0) r4 = socket(0x18, 0x3, 0x0) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r5 = socket(0x1, 0x2, 0x0) ioctl$FIONREAD(r5, 0xc0106924, &(0x7f00000001c0)) ioctl$FIONREAD(r4, 0xc02069a5, &(0x7f0000000100)) r6 = openat$vnd(0xffffffffffffff9c, &(0x7f0000000200), 0x40000, 0x0) ioctl$VNDIOCSET(r6, 0xc0384600, &(0x7f00000002c0)={0x0, 0xc, &(0x7f0000000280)='./file0\x00', 0x8}) syz_emit_ethernet(0x2a, &(0x7f0000000200)=ANY=[]) 0s ago: executing program 6 (id=31): ioctl$WSMOUSEIO_SCALIBCOORDS(0xffffffffffffffff, 0x81205724, 0x0) mknod(&(0x7f0000000280)='./file0\x00', 0x2000, 0x1e5f) r0 = open(0x0, 0x80, 0x2a) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) close(0xffffffffffffffff) connect$unix(0xffffffffffffffff, 0x0, 0x0) ioctl$VNDIOCSET(r0, 0x80184404, &(0x7f00000001c0)={0x0, 0x0, 0x0}) ioctl$VNDIOCSET(r0, 0x80044403, 0x0) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x3, 0x5012, 0xffffffffffffffff, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r1 = socket(0x18, 0x1, 0x0) ioctl$FIONREAD(r1, 0x8020699d, &(0x7f00000001c0)) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.52' (ED25519) to the list of known hosts. lo0: can't handle af0 panic: ip6_getpcbopt: unexpected option Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *493526 42095 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 panic(ffffffff834eb32a) at panic+0x1cf ip6_getpcbopt(ffff8000015f7940,33,fffff50067c20b00) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff800010fe17b8,29,33,fffff50067c20b00) at ip6_ctloutput+0xfa9 sogetopt(ffff800010fe17b8,29,33,fffff50067c20b00) at sogetopt+0x128 sys_getsockopt(ffff80002a75b4d8,ffff80003c8efac0,ffff80003c8efa10) at sys_getsockopt+0x1eb syscall(ffff80003c8efac0) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa93fb7bd0f0, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: ip6_getpcbopt: unexpected option ddb> trace db_enter() at db_enter+0x25 panic(ffffffff834eb32a) at panic+0x1cf ip6_getpcbopt(ffff8000015f7940,33,fffff50067c20b00) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff800010fe17b8,29,33,fffff50067c20b00) at ip6_ctloutput+0xfa9 sogetopt(ffff800010fe17b8,29,33,fffff50067c20b00) at sogetopt+0x128 sys_getsockopt(ffff80002a75b4d8,ffff80003c8efac0,ffff80003c8efa10) at sys_getsockopt+0x1eb syscall(ffff80003c8efac0) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa93fb7bd0f0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80003c8ef740 rbx 0xfffff50070807148 rdx 0xffff8000015aa640 rcx 0 rax 0xffff80002a75b4d8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x92a236b230e9e6fd r11 0xe8cfe38150785d1 r12 0 r13 0xffff800010fe17b8 r14 0 r15 0x1 rip 0xffffffff829fcc95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c8ef730 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=493526 pid=42095 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a76da10,0xffff80002a75a558 process=0xffff8000384cba98 user=0xffff80003c8ea000, vmspace=0xfffff500700e2e78 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89743 106640 8389 0 2 0 syz-executor 89743 437455 8389 0 2 0x4000000 syz-executor 42095 5002 95312 0 2 0 syz-executor *42095 493526 95312 0 7 0x4000000 syz-executor 43235 517540 20949 0 2 0 syz-executor 43235 437267 20949 0 3 0x4000080 fsleep syz-executor 51828 89621 66842 0 2 0 syz-executor 51828 296343 66842 0 3 0x4000080 fsleep syz-executor 89666 109479 1407 0 3 0x80 nanoslp syz-executor 89666 170126 1407 0 3 0x4000080 ttyopn syz-executor 89666 520228 1407 0 3 0x4000080 fsleep syz-executor 50105 519481 60447 0 2 0 syz-executor 50105 320115 60447 0 3 0x4000080 fsleep syz-executor 68933 107751 30222 0 2 0 syz-executor 68933 358680 30222 0 3 0x4000080 kqread syz-executor 68933 334604 30222 0 3 0x4000080 fsleep syz-executor 464 193387 46217 0 2 0x2 ifconfig 46217 335488 99202 0 3 0x10008a sigsusp sh 99202 182674 850 0 3 0x82 wait syz-executor 20949 210437 850 0 3 0x82 nanoslp syz-executor 66842 506872 850 0 3 0x82 nanoslp syz-executor 60447 68356 850 0 3 0x82 nanoslp syz-executor 8389 249382 850 0 3 0x82 nanoslp syz-executor 30222 118845 850 0 3 0x82 nanoslp syz-executor 1407 196868 850 0 3 0x82 nanoslp syz-executor 95312 430921 850 0 3 0x82 nanoslp syz-executor 850 147221 99512 0 3 0x82 kqread syz-executor 99512 70792 20388 0 3 0x10008a sigsusp ksh 20388 208910 75051 0 3 0x98 kqread sshd-session 75051 404379 66686 0 3 0x92 kqread sshd-session 1273 147632 1 0 3 0x100083 ttyin getty 66686 300042 1 0 3 0x88 kqread sshd 92580 401335 84880 73 3 0x1100090 kqread syslogd 84880 161072 1 0 3 0x100082 sbwait syslogd 11343 356779 1 0 3 0x100080 kqread resolvd 15012 13000 30004 77 3 0x100092 kqread dhcpleased 84212 513132 30004 77 3 0x100092 kqread dhcpleased 30004 319215 1 0 3 0x80 kqread dhcpleased 28189 308700 0 0 3 0x14200 bored smr 51141 449434 0 0 2 0x14200 zerothread 98064 177960 0 0 3 0x14200 aiodoned aiodoned 59109 436300 0 0 3 0x14200 syncer update 34951 290432 0 0 3 0x14200 cleaner cleaner 15163 291044 0 0 3 0x14200 reaper reaper 17943 518064 0 0 3 0x14200 pgdaemon pagedaemon 29736 474649 0 0 3 0x14200 bored viomb 20557 302930 0 0 3 0x40014200 acpi0 acpi0 21426 257156 0 0 3 0x14200 bored softnet0 30382 137517 0 0 3 0x14200 bored systqmp 37147 401665 0 0 3 0x14200 bored systq 82540 200350 0 0 3 0x40014200 tmoslp softclock 8333 31342 0 0 3 0x40014200 idle0 1 139504 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11032 12104K 12176K 166960K 12133 0 pcb 18 12K 12K 166960K 26 0 rtable 215 6K 6K 166960K 361 0 pf 32 13K 14K 166960K 41 0 ifaddr 39 6K 7K 166960K 47 0 ifgroup 54 2K 2K 166960K 63 0 sysctl 1 1K 9K 166960K 5 0 counters 34 17K 18K 166960K 39 0 ioctlops 0 0K 4K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1288 81K 81K 166960K 1364 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 93K 166960K 159 0 sigio 0 0K 0K 166960K 1 0 proc 59 59K 91K 166960K 490 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 4 0 in_multi 79 5K 6K 166960K 92 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 368 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 143K 149K 166960K 2914 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 40 80K 93K 166960K 1264 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 3 0 NDP 24 1K 1K 166960K 29 0 temp 35 9106K 9112K 166960K 3654 0 kqueue 13 20K 24K 166960K 28 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 36 0 33 1 0 1 1 0 8 0 rtentry 136 107 0 13 4 0 4 4 0 8 0 unpcb 144 45 0 30 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 13 0 8 1 0 1 1 0 8 0 arp 96 18 0 2 1 0 1 1 0 8 0 inpcb 328 77 0 67 2 0 2 2 0 8 1 nd6 112 21 0 3 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 pfrule 1360 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 418 0 44 27 0 27 27 0 8 0 art_table 40 420 0 44 5 0 5 5 0 8 0 art_node 32 107 0 21 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1591 0 132 92 0 92 92 0 8 0 ffsino 256 1591 0 132 92 0 92 92 0 8 0 nchpl 144 1814 0 125 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 1679 0 0 94 0 94 94 0 8 0 namei 1024 5296 0 5296 1 0 1 1 0 8 1 kstatmem 264 31 0 6 3 0 3 3 0 8 1 scxspl 216 6206 0 6206 3 0 3 3 1 8 3 plimitpl 152 29 0 13 1 0 1 1 0 8 0 sigapl 424 457 0 413 6 0 6 6 0 8 1 knotepl 120 3744 0 3697 10 0 10 10 0 8 8 kqueuepl 184 27 0 17 1 0 1 1 0 8 0 pipepl 304 123 0 96 3 0 3 3 0 8 0 fdescpl 448 444 0 413 5 0 5 5 0 8 1 filepl 120 1512 0 1300 7 0 7 7 0 8 0 lockfpl 104 10 0 6 1 0 1 1 0 8 0 lockfspl 48 7 0 3 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 97 0 86 1 0 1 1 0 8 0 zombiepl 144 413 0 413 1 0 1 1 0 8 1 processpl 1152 457 0 413 4 0 4 4 0 8 0 procpl 664 491 0 438 5 0 5 5 0 8 0 sockpl 552 158 0 130 3 0 3 3 0 8 1 mcl64k 65536 12 0 12 1 0 1 1 0 8 1 mcl16k 16384 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2514 0 2462 14 0 14 14 0 8 7 mcl2k 2048 130 0 130 1 0 1 1 0 8 1 mtagpl 96 8 0 8 1 0 1 1 0 8 1 mbufpl 256 4549 0 4425 13 0 13 13 0 8 4 bufpl 272 2325 0 102 149 0 149 149 0 8 0 anonpl 24 79782 0 76650 21 0 21 21 0 88 0 amapchunkpl 152 7955 0 7505 18 0 18 18 0 158 0 amappl16 200 1136 0 1118 4 0 4 4 0 8 2 amappl15 192 2 0 2 1 0 1 1 0 8 1 amappl14 184 409 0 407 1 0 1 1 0 8 0 amappl13 176 116 0 106 1 0 1 1 0 8 0 amappl12 168 685 0 656 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 58 0 47 1 0 1 1 0 8 0 amappl9 144 270 0 269 1 0 1 1 0 8 0 amappl8 136 95 0 94 1 0 1 1 0 8 0 amappl7 128 141 0 130 1 0 1 1 0 8 0 amappl6 120 145 0 142 1 0 1 1 0 8 0 amappl5 112 91 0 84 1 0 1 1 0 8 0 amappl4 104 262 0 248 1 0 1 1 0 8 0 amappl3 96 1529 0 1423 3 0 3 3 0 8 0 amappl2 88 524 0 472 2 0 2 2 0 8 0 amappl1 80 10215 0 9669 12 0 12 12 0 8 0 amappl 88 2222 0 2071 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 444 0 413 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 444 0 413 1 0 1 1 0 8 0 vmmpekpl 168 5501 0 5476 2 0 2 2 0 8 0 vmmpepl 168 36802 0 35036 79 0 79 79 0 357 2 vmsppl 368 443 0 413 4 0 4 4 0 8 1 rwobjpl 40 13528 0 12603 10 0 10 10 0 8 0 pdppl 4096 894 0 826 94 14 80 80 0 8 12 pvpl 32 206853 0 198191 78 0 78 78 0 265 4 pmappl 216 443 0 413 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 506 0 14 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff834eb32a) at panic+0x1cf ip6_getpcbopt(ffff8000015f7940,33,fffff50067c20b00) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff800010fe17b8,29,33,fffff50067c20b00) at ip6_ctloutput+0xfa9 sogetopt(ffff800010fe17b8,29,33,fffff50067c20b00) at sogetopt+0x128 sys_getsockopt(ffff80002a75b4d8,ffff80003c8efac0,ffff80003c8efa10) at sys_getsockopt+0x1eb syscall(ffff80003c8efac0) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa93fb7bd0f0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff834eb32a) at panic+0x1cf ip6_getpcbopt(ffff8000015f7940,33,fffff50067c20b00) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff800010fe17b8,29,33,fffff50067c20b00) at ip6_ctloutput+0xfa9 sogetopt(ffff800010fe17b8,29,33,fffff50067c20b00) at sogetopt+0x128 sys_getsockopt(ffff80002a75b4d8,ffff80003c8efac0,ffff80003c8efa10) at sys_getsockopt+0x1eb syscall(ffff80003c8efac0) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa93fb7bd0f0, count: -8