panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *415040 64957 0 0 0x4000000 0 syz-executor.1 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(ffff800000d52000,ffff800000cddc00,ffff800015785880) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015785870,ffff800000d52000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803845bc00,80206913,ffff800015785870,ffff80001491c018) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff80001491c018,ffff800015785988,ffff8000157859d0) at sys_ioctl+0x5b9 syscall(ffff800015785a50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,127bdf3f010) at Xsyscall+0x128 end of kernel end trace frame: 0x12a2b17be50, 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(ffff800000d52000,ffff800000cddc00,ffff800015785880) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015785870,ffff800000d52000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803845bc00,80206913,ffff800015785870,ffff80001491c018) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff80001491c018,ffff800015785988,ffff8000157859d0) at sys_ioctl+0x5b9 syscall(ffff800015785a50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,127bdf3f010) at Xsyscall+0x128 end of kernel end trace frame: 0x12a2b17be50, count: -8 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x1de9 __ALIGN_SIZE+0xde9 rbp 0xffff800015785610 rbx 0xffff8000157856c0 rdx 0x1dea __ALIGN_SIZE+0xdea rcx 0xffff800015122000 rax 0xffff800015122000 r8 0xffff8000157855d0 r9 0x1 r10 0xffff800000a6f680 r11 0x1ed2c39da2de6b44 r12 0x3000000008 r13 0xffff800015785620 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015785600 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=415040 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80001491c9f8,0xffffffff8258bb98 process=0xffff8000ffff66d0 user=0xffff800015780000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 64957 240971 39057 0 2 0 syz-executor.1 *64957 415040 39057 0 7 0x4000000 syz-executor.1 39057 277023 89415 0 3 0x82 nanosleep syz-executor.1 23397 416094 89415 0 2 0x2 syz-executor.0 78516 358564 0 0 3 0x14200 acct acct 82634 130370 0 0 3 0x14200 bored sosplice 89415 284725 48213 0 3 0x82 thrsleep syz-fuzzer 89415 274364 48213 0 3 0x4000082 nanosleep syz-fuzzer 89415 412655 48213 0 3 0x4000082 thrsleep syz-fuzzer 89415 423836 48213 0 3 0x4000082 thrsleep syz-fuzzer 89415 443305 48213 0 3 0x4000082 thrsleep syz-fuzzer 89415 447106 48213 0 3 0x4000082 kqread syz-fuzzer 89415 389038 48213 0 3 0x4000082 thrsleep syz-fuzzer 89415 146152 48213 0 3 0x4000082 thrsleep syz-fuzzer 48213 197815 88098 0 3 0x10008a pause ksh 88098 377683 44549 0 3 0x92 select sshd 22527 30049 1 0 3 0x100083 ttyin getty 44549 508158 1 0 3 0x80 select sshd 91856 390565 89098 73 3 0x100090 kqread syslogd 89098 165564 1 0 3 0x100082 netio syslogd 60943 91309 0 0 2 0x14200 zerothread 3802 3557 0 0 3 0x14200 aiodoned aiodoned 25005 243198 0 0 3 0x14200 syncer update 97379 218197 0 0 3 0x14200 cleaner cleaner 73295 508942 0 0 3 0x14200 reaper reaper 6757 464159 0 0 3 0x14200 pgdaemon pagedaemon 71352 336446 0 0 3 0x14200 bored crynlk 51110 98195 0 0 3 0x14200 bored crypto 17015 160491 0 0 3 0x40014200 acpi0 acpi0 84759 327465 0 0 3 0x14200 bored softnet 9252 288159 0 0 3 0x14200 bored systqmp 99126 322495 0 0 3 0x14200 bored systq 46625 367808 0 0 3 0x40014200 bored softclock 18489 471274 0 0 3 0x40014200 idle0 84480 18082 0 0 3 0x14200 bored smr 1 151571 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 9542 7054K 8275K 78643K 14741 0 0 pcb 13 10K 12K 78643K 568 0 0 rtable 113 12K 13K 78643K 922 0 0 ifaddr 74 16K 18K 78643K 329 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 524 0 0 iov 0 0K 32K 78643K 3077 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 2911 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 40 0 0 VM map 312 78K 78K 78643K 323 0 0 sem 12 1K 1K 78643K 14 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 2164 0 0 sigio 0 0K 0K 78643K 58 0 0 proc 44 30K 54K 78643K 1023 0 0 subproc 32 2K 2K 78643K 221 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 216 0 0 in_multi 28 1K 2K 78643K 268 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 0 0K 0K 78643K 9 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 90 397K 397K 78643K 90 0 0 exec 0 0K 1K 78643K 607 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 497 2509K 2509K 78643K 7204 0 0 UVM aobj 130 4K 4K 78643K 132 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 445 0 0 NDP 16 0K 0K 78643K 108 0 0 temp 166 3543K 4182K 78643K 77179 0 0 kqueue 0 0K 0K 78643K 15 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 42 0 37 1 0 1 1 0 8 0 rtpcb 80 268 0 268 3 2 1 1 0 8 1 rtentry 112 257 0 215 2 0 2 2 0 8 0 unpcb 120 1146 0 1138 1 0 1 1 0 8 0 syncache 264 16 0 16 6 6 0 1 0 8 0 tcpqe 32 111 0 111 2 2 0 1 0 8 0 tcpcb 544 1119 0 1115 14 13 1 12 0 8 0 ipq 40 16 0 16 3 2 1 1 0 8 1 ipqe 40 288 0 288 3 2 1 1 0 8 1 inpcb 280 2965 0 2960 17 15 2 9 0 8 1 rttmr 72 4 0 3 3 2 1 1 0 8 0 nd6 48 35 0 33 1 0 1 1 0 8 0 pkpcb 40 15 0 15 5 5 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 26 0 26 9 9 0 1 0 8 0 art_heap8 4096 8 0 4 4 0 4 4 0 8 0 art_heap4 256 1097 0 875 22 7 15 17 0 8 0 art_table 32 1105 0 879 3 0 3 3 0 8 0 art_node 16 256 0 217 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 24 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5212 0 3804 46 0 46 46 0 8 0 ffsino 240 5212 0 3804 84 0 84 84 0 8 0 nchpl 144 8912 0 8451 60 40 20 60 0 8 0 uvmvnodes 72 6194 0 0 113 0 113 113 0 8 0 vnodes 208 6194 0 0 326 0 326 326 0 8 0 namei 1024 31528 0 31528 1 0 1 1 0 8 1 vcpupl 1984 310 0 0 39 0 39 39 0 8 0 vmpool 520 321 0 11 21 0 21 21 0 8 0 scsiplug 64 5 0 5 2 2 0 1 0 8 0 scxspl 192 33956 0 33956 22 21 1 7 0 8 1 plimitpl 152 176 0 170 1 0 1 1 0 8 0 sigapl 432 2301 0 2290 2 0 2 2 0 8 0 futexpl 56 68602 0 68602 1 0 1 1 0 8 1 knotepl 112 445 0 426 2 1 1 2 0 8 0 kqueuepl 104 786 0 784 4 3 1 4 0 8 0 pipepl 112 1560 0 1541 4 3 1 2 0 8 0 fdescpl 424 2302 0 2290 2 0 2 2 0 8 0 filepl 120 22056 0 21970 13 9 4 10 0 8 1 lockfpl 104 2212 0 2212 1 0 1 1 0 8 1 lockfspl 48 872 0 872 1 0 1 1 0 8 1 sessionpl 112 28 0 20 1 0 1 1 0 8 0 pgrppl 48 54 0 46 1 0 1 1 0 8 0 ucredpl 96 2493 0 2487 1 0 1 1 0 8 0 zombiepl 144 2290 0 2290 1 0 1 1 0 8 1 processpl 864 2318 0 2290 4 0 4 4 0 8 0 procpl 632 4901 0 4865 5 1 4 5 0 8 0 sosppl 128 44 0 44 10 9 1 1 0 8 1 sockpl 384 4487 0 4474 25 22 3 13 0 8 1 mcl64k 65536 668 0 668 63 62 1 33 0 8 1 mcl16k 16384 30 0 30 8 7 1 1 0 8 1 mcl12k 12288 84 0 84 2 1 1 1 0 8 1 mcl9k 9216 29 0 29 8 7 1 1 0 8 1 mcl8k 8192 121 0 121 3 2 1 1 0 8 1 mcl4k 4096 287 0 287 2 1 1 1 0 8 1 mcl2k2 2112 27 0 27 9 9 0 1 0 8 0 mcl2k 2048 68447 0 68406 15 9 6 13 0 8 0 mtagpl 80 93 0 85 2 1 1 1 0 8 0 mbufpl 256 125316 0 125248 97 91 6 30 0 8 0 bufpl 256 14455 0 8237 389 0 389 389 0 8 0 anonpl 16 319868 0 297814 156 61 95 106 0 62 0 amapchunkpl 152 13818 0 13577 57 47 10 31 0 158 0 amappl16 192 14601 0 13262 141 73 68 79 0 8 1 amappl15 184 685 0 685 3 3 0 1 0 8 0 amappl14 176 421 0 412 1 0 1 1 0 8 0 amappl13 168 180 0 180 2 2 0 1 0 8 0 amappl12 160 678 0 677 4 3 1 1 0 8 0 amappl11 152 182 0 178 1 0 1 1 0 8 0 amappl10 144 401 0 394 1 0 1 1 0 8 0 amappl9 136 699 0 696 1 0 1 1 0 8 0 amappl8 128 320 0 275 2 0 2 2 0 8 0 amappl7 120 455 0 448 1 0 1 1 0 8 0 amappl6 112 154 0 143 1 0 1 1 0 8 0 amappl5 104 962 0 953 1 0 1 1 0 8 0 amappl4 96 2242 0 2211 1 0 1 1 0 8 0 amappl3 88 1982 0 1966 1 0 1 1 0 8 0 amappl2 80 17531 0 17466 3 1 2 3 0 8 0 amappl1 72 51063 0 50677 27 18 9 20 0 8 0 amappl 80 5505 0 5310 6 1 5 5 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 131 0 2 3 0 3 3 0 8 0 uaddrrnd 24 2623 0 2290 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2623 0 2290 3 0 3 3 0 8 0 vmmpekpl 168 15672 0 15617 3 0 3 3 0 8 0 vmmpepl 168 291990 0 289093 248 83 165 172 0 357 34 vmsppl 272 2301 0 2290 2 1 1 2 0 8 0 pdppl 4096 5252 0 4912 43 0 43 43 0 8 0 pvpl 32 826701 0 803876 368 93 275 332 0 265 83 pmappl 200 2622 0 2301 17 0 17 17 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 752 0 195 18 0 18 18 0 8 0