panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 87227 91778 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(ffff800000af3800,ffff800000ad5400,ffff80001490fdd0) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff80001490fdc0,ffff800000af3800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803ea25600,80206913,ffff80001490fdc0,ffff8000ffff2c70) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2c70,ffff80001490fed8,ffff80001490ff20) at sys_ioctl+0x5b9 syscall(ffff80001490ffa0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,c47d5e1b010) at Xsyscall+0x128 end of kernel end trace frame: 0xc4a409d63d0, 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(ffff800000af3800,ffff800000ad5400,ffff80001490fdd0) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff80001490fdc0,ffff800000af3800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803ea25600,80206913,ffff80001490fdc0,ffff8000ffff2c70) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2c70,ffff80001490fed8,ffff80001490ff20) at sys_ioctl+0x5b9 syscall(ffff80001490ffa0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,c47d5e1b010) at Xsyscall+0x128 end of kernel end trace frame: 0xc4a409d63d0, count: -8 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x1e53 __ALIGN_SIZE+0xe53 rbp 0xffff80001490fb60 rbx 0xffff80001490fc10 rdx 0x1e54 __ALIGN_SIZE+0xe54 rcx 0xffff800014b1e000 rax 0xffff800014b1e000 r8 0xffff80001490fb20 r9 0x1 r10 0xffff800000a59900 r11 0x9ca7d0d49bc2f048 r12 0x3000000008 r13 0xffff80001490fb70 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001490fb50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=87227 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2ee8,0xffffffff8258bb98 process=0xffff8000ffff6370 user=0xffff80001490b000, vmspace=0xfffffd803f011110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 91778 39020 16768 0 2 0 syz-executor.0 *91778 87227 16768 0 7 0x4000000 syz-executor.0 20727 518241 73821 0 2 0 syz-executor.1 20727 523535 73821 0 2 0x4000000 syz-executor.1 16768 294934 80197 0 3 0x82 nanosleep syz-executor.0 73821 117930 80197 0 3 0x82 nanosleep syz-executor.1 34331 109059 0 0 3 0x14200 acct acct 17698 344926 1 0 3 0x100083 ttyin getty 35722 117954 0 0 3 0x14200 bored sosplice 80197 55517 43854 0 3 0x82 thrsleep syz-fuzzer 80197 488276 43854 0 3 0x4000082 nanosleep syz-fuzzer 80197 129791 43854 0 3 0x4000082 thrsleep syz-fuzzer 80197 437189 43854 0 3 0x4000082 thrsleep syz-fuzzer 80197 211947 43854 0 3 0x4000082 thrsleep syz-fuzzer 80197 495033 43854 0 3 0x4000082 kqread syz-fuzzer 80197 44295 43854 0 3 0x4000082 thrsleep syz-fuzzer 80197 243825 43854 0 3 0x4000082 thrsleep syz-fuzzer 43854 394331 36222 0 3 0x10008a pause ksh 36222 311261 58784 0 3 0x92 select sshd 58784 326673 1 0 3 0x80 select sshd 14856 308546 99588 73 3 0x100090 kqread syslogd 99588 398052 1 0 3 0x100082 netio syslogd 81281 36002 0 0 2 0x14200 zerothread 5094 495414 0 0 3 0x14200 aiodoned aiodoned 62787 6523 0 0 3 0x14200 syncer update 48817 317053 0 0 3 0x14200 cleaner cleaner 33970 286458 0 0 3 0x14200 reaper reaper 20652 311008 0 0 3 0x14200 pgdaemon pagedaemon 8838 397520 0 0 3 0x14200 bored crynlk 81753 71596 0 0 3 0x14200 bored crypto 24746 160454 0 0 3 0x40014200 acpi0 acpi0 15364 126872 0 0 3 0x14200 bored softnet 8539 158360 0 0 3 0x14200 bored systqmp 49808 432524 0 0 3 0x14200 bored systq 30359 47704 0 0 3 0x40014200 bored softclock 84115 274674 0 0 3 0x40014200 idle0 30931 146182 0 0 3 0x14200 bored smr 1 82855 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 9574 6325K 8189K 78643K 32917 0 0 pcb 13 10K 12K 78643K 895 0 0 rtable 150 6K 7K 78643K 2068 0 0 ifaddr 93 22K 23K 78643K 715 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 275 0 0 iov 0 0K 32K 78643K 997 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1227 77K 78K 78643K 8727 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 67 0 0 VM map 55 13K 13K 78643K 78 0 0 sem 12 0K 1K 78643K 2349 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 6 17K 25K 78643K 4858 0 0 sigio 0 0K 0K 78643K 74 0 0 proc 44 30K 63K 78643K 2155 0 0 subproc 32 2K 2K 78643K 650 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 386 0 0 in_multi 42 2K 3K 78643K 601 0 0 ether_multi 1 0K 0K 78643K 50 0 0 mrt 1 0K 0K 78643K 42 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 1080 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 206 414K 415K 78643K 14335 0 0 UVM aobj 130 5K 5K 78643K 165 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 966 0 0 NDP 21 0K 0K 78643K 244 0 0 temp 182 3544K 4183K 78643K 144201 0 0 kqueue 0 0K 0K 78643K 36 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 96 0 90 1 0 1 1 0 8 0 rtpcb 80 496 0 496 30 29 1 1 0 8 1 rtentry 112 579 0 517 2 0 2 2 0 8 0 unpcb 120 2138 0 2132 1 0 1 1 0 8 0 syncache 264 19 0 19 9 9 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 173 0 173 7 7 0 1 0 8 0 tcpcb 544 1750 0 1746 14 13 1 14 0 8 0 ipq 40 37 0 37 18 18 0 1 0 8 0 ipqe 40 1119 0 1119 18 18 0 1 0 8 0 inpcb 280 5012 0 5007 32 30 2 9 0 8 1 rttmr 72 17 0 17 6 5 1 1 0 8 1 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 82 0 78 2 1 1 1 0 8 0 pkpcb 40 25 0 25 10 10 0 1 0 8 0 ppxss 1128 59 0 59 29 29 0 1 0 8 0 art_heap8 4096 12 0 8 5 1 4 5 0 8 0 art_heap4 256 2444 0 2188 39 22 17 19 0 8 0 art_table 32 2456 0 2196 3 0 3 3 0 8 0 art_node 16 572 0 522 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 12 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 2341 0 2331 1 0 1 1 0 8 0 shmpl 112 163 0 35 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 8793 0 7396 46 0 46 46 0 8 0 ffsino 240 8793 0 7396 83 0 83 83 0 8 0 nchpl 144 17739 0 17267 60 40 20 60 0 8 0 uvmvnodes 72 7707 0 0 141 0 141 141 0 8 0 vnodes 208 7707 0 0 406 0 406 406 0 8 0 namei 1024 70046 0 70046 6 5 1 1 0 8 1 vcpupl 1984 53 0 0 7 0 7 7 0 8 0 vmpool 520 76 0 23 5 1 4 4 0 8 0 scsiplug 64 4 0 4 2 1 1 1 0 8 1 scxspl 192 134965 0 134965 28 25 3 6 0 8 3 plimitpl 152 372 0 366 1 0 1 1 0 8 0 sigapl 432 4924 0 4912 2 0 2 2 0 8 0 futexpl 56 171528 0 171528 6 5 1 1 0 8 1 knotepl 112 966 0 947 1 0 1 1 0 8 0 kqueuepl 104 1225 0 1223 4 3 1 4 0 8 0 pipepl 112 2568 0 2549 8 7 1 2 0 8 0 fdescpl 424 4925 0 4912 2 0 2 2 0 8 0 filepl 120 48120 0 48033 25 21 4 11 0 8 1 lockfpl 104 2896 0 2895 6 5 1 1 0 8 0 lockfspl 48 950 0 949 6 5 1 1 0 8 0 sessionpl 112 57 0 49 1 0 1 1 0 8 0 pgrppl 48 387 0 379 1 0 1 1 0 8 0 ucredpl 96 10333 0 10327 1 0 1 1 0 8 0 zombiepl 144 4913 0 4913 1 0 1 1 0 8 1 processpl 864 4942 0 4913 4 0 4 4 0 8 0 procpl 632 11752 0 11714 5 1 4 5 0 8 0 sosppl 128 72 0 72 23 22 1 1 0 8 1 sockpl 384 7711 0 7700 56 51 5 14 0 8 3 mcl64k 65536 2365 0 2365 231 230 1 64 0 8 1 mcl16k 16384 377 0 377 18 17 1 1 0 8 1 mcl12k 12288 265 0 265 31 30 1 1 0 8 1 mcl9k 9216 95 0 95 34 33 1 1 0 8 1 mcl8k 8192 1382 0 1382 6 5 1 1 0 8 1 mcl4k 4096 413 0 413 19 18 1 1 0 8 1 mcl2k2 2112 39 0 39 14 14 0 1 0 8 0 mcl2k 2048 85140 0 85101 29 23 6 16 0 8 0 mtagpl 80 189 0 185 14 13 1 1 0 8 0 mbufpl 256 200032 0 199950 319 308 11 39 0 8 4 bufpl 256 52657 0 44905 489 4 485 485 0 8 0 anonpl 16 774737 0 755949 321 229 92 121 0 62 5 amapchunkpl 152 31149 0 30993 140 126 14 35 0 158 7 amappl16 192 36450 0 35245 272 203 69 72 0 8 7 amappl15 184 634 0 633 1 0 1 1 0 8 0 amappl14 176 865 0 857 1 0 1 1 0 8 0 amappl13 168 330 0 329 2 1 1 1 0 8 0 amappl12 160 1000 0 997 2 1 1 1 0 8 0 amappl11 152 786 0 781 1 0 1 1 0 8 0 amappl10 144 588 0 586 1 0 1 1 0 8 0 amappl9 136 1270 0 1266 1 0 1 1 0 8 0 amappl8 128 860 0 793 3 0 3 3 0 8 0 amappl7 120 742 0 735 1 0 1 1 0 8 0 amappl6 112 725 0 709 1 0 1 1 0 8 0 amappl5 104 1742 0 1733 1 0 1 1 0 8 0 amappl4 96 4984 0 4956 1 0 1 1 0 8 0 amappl3 88 1456 0 1448 1 0 1 1 0 8 0 amappl2 80 38379 0 38298 3 1 2 3 0 8 0 amappl1 72 108867 0 108471 24 14 10 20 0 8 0 amappl 80 12612 0 12544 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 164 0 35 3 0 3 3 0 8 0 uaddrrnd 24 5001 0 4912 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5001 0 4912 1 0 1 1 0 8 0 vmmpekpl 168 35994 0 35959 2 0 2 2 0 8 0 vmmpepl 168 634081 0 631564 708 557 151 153 0 357 37 vmsppl 272 4924 0 4912 10 9 1 2 0 8 0 pdppl 4096 10008 0 9923 22 11 11 11 0 8 0 pvpl 32 2026730 0 2006306 781 496 285 367 0 265 93 pmappl 200 5000 0 4935 8 4 4 4 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 1295 0 668 23 2 21 21 0 8 0