panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *191293 47595 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000aae000,ffff800000b77200,ffff800015f49160) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015f49150,ffff800000aae000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8032d6fd98,80206913,ffff800015f49150,ffff8000ffff2018) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2018,ffff800015f49268,ffff800015f492b0) at sys_ioctl+0x5b9 syscall(ffff800015f49330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,aa3e22ae010) at Xsyscall+0x128 end of kernel end trace frame: 0xaa6b3ae9c10, 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 ifa_update_broadaddr does not support dynamic length ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000aae000,ffff800000b77200,ffff800015f49160) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015f49150,ffff800000aae000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8032d6fd98,80206913,ffff800015f49150,ffff8000ffff2018) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2018,ffff800015f49268,ffff800015f492b0) at sys_ioctl+0x5b9 syscall(ffff800015f49330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,aa3e22ae010) at Xsyscall+0x128 end of kernel end trace frame: 0xaa6b3ae9c10, count: -8 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x1e47 __ALIGN_SIZE+0xe47 rbp 0xffff800015f48ef0 rbx 0xffff800015f48fa0 rdx 0x1e48 __ALIGN_SIZE+0xe48 rcx 0xffff800015d3c000 rax 0xffff800015d3c000 r8 0xffff800015f48eb0 r9 0x1 r10 0xffff800000a68740 r11 0xfd27a979e85eb2fb r12 0x3000000008 r13 0xffff800015f48f00 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015f48ee0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=191293 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2780,0xffffffff8258bb98 process=0xffff8000148a2d98 user=0xffff800015f44000, vmspace=0xfffffd803f014770 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47595 429503 75261 0 2 0 syz-executor.0 *47595 191293 75261 0 7 0x4000000 syz-executor.0 12091 80378 47115 0 2 0x10 syz-executor.1 12091 68567 47115 0 3 0x4000090 piperd syz-executor.1 12091 180329 47115 0 2 0x4000010 syz-executor.1 75261 37448 80964 0 3 0x82 nanosleep syz-executor.0 67817 365816 1 0 3 0x100083 ttyin getty 47115 299377 80964 0 2 0x482 syz-executor.1 51443 428849 0 0 3 0x14200 bored sosplice 80964 100593 72951 0 3 0x82 thrsleep syz-fuzzer 80964 357956 72951 0 3 0x4000082 nanosleep syz-fuzzer 80964 184670 72951 0 3 0x4000082 thrsleep syz-fuzzer 80964 307248 72951 0 3 0x4000082 thrsleep syz-fuzzer 80964 289234 72951 0 3 0x4000082 thrsleep syz-fuzzer 80964 93953 72951 0 3 0x4000082 kqread syz-fuzzer 80964 164079 72951 0 3 0x4000082 thrsleep syz-fuzzer 80964 404747 72951 0 3 0x4000082 thrsleep syz-fuzzer 72951 313409 15674 0 3 0x10008a pause ksh 15674 410633 55283 0 3 0x92 select sshd 55283 489710 1 0 3 0x80 select sshd 87777 92711 98799 73 3 0x100090 kqread syslogd 98799 472611 1 0 3 0x100082 netio syslogd 81308 486928 1 77 3 0x100090 poll dhclient 50563 135154 1 0 3 0x80 poll dhclient 9609 237552 0 0 2 0x14200 zerothread 35221 57513 0 0 3 0x14200 aiodoned aiodoned 5072 431073 0 0 3 0x14200 syncer update 87614 6485 0 0 3 0x14200 cleaner cleaner 72113 391124 0 0 3 0x14200 reaper reaper 64124 450581 0 0 3 0x14200 pgdaemon pagedaemon 17439 487872 0 0 3 0x14200 bored crynlk 87289 395611 0 0 3 0x14200 bored crypto 53584 201102 0 0 3 0x40014200 acpi0 acpi0 90665 407783 0 0 3 0x14200 bored softnet 5474 469454 0 0 3 0x14200 bored systqmp 59250 483120 0 0 3 0x14200 bored systq 48356 38875 0 0 3 0x40014200 bored softclock 26065 353368 0 0 3 0x40014200 idle0 47202 484746 0 0 3 0x14200 bored smr 1 403571 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 Kern Lim devbuf 9577 6439K 8316K 78643K 22287 0 0 pcb 13 10K 12K 78643K 957 0 0 rtable 117 13K 13K 78643K 1400 0 0 ifaddr 84 18K 19K 78643K 411 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 175 0 0 iov 1 12K 32K 78643K 539 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1241 78K 78K 78643K 4798 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 33 0 0 VM map 31 7K 8K 78643K 36 0 0 sem 12 0K 0K 78643K 981 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 2069 0 0 sigio 0 0K 0K 78643K 38 0 0 proc 49 38K 63K 78643K 1126 0 0 subproc 32 2K 2K 78643K 272 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 219 0 0 in_multi 24 1K 2K 78643K 275 0 0 ether_multi 1 0K 0K 78643K 20 0 0 mrt 0 0K 0K 78643K 18 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 618 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 175 251K 251K 78643K 6166 0 0 UVM aobj 130 4K 4K 78643K 135 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 510 0 0 NDP 19 0K 0K 78643K 128 0 0 temp 182 3544K 4184K 78643K 56235 0 0 kqueue 0 0K 0K 78643K 30 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 32 0 27 1 0 1 1 0 8 0 rtpcb 80 237 0 235 1 0 1 1 0 8 0 rtentry 112 255 0 213 2 0 2 2 0 8 0 unpcb 120 1269 0 1260 1 0 1 1 0 8 0 syncache 264 12 0 12 4 4 0 1 0 8 0 tcpqe 32 19 0 19 3 3 0 1 0 8 0 tcpcb 544 2189 0 2184 18 16 2 12 0 8 1 ipq 40 32 0 32 8 7 1 1 0 8 1 ipqe 40 382 0 382 8 7 1 1 0 8 1 inpcb 280 4588 0 4579 15 13 2 9 0 8 1 rttmr 72 7 0 7 4 3 1 1 0 8 1 ip6q 72 5 0 5 3 3 0 1 0 8 0 ip6af 40 15 0 15 3 3 0 1 0 8 0 nd6 48 37 0 36 2 1 1 1 0 8 0 pkpcb 40 14 0 14 6 5 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 45 0 45 8 7 1 1 0 8 1 art_heap8 4096 4 0 2 4 1 3 4 0 8 1 art_heap4 256 1054 0 875 21 7 14 15 0 8 1 art_table 32 1058 0 877 2 0 2 2 0 8 0 art_node 16 254 0 218 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semapl 112 977 0 967 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4475 0 3073 46 0 46 46 0 8 0 ffsino 240 4475 0 3073 83 0 83 83 0 8 0 nchpl 144 7603 0 7152 60 38 22 60 0 8 0 uvmvnodes 72 6542 0 0 119 0 119 119 0 8 0 vnodes 208 6542 0 0 345 0 345 345 0 8 0 namei 1024 27826 0 27826 1 0 1 1 0 8 1 vcpupl 1984 30 0 1 4 0 4 4 0 8 0 vmpool 520 34 0 5 2 0 2 2 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 26606 0 26606 13 11 2 7 0 8 2 plimitpl 152 219 0 212 1 0 1 1 0 8 0 sigapl 432 2199 0 2185 2 0 2 2 0 8 0 futexpl 56 67361 0 67361 1 0 1 1 0 8 1 knotepl 112 571 0 552 1 0 1 1 0 8 0 kqueuepl 104 844 0 842 4 3 1 4 0 8 0 pipepl 112 1754 0 1733 8 6 2 2 0 8 0 fdescpl 424 2200 0 2185 2 0 2 2 0 8 0 filepl 120 21529 0 21426 23 18 5 11 0 8 1 lockfpl 104 1139 0 1137 1 0 1 1 0 8 0 lockfspl 48 278 0 276 1 0 1 1 0 8 0 sessionpl 112 33 0 23 1 0 1 1 0 8 0 pgrppl 48 51 0 41 1 0 1 1 0 8 0 ucredpl 96 2255 0 2247 1 0 1 1 0 8 0 zombiepl 144 2185 0 2185 1 0 1 1 0 8 1 processpl 864 2215 0 2185 4 0 4 4 0 8 0 procpl 632 4692 0 4652 4 0 4 4 0 8 0 sosppl 128 30 0 30 8 8 0 1 0 8 0 sockpl 384 6204 0 6183 23 18 5 14 0 8 2 mcl64k 65536 725 0 725 63 61 2 33 0 8 2 mcl16k 16384 35 0 35 12 11 1 1 0 8 1 mcl12k 12288 67 0 67 8 7 1 1 0 8 1 mcl9k 9216 31 0 31 10 9 1 1 0 8 1 mcl8k 8192 128 0 128 3 2 1 1 0 8 1 mcl4k 4096 283 0 283 2 1 1 1 0 8 1 mcl2k2 2112 25 0 25 9 8 1 1 0 8 1 mcl2k 2048 69221 0 69174 20 13 7 14 0 8 0 mtagpl 80 200 0 196 4 3 1 2 0 8 0 mbufpl 256 130839 0 130730 75 62 13 23 0 8 3 bufpl 256 14751 0 8213 410 0 410 410 0 8 0 anonpl 16 322833 0 302968 155 60 95 101 0 62 10 amapchunkpl 152 12651 0 12499 50 43 7 20 0 158 0 amappl16 192 14656 0 13476 139 74 65 71 0 8 5 amappl15 184 197 0 192 1 0 1 1 0 8 0 amappl14 176 582 0 578 1 0 1 1 0 8 0 amappl13 168 195 0 195 3 3 0 1 0 8 0 amappl12 160 69 0 68 2 1 1 1 0 8 0 amappl11 152 462 0 450 1 0 1 1 0 8 0 amappl10 144 89 0 86 1 0 1 1 0 8 0 amappl9 136 912 0 909 1 0 1 1 0 8 0 amappl8 128 500 0 451 2 0 2 2 0 8 0 amappl7 120 168 0 160 1 0 1 1 0 8 0 amappl6 112 437 0 421 1 0 1 1 0 8 0 amappl5 104 336 0 324 1 0 1 1 0 8 0 amappl4 96 2347 0 2316 1 0 1 1 0 8 0 amappl3 88 611 0 602 1 0 1 1 0 8 0 amappl2 80 16264 0 16186 3 1 2 3 0 8 0 amappl1 72 50660 0 50228 26 16 10 20 0 8 0 amappl 80 5175 0 5113 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 134 0 5 3 0 3 3 0 8 0 uaddrrnd 24 2234 0 2185 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2234 0 2185 1 0 1 1 0 8 0 vmmpekpl 168 18268 0 18238 2 0 2 2 0 8 0 vmmpepl 168 279364 0 276936 239 91 148 151 0 357 41 vmsppl 272 2199 0 2185 5 4 1 2 0 8 0 pdppl 4096 4474 0 4409 12 3 9 9 0 8 0 pvpl 32 868594 0 845428 343 118 225 315 0 265 31 pmappl 200 2233 0 2190 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 734 0 183 17 0 17 17 0 8 0