panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *299546 36810 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(ffff800000aeb000,ffff800000b3dd00,ffff8000171cdb10) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000171cdb00,ffff800000aeb000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803701da80,80206913,ffff8000171cdb00,ffff8000ffff3160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff3160,ffff8000171cdc18,ffff8000171cdc60) at sys_ioctl+0x5b9 syscall(ffff8000171cdce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,e26ee659010) at Xsyscall+0x128 end of kernel end trace frame: 0xe290ea49370, 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(ffff800000aeb000,ffff800000b3dd00,ffff8000171cdb10) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000171cdb00,ffff800000aeb000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803701da80,80206913,ffff8000171cdb00,ffff8000ffff3160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff3160,ffff8000171cdc18,ffff8000171cdc60) at sys_ioctl+0x5b9 syscall(ffff8000171cdce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,e26ee659010) at Xsyscall+0x128 end of kernel end trace frame: 0xe290ea49370, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1de5 __ALIGN_SIZE+0xde5 rbp 0xffff8000171cd8a0 rbx 0xffff8000171cd950 rdx 0x1de6 __ALIGN_SIZE+0xde6 rcx 0xffff80001597c000 rax 0xffff80001597c000 r8 0xffff8000171cd860 r9 0x1 r10 0xffff800000b7d1c0 r11 0x8a7f97d72562a612 r12 0x3000000008 r13 0xffff8000171cd8b0 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000171cd890 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=299546 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2780,0xffff8000ffff3b50 process=0xffff8000ffff6d90 user=0xffff8000171c8000, vmspace=0xfffffd803f013990 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36810 438294 25369 0 2 0 syz-executor.0 *36810 299546 25369 0 7 0x4000000 syz-executor.0 16244 75054 36053 0 2 0 syz-executor.1 16244 512028 36053 0 3 0x4000080 switchread syz-executor.1 16244 307935 36053 0 3 0x4000080 fsleep syz-executor.1 36053 470833 50050 0 3 0x82 nanosleep syz-executor.1 56345 230188 1 0 3 0x100083 ttyin getty 25369 289509 50050 0 3 0x82 nanosleep syz-executor.0 16632 53619 0 0 3 0x14200 acct acct 14282 71528 0 0 3 0x14200 bored sosplice 50050 241313 47668 0 3 0x82 thrsleep syz-fuzzer 50050 2359 47668 0 3 0x4000082 thrsleep syz-fuzzer 50050 409972 47668 0 3 0x4000082 kqread syz-fuzzer 50050 137957 47668 0 3 0x4000082 thrsleep syz-fuzzer 50050 153760 47668 0 3 0x4000082 thrsleep syz-fuzzer 50050 284147 47668 0 3 0x4000082 thrsleep syz-fuzzer 50050 9257 47668 0 3 0x4000082 thrsleep syz-fuzzer 50050 464598 47668 0 3 0x4000082 thrsleep syz-fuzzer 47668 118765 55394 0 3 0x10008a pause ksh 55394 394689 24089 0 3 0x92 select sshd 24089 35428 1 0 3 0x80 select sshd 54784 477021 55722 73 3 0x100090 kqread syslogd 55722 358185 1 0 3 0x100082 netio syslogd 34433 314845 0 0 2 0x14200 zerothread 80486 150859 0 0 3 0x14200 aiodoned aiodoned 42744 410354 0 0 3 0x14200 syncer update 4150 394711 0 0 3 0x14200 cleaner cleaner 51748 34724 0 0 3 0x14200 reaper reaper 4497 89941 0 0 3 0x14200 pgdaemon pagedaemon 83871 218707 0 0 3 0x14200 bored crynlk 76072 382903 0 0 3 0x14200 bored crypto 94760 179414 0 0 3 0x40014200 acpi0 acpi0 88971 321023 0 0 3 0x14200 bored softnet 78583 236857 0 0 3 0x14200 bored systqmp 33662 48496 0 0 3 0x14200 bored systq 47291 191790 0 0 3 0x40014200 bored softclock 12516 28783 0 0 3 0x40014200 idle0 27779 326831 0 0 3 0x14200 bored smr 1 384883 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 9597 6970K 15144K 78643K 47062 0 0 pcb 13 11K 12K 78643K 1522 0 0 rtable 154 15K 15K 78643K 2251 0 0 ifaddr 107 24K 24K 78643K 983 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 767 0 0 iov 0 0K 32K 78643K 1639 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 78K 78643K 11457 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 104 0 0 VM map 71 17K 17K 78643K 107 0 0 sem 12 0K 1K 78643K 3690 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 6402 0 0 sigio 0 0K 0K 78643K 117 0 0 proc 44 30K 62K 78643K 1943 0 0 subproc 32 2K 2K 78643K 469 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 665 0 0 in_multi 32 2K 2K 78643K 687 0 0 ether_multi 1 0K 0K 78643K 60 0 0 mrt 1 0K 0K 78643K 32 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 1242 0 0 pfkey data 0 0K 4K 78643K 2 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 213 496K 496K 78643K 16743 0 0 UVM aobj 130 4K 4K 78643K 146 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 1586 0 0 NDP 23 0K 0K 78643K 318 0 0 temp 247 3545K 4185K 78643K 250066 0 0 kqueue 0 0K 0K 78643K 193 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 93 0 88 1 0 1 1 0 8 0 rtpcb 80 1277 0 1277 5 4 1 1 0 8 1 rtentry 112 616 0 557 2 0 2 2 0 8 0 unpcb 120 7246 0 7238 1 0 1 1 0 8 0 syncache 264 53 0 53 19 18 1 1 0 8 1 tcpqe 32 112 0 112 10 10 0 1 0 8 0 tcpcb 544 3196 0 3192 24 23 1 14 0 8 0 ipq 40 91 0 91 19 19 0 1 0 8 0 ipqe 40 2364 0 2364 19 19 0 1 0 8 0 inpcb 280 8611 0 8606 35 32 3 9 0 8 2 rttmr 72 10 0 9 6 5 1 1 0 8 0 ip6q 72 3 0 3 2 2 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 91 0 89 8 7 1 1 0 8 0 pkpcb 40 32 0 32 13 13 0 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 105 0 105 24 24 0 1 0 8 0 art_heap8 4096 22 0 15 17 9 8 8 0 8 1 art_heap4 256 2721 0 2466 45 27 18 20 0 8 0 art_table 32 2743 0 2481 5 2 3 3 0 8 0 art_node 16 612 0 562 1 0 1 1 0 8 0 sysvmsgpl 40 48 0 27 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 3688 0 3678 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 11334 0 9924 46 0 46 46 0 8 0 ffsino 240 11334 0 9924 84 0 84 84 0 8 0 nchpl 144 21484 0 21001 60 40 20 60 0 8 0 uvmvnodes 72 8328 0 0 152 0 152 152 0 8 0 vnodes 208 8328 0 0 439 0 439 439 0 8 0 namei 1024 78570 0 78570 2 1 1 1 0 8 1 vcpupl 1984 70 0 1 9 0 9 9 0 8 0 vmpool 520 105 0 36 5 0 5 5 0 8 0 scsiplug 64 4 0 4 3 3 0 1 0 8 0 scxspl 192 70017 0 70017 39 38 1 7 0 8 1 plimitpl 152 516 0 510 1 0 1 1 0 8 0 sigapl 432 6501 0 6489 2 0 2 2 0 8 0 futexpl 56 224923 0 224922 2 1 1 1 0 8 0 knotepl 112 1354 0 1335 2 1 1 2 0 8 0 kqueuepl 104 2359 0 2357 4 3 1 4 0 8 0 pipepl 112 6028 0 6007 18 17 1 2 0 8 0 fdescpl 424 6502 0 6489 2 0 2 2 0 8 0 filepl 120 67329 0 67240 28 24 4 11 0 8 0 lockfpl 104 2509 0 2508 2 1 1 1 0 8 0 lockfspl 48 832 0 831 2 1 1 1 0 8 0 sessionpl 112 46 0 38 1 0 1 1 0 8 0 pgrppl 48 132 0 124 1 0 1 1 0 8 0 ucredpl 96 7174 0 7168 1 0 1 1 0 8 0 zombiepl 144 6494 0 6494 1 0 1 1 0 8 1 processpl 864 6523 0 6494 4 0 4 4 0 8 0 procpl 632 14376 0 14337 4 0 4 4 0 8 0 sosppl 128 151 0 151 22 22 0 1 0 8 0 sockpl 384 17278 0 17264 48 44 4 14 0 8 1 mcl64k 65536 2082 0 2082 182 176 6 33 0 8 6 mcl16k 16384 115 0 115 19 18 1 1 0 8 1 mcl12k 12288 176 0 176 14 13 1 1 0 8 1 mcl9k 9216 129 0 129 19 18 1 1 0 8 1 mcl8k 8192 432 0 432 5 4 1 1 0 8 1 mcl4k 4096 879 0 879 3 2 1 1 0 8 1 mcl2k2 2112 69 0 69 20 19 1 1 0 8 1 mcl2k 2048 78966 0 78916 25 18 7 13 0 8 0 mtagpl 80 4493 0 4195 39 30 9 9 0 8 0 mbufpl 256 196511 0 195831 325 265 60 65 0 8 0 bufpl 256 32484 0 24155 521 0 521 521 0 8 0 anonpl 16 874349 0 852601 269 174 95 107 0 62 1 amapchunkpl 152 36663 0 36494 142 133 9 31 0 158 0 amappl16 192 43591 0 42309 302 228 74 77 0 8 8 amappl15 184 902 0 901 8 7 1 1 0 8 0 amappl14 176 1616 0 1611 1 0 1 1 0 8 0 amappl13 168 793 0 790 1 0 1 1 0 8 0 amappl12 160 414 0 412 2 1 1 1 0 8 0 amappl11 152 515 0 511 1 0 1 1 0 8 0 amappl10 144 1500 0 1497 1 0 1 1 0 8 0 amappl9 136 1132 0 1128 1 0 1 1 0 8 0 amappl8 128 710 0 659 2 0 2 2 0 8 0 amappl7 120 1623 0 1616 1 0 1 1 0 8 0 amappl6 112 485 0 473 1 0 1 1 0 8 0 amappl5 104 788 0 779 1 0 1 1 0 8 0 amappl4 96 6706 0 6674 1 0 1 1 0 8 0 amappl3 88 2082 0 2066 1 0 1 1 0 8 0 amappl2 80 50559 0 50480 3 1 2 3 0 8 0 amappl1 72 124679 0 124280 26 17 9 20 0 8 0 amappl 80 15176 0 15102 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 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 6607 0 6489 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6607 0 6489 1 0 1 1 0 8 0 vmmpekpl 168 47858 0 47822 2 0 2 2 0 8 0 vmmpepl 168 787022 0 784385 461 313 148 155 0 357 30 vmsppl 272 6501 0 6489 3 2 1 2 0 8 0 pdppl 4096 13220 0 13119 18 5 13 13 0 8 0 pvpl 32 2219524 0 2196910 598 331 267 321 0 265 75 pmappl 200 6606 0 6525 5 0 5 5 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1278 0 552 22 0 22 22 0 8 0