last executing test programs: 3.859632231s ago: executing program 3 (id=407): r0 = socket(0x11, 0x3, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) recvfrom(r0, &(0x7f0000000000)=""/26, 0x1a, 0x842, 0x0, 0x0) 3.673819239s ago: executing program 3 (id=414): pipe2(&(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) readv(r0, &(0x7f00000000c0)=[{&(0x7f0000000040)=""/50, 0xfd9f}], 0x2f) writev(r1, &(0x7f0000000200)=[{&(0x7f0000000100)="19", 0xfffffe98}], 0x1) execve(0x0, 0x0, 0x0) 1.207022138s ago: executing program 3 (id=432): socket(0x11, 0x8003, 0x8) ioctl$VMM_IOC_RESETCPU(0xffffffffffffff9c, 0x82405605, &(0x7f0000000100)={0x1, 0x0, {[0xfffefbfffffffff7, 0x1, 0xffffffffffffaeb1, 0x4, 0xfffffffffffffffe, 0x10000000000000, 0xdf5a, 0xffffffffffffffff, 0x0, 0x2eff, 0x5, 0x3, 0xffffffffffffffff, 0x0, 0x8000000, 0xa8, 0x100000001, 0xce7], [0xfffffffffffffffe, 0x5c, 0x7fffffffffffffff, 0x8000ffffffff, 0x100, 0x5800000000000000, 0x1fe, 0xb, 0x1, 0x8], [0x100100000001, 0xfffffffffffffffe, 0x40000000, 0x6, 0x1, 0x4], [0x100, 0x2020000000000, 0x401, 0x100000000, 0xfffffffff7efffff, 0x400000000006], [{0x8000, 0x2, 0x0, 0x8}, {0xfffc, 0x7, 0x5}, {0x10, 0x2001, 0x5bea, 0x3}, {0xf801, 0x5, 0x7, 0x8000040c}, {0x10, 0x2, 0x81, 0x809}, {0x2, 0x40, 0x40001, 0x4}, {0xa, 0x20000, 0x7, 0x4}, {0x0, 0x7, 0x3, 0x4}], {0x2000, 0x101, 0x10000, 0x5}, {0x0, 0x0, 0x6, 0x2}}}) r0 = openat$pf(0xffffffffffffff9c, &(0x7f00000000c0), 0x82, 0x0) setitimer(0x0, &(0x7f0000000140)={{0x3, 0x122800000000009}, {0xffffdff0, 0x9}}, 0x0) r1 = kqueue() kevent(r1, &(0x7f0000000000), 0x97, &(0x7f0000000180), 0xbffb4961, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$TIOCSETA(r0, 0xcd60441a, &(0x7f0000000140)={0x5, 0xfd, 0x4, 0x403, "000000000a00000f000000aff0338a6b4fc6d700", 0x8, 0x7}) 1.122933907s ago: executing program 3 (id=437): mknod(&(0x7f0000000040)='./bus\x00', 0x100000000205f, 0x2802) r0 = open(&(0x7f0000000080)='./bus\x00', 0x0, 0x0) preadv(r0, &(0x7f0000000300)=[{&(0x7f00000000c0)=""/104, 0x68}], 0x1, 0x0) unveil(0x0, &(0x7f0000000080)='x\x00') 855.88948ms ago: executing program 7 (id=460): ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000200)={0x2, &(0x7f0000000600)=[{0x54, 0xfd, 0xf, 0x5}, {0x9b1e, 0x4, 0xf4, 0x4}]}) r0 = socket(0x2, 0x2, 0x0) connect$inet(r0, &(0x7f0000000000)={0x10, 0x2, 0x1, 0x200000e3}, 0x10) sendmmsg(r0, &(0x7f0000000480)={{0x0, 0x0, 0x0, 0x0, 0x0}}, 0x38, 0x404) 854.49946ms ago: executing program 7 (id=464): r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000040), 0x2, 0x0) sendmsg$unix(0xffffffffffffffff, &(0x7f0000000140)={0x0, 0x0, &(0x7f00000001c0)=[{&(0x7f0000000b40)="825a4f47c21e6ed7eda0f58f10939603ad903abf65b18d01000000000000000000000000fafd02af776665d4cd12c63d34", 0x31}], 0x1, 0x0, 0x0, 0x2}, 0x8) ioctl$DIOCGETRULE(r0, 0xcd604407, &(0x7f0000000b80)={0x400000, 0x9, 0x7, './file0\x00', './file0\x00', 0x0, "2f2336f198d06678408bd0158242bfae3fcc3186c9b0301798f9984fbf5b242a962dcebbd65493b5abf5fd7daaa8930e2750e38aaabfc62cbf9d2397021762158ee0d5e571d58ceb580a43fce473fa21a17221ae598cb9bfc310e86378e9be9f4052162bc162320cb9aab66c641711fa9cc97027c755daf57690b6e5741e343a0099509140c7983f2822910c3e99db50f7ba3b5f7fbdc4678d09cfc699132a4bf53be8baa1307e32a6754242927d7a6b1c839cdbd6664f540c15b508cba25255212d59797aa3fc07eaa10ce482dda6f89a709f00d7649898bae7378a78cf613275b4c2ad4204b7641696500e203fc3da194947b71966dc4bd3f1da365346a109f6401452a1709a5ff6637e2cc970fd262ed55dfcb273d829c79cf2eeb0582ee52c8360eebc5ccf590903b5bcb7247e69276c499ec91d9e08fde428039fb83d2ccc3ab944efc6c9ea829618b131023e678b9653cd485b55906206ec6f45409578f7fcafeee029be3cd775a3599a6e718ecd5716cc47fdf94b1f6fd3e91479680bf43da111dacb3079cfec76964f9b371c6f954ad1359177ab3e29c32362e3386a5564c22b556814c1f1f0de485711d11da873e61944af8ce19b569f85fba039d6e2d6499b4af26a04b5532347e8e6b2359b2b2f6c2627e5c0a9e9854a5be02f470d89103888459e821cd8b8f740dcbe9b6a2cae887930ec99fc8d35ee9f5b95e11bdb76ea0011f16681cea327b86b9a9c69403d02bdbe672f48b730dd3ee81eef2797f406d88ca27b0ef1aa06fb4994ebb4500034360b6a686fd10939c1dbe0f4f11b5f2534300ec7cbd6cc1a8ed67c0a09ee9a2ee9d834be18e1a7d27e2e9d6e8ac187ec9eaed4961b331b6fb105efd5442882799e114157366fc462b4be9807bb9b13ed21dab3a4411ced7e92a787905cd7c84cd1a0f7f016f38379aeb2b1c5fc447abba7c27ccfb68126a8965d04dadc76121cb80f28d7d2da54563215b0126fbf9fa77c76bc468b51c3049d0d9ad5a053fd11f024e7e1956b3998651d20b2ceebbc6f34be660de33af5c3e43731260149e98ff64cac2c8beb9f510a6b27b4d753e750b8f762920e3fcfc76c19c6b164b7b64d515066fe7c36d66eca0bc1bbc9c3b9b7a6b9c652d1559cb2bae5e1b860c698cc6a70245d63467b22d65d7c099f77fd4339ee7080ffbfdf297885b5f93d39d3788b117be1b8a60c1f6130df734a1d403c9e84382a21970d71437c55cc43e8be3a5f76d79b320d21ccc8dfeb1b58a4173fd56d6a4b5aeb2c7c863227c074053adc0abfe3b08969208d36d0d453cb151bb8139b8a79862fa4b57ced193c5c4f12c317fc52dfd6a3f16ce92cd5fcd68b64f345774bff4c7533efc5a4a37d69858ce6a575c1dbb65e3bd87e06198e134265d7dc219db7cd0c0289339d398f4718bdf201ab6aa437a75d58a71ca2868ac3743ff80a0e9e1c6a34f662db88d027bd6c2cff45d8fde9aec5cb67a6f0a987ae52003fbb551b519f7dbf547c405ce6f82fe0df8c7a6f3b569ff793e92cee4270fe201209f240351b3dbcfe94f9e6364eff767325876d0d34ae7e840d66d0d5b423d3897d77fdaf5ccdc58bfbcc48b38720fdfb05b480e251744c59616c7c6338ee96c701f2e68cdd141d155ccaa06c59d94e4b3fd6da1c6424ed57662619dcd32a6e0c1986ae875583ae63b3dadd42654305914759a35b2e0223e3195ba4fee43cb071eb936d12f212a271d80119255805020586ce826f11d7e7ad5dab5e187d73adc1591902f8a3ddcd8005967665dc8e3677d411b4ab5086b13be56335d4c2d464b47e7b20265d4ff4b5acf67efd9de02c4e20e1e07871c1670b13eef890c665e8a2bb8c634eacb362d8027b90fd84bf4224279cea868b37e3dc752e0f48a368649e469a5da9311a832fc4102e"}) ioctl$TIOCSETA(r0, 0xc4504443, &(0x7f0000000740)={0x0, 0x2, 0x0, 0x0, "01d04b0a0047c1d100", 0x6, 0x6}) 808.780125ms ago: executing program 7 (id=466): r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x3, 0x5012, 0xffffffffffffffff, 0x0) ioctl$DIOCXBEGIN(r0, 0xc0104451, &(0x7f0000000140)={0x3f80fe03f81047, 0x408, &(0x7f0000000180)=[{0x0, './file0\x00', 0x40bd}, {0x1, './file0\x00', 0x9}, {0x0, './file0\x00', 0x4}, {0x0, './file0\x00', 0x8}, {0x1, './file0\x00', 0x7}, {0x0, './file0\x00'}, {0x0, './file0\x00', 0x1000}, {0x1, './file0\x00', 0xd}]}) 441.746276ms ago: executing program 2 (id=495): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000100), 0xbe, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000140)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000600)=[{0x80, 0xff, 0x12, 0x9}, {0x28, 0xbb, 0x2, 0x8}, {0x9b1e, 0x13, 0x8, 0x2}]}) syz_emit_ethernet(0x2a, &(0x7f00000025c0)={@local, @broadcast, [], {@arp={0x806, @ether_ipv4={0x1, 0x800, 0x6, 0x4, 0x4, @empty, @loopback, @remote, @rand_addr=0x1}}}}) 405.2041ms ago: executing program 2 (id=507): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x87, 0x1e, 0x23, 0xffe}, {0x1c, 0x0, 0xfe, 0x10001}, {0x6, 0x0, 0x6, 0x5}]}) syz_extract_tcp_res(0x0, 0xa93f, 0xfff) 361.978215ms ago: executing program 2 (id=511): r0 = open(&(0x7f0000000040)='./file1\x00', 0x18289, 0x100) write(r0, &(0x7f00000004c0)="b96abcf5ac7cffa09ea845315c0d853a14", 0xffffff1c) poll(&(0x7f0000000000)=[{r0, 0x1}], 0x1, 0x2) munmap(&(0x7f0000001000/0x400000)=nil, 0x400000) 361.772068ms ago: executing program 4 (id=512): munmap(&(0x7f0000001000/0x2000)=nil, 0x2000) r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x10, 0x0) r1 = dup(r0) ioctl$DIOCRCLRTSTATS(r1, 0xc4504441, &(0x7f0000000180)={{'./file0\x00', './file0\x00', 0x20, 0xfd}, &(0x7f0000001040), 0x428, 0x3d98ac, 0x6, 0x4, 0x9, 0x8001, 0x12, 0x8}) 361.0711ms ago: executing program 5 (id=513): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000180), 0x80, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000140)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x40, 0x7, 0x3, 0x4}, {0x4, 0xf8, 0xbc, 0x80000}, {0x6, 0x84, 0x12, 0xfffff802}]}) syz_emit_ethernet(0x32, &(0x7f0000000040)={@remote, @random="a53051c1d9d2", [], {@arp={0x806, @generic={0x0, 0x876d, 0x6, 0x0, 0x8, @random="8358363af95c", "", @local, "b25572ff1cec036f9ff14b748f51e3be"}}}}) 327.365826ms ago: executing program 4 (id=514): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000040), 0x80, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000100)=[{0x20, 0x0, 0x6, 0x109}, {0x87, 0x3, 0x80, 0x1101}, {0x9b9e, 0x2, 0xf7, 0x106}]}) syz_emit_ethernet(0x1000e, &(0x7f0000000240)=ANY=[]) 327.033206ms ago: executing program 5 (id=516): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000000)={0x2, &(0x7f00000000c0)=[{0x0, 0x8}, {0x3}]}) sysctl$kern(&(0x7f00000000c0)={0x1, 0x33}, 0x2, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) sysctl$net_inet_ip(&(0x7f00000000c0)={0x4, 0x11, 0x0, 0x26}, 0x3, 0x0, 0x0, 0x0, 0x0) 326.940761ms ago: executing program 4 (id=517): sysctl$net_inet_ip(&(0x7f0000000040)={0x4, 0x2, 0x0, 0x20}, 0x4, 0x0, 0x0, 0x0, 0x0) unveil(&(0x7f0000000000)='./file0\x00', 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) sysctl$net_inet_ip(&(0x7f0000000040)={0x4, 0x2, 0x0, 0x23}, 0x4, &(0x7f0000000140), &(0x7f0000000000), 0x0, 0x0) 262.976557ms ago: executing program 4 (id=520): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000300), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000080)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f00000000c0)=[{0x7, 0xf1, 0x80, 0x10}, {0x34, 0x11, 0x3, 0x1}, {0x6, 0x80, 0x14, 0xfffff802}]}) syz_emit_ethernet(0x4e, &(0x7f0000000140)=ANY=[]) 262.350094ms ago: executing program 2 (id=523): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x8000, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x4, &(0x7f0000000080)=[{0x1d, 0x0, 0x2, 0x2}, {0x2, 0x1e, 0x23, 0x4}, {0x9b1e, 0x7, 0xff, 0x200000}, {0xe, 0x1f, 0x0, 0x9}]}) syz_extract_tcp_res(0x0, 0xa93f, 0xfff) 262.050558ms ago: executing program 6 (id=525): r0 = semget(0x0, 0x1, 0x281) setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, 0x0, 0x0) setuid(0xffffffffffffffff) semop(r0, &(0x7f00000000c0)=[{0x3, 0x8001, 0x1800}], 0x1) 217.465003ms ago: executing program 7 (id=527): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000140), 0x10, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000040)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x2, &(0x7f0000000280)=[{0x3c, 0x54, 0x5, 0x209}, {0x16, 0x24, 0x9, 0x9}]}) syz_emit_ethernet(0x36, &(0x7f0000000440)={@local, @local, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x28, 0x0, 0x0, 0x8, 0xff, 0x0, @local={0xac, 0x14, 0x0}, @rand_addr=0xac1400ff}, @tcp={{0x1, 0x3, 0x41424344, 0x41424344, 0x1, 0x0, 0x5, 0x8, 0xff, 0x0, 0x8}}}}}}) 217.361022ms ago: executing program 0 (id=528): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000180), 0x80, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000140)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000080)=[{0x4c, 0x7, 0x3, 0x4}, {0x29, 0x9, 0xff}, {0x6, 0x80, 0x3, 0xfffff802}]}) syz_emit_ethernet(0x4a, &(0x7f0000001600)=ANY=[]) 217.183445ms ago: executing program 6 (id=529): r0 = shmget$private(0x0, 0x1000, 0x40, &(0x7f0000ffd000/0x1000)=nil) r1 = shmat(r0, &(0x7f0000001000/0x3000)=nil, 0x2000) shmat(r0, &(0x7f0000002000/0x4000)=nil, 0x3000) shmdt(r1) 215.943992ms ago: executing program 1 (id=530): ioctl$BIOCSRTIMEOUT(0xffffffffffffffff, 0x8010426d, 0x0) ioctl$VNDIOCSET(0xffffffffffffffff, 0x80184404, &(0x7f00000001c0)={0x0, 0x0, 0x0}) r0 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r0, 0xc028698d, &(0x7f00000001c0)) 214.877841ms ago: executing program 7 (id=531): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x8000, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000000)=[{0x2, 0x0, 0x9, 0xc}, {0x1c, 0x8, 0x3, 0x4}, {0x9b1e, 0x7, 0xff, 0x200000}]}) syz_extract_tcp_res(0x0, 0xa93f, 0xfff) 192.321834ms ago: executing program 0 (id=532): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000300), 0x2, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000080)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x3, &(0x7f0000000000)=[{0x40, 0xf1, 0x80, 0x10}, {0x7, 0x11, 0x3, 0x4a}, {0x6, 0xa, 0x12, 0xfffff802}]}) syz_emit_ethernet(0x4e, &(0x7f0000000140)=ANY=[]) 192.032521ms ago: executing program 6 (id=533): ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f0000000000)={0x2, &(0x7f00000000c0)=[{0x0, 0x0, 0x8, 0xfffffffc}, {0x1, 0x0, 0x0, 0x3}]}) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000080)={0xffffffffffffffff}) getsockopt$sock_cred(r0, 0xffff, 0x1022, &(0x7f00000000c0), &(0x7f00000005c0)=0xc) sysctl$kern(&(0x7f00000000c0)={0x1, 0x37}, 0x4, &(0x7f0000000100)="71f91e3471ac0058bc5a91501d94a34b8e5f84cf71b59c7afec37082", &(0x7f0000000080)=0x3, 0x0, 0x2e) 191.838531ms ago: executing program 2 (id=534): r0 = kqueue() r1 = open$dir(&(0x7f0000000040)='./file0\x00', 0x200, 0x0) kevent(r0, &(0x7f0000000180)=[{{r1}, 0xffffffffffffffff, 0xa1, 0x2, 0x0, 0x1}], 0x8c0, 0x0, 0x0, 0x0) chmod(&(0x7f00000002c0)='./file0\x00', 0x3db) 191.716008ms ago: executing program 5 (id=535): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000140), 0x80, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000100)=[{0x7, 0x0, 0x2, 0x9}, {0x4, 0x9, 0x4, 0x6}, {0x9b9e, 0x8, 0xf4, 0x6}]}) syz_emit_ethernet(0xe, &(0x7f0000000340)={@remote, @remote, [], {@generic={0x8146}}}) 191.612145ms ago: executing program 4 (id=536): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000080), 0x800, 0x0) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000180)=[{0x1, 0xa, 0x1, 0x7}, {0xc, 0x1, 0x2, 0x401}, {0x9b9e, 0x6, 0xf4, 0x6}]}) syz_emit_ethernet(0x1000e, &(0x7f00000015c0)=ANY=[]) 191.511839ms ago: executing program 6 (id=537): open$dir(0x0, 0x200, 0x0) getpid() openat$pf(0xffffffffffffff9c, &(0x7f0000000240), 0x10, 0x0) setitimer(0x0, &(0x7f0000000080)={{0x2, 0x2}, {0x2, 0x1}}, &(0x7f00000000c0)) 145.611087ms ago: executing program 5 (id=538): openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x10000, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) ioctl$WSKBDIO_SETMAP(r0, 0x80047476, &(0x7f00000000c0)={0x0, 0x0}) 145.369857ms ago: executing program 6 (id=539): sysctl$net_inet_ip(0x0, 0x0, &(0x7f0000000140)="bd229daa752b6e307d165232fe12f3b1b055d7", 0x0, 0x0, 0x0) writev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000080)="673bb5b8cc0c16ed0898e17c03ce480135a1683b0801a22ed2b1243e7d2dcc8abf5c420000003bad6a78ef1d47e6abbbdabb", 0x32}], 0x1) sysctl$kern(&(0x7f0000000140)={0x1, 0x29}, 0x2, 0x0, 0x0, 0x0, 0x0) r0 = socket(0x18, 0x2, 0x0) sendmsg$unix(r0, &(0x7f0000000040)={&(0x7f0000000000)=@abs={0x1, 0x0, 0x1}, 0x8, 0x0, 0x0, &(0x7f0000000140)=ANY=[@ANYBLOB="18"], 0x20}, 0x4) 145.202655ms ago: executing program 5 (id=540): r0 = socket$inet(0x2, 0x1, 0x0) bind$inet(r0, &(0x7f0000000000)={0x10, 0x2, 0x3}, 0x10) listen(r0, 0x5) setsockopt(r0, 0x6, 0x4, &(0x7f0000000040)="d2674561", 0x4) syz_emit_ethernet(0x52, &(0x7f00000004c0)={@local, @broadcast, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x3d, 0x44, 0x67, 0x0, 0xff, 0x6, 0x0, @local={0xac, 0x14, 0x0}, @local={0xac, 0x14, 0x0}}, @tcp={{0x2, 0x3, 0x41424344, 0x41424344, 0x0, 0x0, 0xc, 0x2, 0x8200, 0x0, 0x7fff, {[@timestamp={0x8, 0xa, 0x80000000, 0x80000000}, @md5sig={0x13, 0x12, "d92bb33077d4ce22fc06d4f82b471f26"}]}}}}}}}) 145.108803ms ago: executing program 1 (id=541): r0 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000000), 0x8, 0x0) r1 = getpgid(0x0) fcntl$setown(r0, 0x6, r1) r2 = getpgrp() fcntl$setown(r0, 0x6, r2) 144.985451ms ago: executing program 7 (id=542): munmap(&(0x7f0000001000/0x3000)=nil, 0x3000) r0 = shmget$private(0x0, 0x3000, 0x4b0, &(0x7f0000ffb000/0x3000)=nil) shmat(r0, &(0x7f0000001000/0x3000)=nil, 0x0) mlock(&(0x7f0000000000/0x800000)=nil, 0x800000) madvise(&(0x7f0000000000/0x3000)=nil, 0x3000, 0x4) 130.145245ms ago: executing program 6 (id=543): r0 = open$dir(&(0x7f0000000240)='./file0\x00', 0x210, 0x140) mmap(&(0x7f0000001000/0x3000)=nil, 0x3000, 0x0, 0x10, r0, 0x0) sysctl$net_inet6_ip6(&(0x7f0000000000)={0x4, 0x18, 0x29, 0x2b}, 0x4, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) sysctl$net_inet_ip(&(0x7f0000000000)={0x4, 0x2, 0x0, 0x1c}, 0x4, 0x0, 0x0, &(0x7f0000001100), 0x4) 129.923956ms ago: executing program 2 (id=544): r0 = socket$inet(0x2, 0x3, 0x0) close(r0) r1 = socket$inet(0x2, 0x1, 0x0) setsockopt$inet_opts(r1, 0x0, 0x200000000000c, &(0x7f0000000000)="ea00000100000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0xd, &(0x7f0000000080), 0x0) 83.975176ms ago: executing program 4 (id=545): r0 = openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000080), 0x80, 0x0) mknod(&(0x7f0000000100)='./bus\x00', 0x2000, 0xd02) sysctl$kern(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) ioctl$WSMOUSEIO_SETPARAMS(r0, 0x80105728, &(0x7f0000000100)={0x0}) 83.742351ms ago: executing program 0 (id=546): r0 = socket(0x18, 0x2, 0x0) syz_emit_ethernet(0x3e, &(0x7f0000000000)=ANY=[@ANYRES16, @ANYRESHEX]) execve(0x0, 0x0, 0x0) setsockopt(r0, 0x1000000000029, 0x9, &(0x7f0000000040)="03000000", 0x4) setsockopt(r0, 0x1000000000029, 0xc, &(0x7f0000000000), 0x14) 83.603307ms ago: executing program 5 (id=547): syz_open_pts() mknod(&(0x7f0000000240)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x2000, 0x0) rename(&(0x7f00000004c0)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', &(0x7f0000000700)='./file0\x00') r0 = open(&(0x7f00000000c0)='./file0\x00', 0x82, 0x0) ioctl$WSDISPLAYIO_GETEMULTYPE(r0, 0x80047462, &(0x7f0000000040)={0x7d1, './file0aaaaaaaaa'}) 83.478114ms ago: executing program 1 (id=548): ioctl$VMM_IOC_RESETCPU(0xffffffffffffff9c, 0x82405605, &(0x7f0000000100)={0x0, 0x0, {[0xfffefbfffffffffa, 0x1, 0x2, 0x1, 0x0, 0x0, 0xdf5a, 0x0, 0x0, 0x2f01, 0x5, 0x3, 0xffffffffffffffff, 0x0, 0x8000000, 0xa8, 0x2, 0xce7], [0xfffffffffffffffe, 0x0, 0xfffffffffffffffb, 0x8000ffffffff, 0x100, 0x7b99, 0x1fe, 0xb, 0x1], [0x100000001, 0x2, 0x40000000, 0x4, 0xffffffffffffffff, 0x11003, 0xfffffffffffffffe], [0x10000000100, 0x20000000000, 0x401, 0x100000000, 0xffffffffffefffff, 0x6], [{0x0, 0x5, 0x0, 0x7d06}, {0xfffc, 0x7, 0x5, 0x2}, {0x10, 0x1, 0x5bea, 0x812}, {0x3, 0x5, 0x7, 0x80000001}, {0x10, 0x2, 0x0, 0x808}, {0x400b, 0x2002, 0x40000, 0x4}, {0x1, 0x20000, 0x4, 0x8}, {0x0, 0x965, 0xfffffffc, 0x4}], {0x2000, 0x1000001, 0x10000}, {0x0, 0x0, 0x3, 0x2}}}) open(&(0x7f0000000080)='./file0\x00', 0x78e, 0xca) r0 = socket(0x18, 0x1, 0x0) getsockopt$sock_cred(r0, 0xffff, 0x1024, &(0x7f0000000240)={0x0}, &(0x7f0000000280)=0x2) ktrace(&(0x7f0000000380)='./file0\x00', 0x4, 0xd27d43220c7df9f, r1) 83.368683ms ago: executing program 0 (id=549): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000140), 0x10, 0x0) ioctl$BIOCIMMEDIATE(r0, 0x80044270, &(0x7f0000000080)=0x9) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000180)={'tap', 0x0}) syz_extract_tcp_res$synack(0x0, 0x1, 0x0) syz_emit_ethernet(0x36, &(0x7f00000000c0)={@local, @local, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x28, 0x0, 0x0, 0x6, 0xff, 0x0, @local={0xac, 0x14, 0x0}, @rand_addr=0xac1400ff}, @tcp={{0x1, 0x3, 0x41424344, 0x41424344, 0x1, 0x0, 0x5, 0x8, 0xff, 0x0, 0x7}}}}}}) 83.133276ms ago: executing program 1 (id=550): r0 = openat$klog(0xffffffffffffff9c, &(0x7f0000000040), 0x40000, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) sendmsg$unix(0xffffffffffffffff, 0x0, 0x0) recvmsg(0xffffffffffffffff, 0x0, 0x0) read(r0, &(0x7f0000000340)=""/212, 0xd4) 826.585µs ago: executing program 0 (id=551): r0 = socket$inet6(0x18, 0x1, 0x6) setsockopt$sock_int(r0, 0xffff, 0x1, &(0x7f0000000080)=0x2, 0x4) connect$inet6(r0, &(0x7f0000000000)={0x1c, 0x18, 0x2, 0x3, "00000000000000000000000000001700", 0x80000000}, 0x1c) r1 = dup(r0) getsockname$inet6(r1, 0x0, &(0x7f0000001240)) 613.198µs ago: executing program 1 (id=552): r0 = socket(0x2, 0x3, 0x0) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) ioctl$FIONREAD(r0, 0xc0206921, &(0x7f00000001c0)) r1 = socket(0x2, 0x1, 0x0) ioctl$FIONREAD(r1, 0xc0206922, &(0x7f00000001c0)) 523.586µs ago: executing program 0 (id=553): 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, 0x3, 0xfffff620, "790113d22022b1c858005b195c36eab40ac69d00", 0x3}) 385.558µs ago: executing program 1 (id=554): mknod(&(0x7f00000000c0)='./bus\x00', 0x2000, 0x450c) r0 = open(&(0x7f00000002c0)='./bus\x00', 0x2, 0x0) poll(&(0x7f0000000000)=[{r0, 0x1}, {r0, 0x1}], 0x2, 0x8) ioctl$WSMUXIO_INJECTEVENT(r0, 0x80185760, &(0x7f0000000140)={0xfffffffe, 0x101, {0x3}}) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) 176.008µs ago: executing program 3 (id=555): syz_emit_ethernet(0x138, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x1) r0 = socket(0x18, 0x1, 0x0) setsockopt(r0, 0x1000000029, 0xc, &(0x7f0000000100)="ebffcbff13b9fd812eaa4e713048e69931929648", 0x14) setsockopt(r0, 0x1000000029, 0xc, &(0x7f0000000000), 0x0) 0s ago: executing program 3 (id=556): mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x6381) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000000)={0x0, 0x0}) r0 = socket(0x18, 0x2, 0x0) setsockopt(r0, 0x1000000000029, 0xa, &(0x7f0000000040)="03000000", 0x4) setsockopt(r0, 0x1000000000029, 0xc, &(0x7f0000000000), 0x14) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.153' (ED25519) to the list of known hosts. Connection to 10.128.0.153 closed by remote host. pppx: unable to set addresses for pppx1, error=17 nd6_resolve: ::: route contains no ND information ktrace write failed, errno 27, tracing stopped ktrace write failed, errno 27, tracing stopped ktrace write failed, errno 27, tracing stopped ktrace write failed, errno 27, tracing stopped OpenBSD/amd64 (ci-openbsd-main-0.us-central1-b.c.syzkaller.internal) (tty00) login: init: getty repeating too quickly on port /dev/tty00, sleeping ktrace write failed, errno 27, tracing stopped ktrace write failed, errno 27, tracing stopped arp_rtrequest: bad gateway value: vio0 ktrace write failed, errno 27, tracing stopped ×th¹,ò&Ôp@ÍFò ù¦zJ¹ÐÒ@6ÚC Jù‘ôE� ktrace write failed, errno 27, tracing stopped pckbd_enable: command error pckbd_enable: command error pckbd_enable: command error pppx: unable to set addresses for pppx1, error=17 panic: ip6_getpcbopt: unexpected option Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *239999 14796 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 panic(ffffffff834eb32a) at panic+0x1cf ip6_getpcbopt(0,33,fffff2806e3cb400) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff80000159f598,29,33,fffff2806e3cb400) at ip6_ctloutput+0xfa9 sogetopt(ffff80000159f598,29,33,fffff2806e3cb400) at sogetopt+0x128 sys_getsockopt(ffff80002a727230,ffff80002cc99160,ffff80002cc990b0) at sys_getsockopt+0x1eb syscall(ffff80002cc99160) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x25194db9b80, 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(0,33,fffff2806e3cb400) at ip6_getpcbopt+0x3e3 ip6_ctloutput(0,ffff80000159f598,29,33,fffff2806e3cb400) at ip6_ctloutput+0xfa9 sogetopt(ffff80000159f598,29,33,fffff2806e3cb400) at sogetopt+0x128 sys_getsockopt(ffff80002a727230,ffff80002cc99160,ffff80002cc990b0) at sys_getsockopt+0x1eb syscall(ffff80002cc99160) at syscall+0x962 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x25194db9b80, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002cc98de0 rbx 0xfffff28075ab0cd0 rdx 0xffff80000002a940 rcx 0 rax 0xffff80002a727230 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc9e49e073e002c6e r11 0x2a0705c02d30d9b4 r12 0 r13 0xffff80000159f598 r14 0 r15 0x1 rip 0xffffffff829fcc95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002cc98dd0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=239999 pid=14796 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a726538,0xffffffff83a76958 process=0xffff80002f09c918 user=0xffff80002cc94000, vmspace=0xfffff2804cc978b8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14796 359477 91386 0 2 0 syz-executor *14796 239999 91386 0 7 0x4000000 syz-executor 91293 392938 28134 0 2 0 syz-executor 91293 432443 28134 0 2 0x4000000 syz-executor 70258 149033 29007 0 2 0 syz-executor 70258 429469 29007 0 3 0x4000080 ttyin syz-executor 70258 286894 29007 0 2 0x4000000 syz-executor 70122 293023 43573 0 2 0 syz-executor 70122 273143 43573 0 3 0x4000080 fsleep syz-executor 1554 227204 93846 0 2 0 syz-executor 1554 87910 93846 0 3 0x4000080 fsleep syz-executor 36787 176556 32850 0 2 0 syz-executor 36787 298 32850 0 3 0x4000080 fsleep syz-executor 70831 491363 1 0 3 0x80 nanoslp init 91386 284111 28128 0 3 0x82 nanoslp syz-executor 51938 189981 0 0 3 0x14200 acct acct 32850 335255 28128 0 3 0x82 nanoslp syz-executor 93846 439535 28128 0 3 0x82 nanoslp syz-executor 43573 307256 28128 0 3 0x82 nanoslp syz-executor 19272 257774 28128 0 2 0x2 syz-executor 86368 362877 28128 0 2 0x2 syz-executor 28134 456164 28128 0 3 0x82 nanoslp syz-executor 29007 224551 28128 0 3 0x82 nanoslp syz-executor 28128 111538 1 0 3 0x82 kqread syz-executor 16162 90775 0 0 3 0x14200 bored smr 27866 482433 0 0 2 0x14200 zerothread 87763 477526 0 0 3 0x14200 aiodoned aiodoned 68271 95576 0 0 3 0x14200 syncer update 57581 135088 0 0 3 0x14200 cleaner cleaner 97963 234541 0 0 3 0x14200 reaper reaper 62324 235338 0 0 3 0x14200 pgdaemon pagedaemon 12871 73368 0 0 3 0x14200 bored viomb 61871 27959 0 0 3 0x40014200 acpi0 acpi0 16308 338408 0 0 3 0x14200 bored softnet0 3181 42149 0 0 3 0x14200 bored systqmp 34194 27136 0 0 3 0x14200 bored systq 99421 129955 0 0 3 0x40014200 tmoslp softclock 83694 434386 0 0 3 0x40014200 idle0 1 378642 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 11027 12102K 12550K 166960K 12805 0 pcb 18 12K 12K 166960K 57 0 rtable 193 9K 11K 166960K 526 0 pf 32 13K 21K 166960K 186 0 ifaddr 37 6K 8K 166960K 104 0 ifgroup 47 1K 2K 166960K 160 0 sysctl 3 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 101 0 ioctlops 0 0K 4K 166960K 157 0 iov 0 0K 12K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 3 0K 8K 166960K 9 0 vnodes 1292 81K 82K 166960K 1807 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 27 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 57K 93K 166960K 704 0 sigio 0 0K 0K 166960K 10 0 proc 11 17K 91K 166960K 563 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 41 0 in_multi 73 5K 7K 166960K 148 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 408 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 113 70K 168K 166960K 7365 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 17 34K 96K 166960K 1835 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 11 0K 2K 166960K 68 0 temp 41 9111K 9127K 166960K 13116 0 kqueue 1 2K 31K 166960K 100 0 SYN cache 2 16K 16K 166960K 2 0 ddb>