panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 88720 3513 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(ffff800000a3f000,ffff800000aad000,ffff80001487ddc0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff80001487ddb0,ffff800000a3f000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8036ff0900,80206913,ffff80001487ddb0,ffff8000ffff2508) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2508,ffff80001487dec8,ffff80001487df10) at sys_ioctl+0x5b9 syscall(ffff80001487df90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,8b94e7ad010) at Xsyscall+0x128 end of kernel end trace frame: 0x8bb5a9ee220, 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(ffff800000a3f000,ffff800000aad000,ffff80001487ddc0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff80001487ddb0,ffff800000a3f000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8036ff0900,80206913,ffff80001487ddb0,ffff8000ffff2508) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2508,ffff80001487dec8,ffff80001487df10) at sys_ioctl+0x5b9 syscall(ffff80001487df90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,8b94e7ad010) at Xsyscall+0x128 end of kernel end trace frame: 0x8bb5a9ee220, count: -8 ddb> show registers rdi 0xffffffff8186dab7 db_enter+0x17 rsi 0x1d0b __ALIGN_SIZE+0xd0b rbp 0xffff80001487db50 rbx 0xffff80001487dc00 rdx 0x1d0c __ALIGN_SIZE+0xd0c rcx 0xffff800014920000 rax 0xffff800014920000 r8 0xffff80001487db10 r9 0x1 r10 0xffff800000aa2f80 r11 0x72038fa8b12babff r12 0x3000000008 r13 0xffff80001487db60 r14 0x100 r15 0x1 rip 0xffffffff8186dab8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001487db40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=88720 stat=onproc flags process=0 proc=4000000 pri=54, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffffffff825607a0 process=0xffff8000ffff70f0 user=0xffff800014879000, vmspace=0xfffffd803f013bb0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3513 362230 71803 0 2 0 syz-executor.1 * 3513 88720 71803 0 7 0x4000000 syz-executor.1 9436 339416 26770 0 2 0x2 syz-executor.0 71803 156835 26770 0 3 0x82 nanosleep syz-executor.1 1905 339870 0 0 3 0x14200 bored sosplice 26770 199506 62297 0 3 0x82 kqread syz-fuzzer 26770 422921 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 104895 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 219033 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 238205 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 158342 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 422004 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 383539 62297 0 3 0x4000082 thrsleep syz-fuzzer 26770 292901 62297 0 3 0x4000082 thrsleep syz-fuzzer 62297 511958 41734 0 3 0x10008a pause ksh 41734 208245 40986 0 3 0x92 select sshd 11889 59883 1 0 3 0x100083 ttyin getty 40986 279984 1 0 3 0x80 select sshd 65899 415775 82407 73 2 0x100010 syslogd 82407 23503 1 0 3 0x100082 netio syslogd 76013 459457 0 0 2 0x14200 zerothread 25695 178244 0 0 3 0x14200 aiodoned aiodoned 550 383776 0 0 3 0x14200 syncer update 54184 70681 0 0 3 0x14200 cleaner cleaner 7935 353189 0 0 3 0x14200 reaper reaper 72602 268561 0 0 3 0x14200 pgdaemon pagedaemon 87136 213177 0 0 3 0x14200 bored crynlk 74838 485243 0 0 3 0x14200 bored crypto 40805 244270 0 0 3 0x40014200 acpi0 acpi0 23417 375648 0 0 3 0x14200 bored softnet 29393 519868 0 0 3 0x14200 bored systqmp 89701 462194 0 0 3 0x14200 bored systq 37762 136664 0 0 3 0x40014200 bored softclock 55991 91903 0 0 3 0x40014200 idle0 38038 133303 0 0 3 0x14200 bored smr 1 430880 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 9609 6513K 7270K 78643K 16425 0 0 pcb 13 8K 9K 78643K 584 0 0 rtable 136 9K 10K 78643K 1173 0 0 ifaddr 102 20K 20K 78643K 438 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 191 0 0 iov 0 0K 24K 78643K 625 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1223 77K 77K 78643K 3675 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 37 0 0 VM map 25 6K 6K 78643K 41 0 0 sem 12 0K 0K 78643K 710 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 2495 0 0 sigio 0 0K 0K 78643K 201 0 0 proc 45 30K 63K 78643K 1314 0 0 subproc 32 2K 2K 78643K 391 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 242 0 0 in_multi 36 2K 2K 78643K 364 0 0 ether_multi 1 0K 0K 78643K 19 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 694 0 0 pfkey data 0 0K 0K 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 145 153K 163K 78643K 8468 0 0 UVM aobj 130 4K 4K 78643K 137 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 596 0 0 NDP 26 1K 1K 78643K 147 0 0 temp 255 3545K 3612K 78643K 127459 0 0 kqueue 0 0K 0K 78643K 72 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 55 0 49 1 0 1 1 0 8 0 rtpcb 80 316 0 316 12 11 1 1 0 8 1 rtentry 112 339 0 287 2 0 2 2 0 8 0 unpcb 120 8881 0 8873 6 5 1 2 0 8 0 syncache 264 27 0 27 12 12 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 79 0 79 7 7 0 1 0 8 0 tcpcb 544 902 0 898 3 2 1 2 0 8 0 ipq 40 27 0 27 10 10 0 1 0 8 0 ipqe 40 873 0 873 10 10 0 1 0 8 0 inpcb 280 2876 0 2871 16 15 1 3 0 8 0 rttmr 72 5 0 5 4 4 0 1 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 48 50 0 47 2 1 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 32 0 32 16 16 0 1 0 8 0 art_heap8 4096 8 0 3 7 2 5 6 0 8 0 art_heap4 256 1385 0 1143 33 16 17 17 0 8 1 art_table 32 1393 0 1146 5 2 3 3 0 8 0 art_node 16 337 0 292 1 0 1 1 0 8 0 sysvmsgpl 40 59 0 40 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 708 0 698 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5430 0 4043 46 0 46 46 0 8 0 ffsino 240 5430 0 4043 83 0 83 83 0 8 0 nchpl 144 9334 0 8873 60 40 20 60 0 8 0 uvmvnodes 72 7166 0 0 131 0 131 131 0 8 0 vnodes 208 7166 0 0 378 0 378 378 0 8 0 namei 1024 30998 0 30997 5 4 1 1 0 8 0 vcpupl 1984 23 0 0 3 0 3 3 0 8 0 vmpool 520 39 0 16 2 0 2 2 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 44179 0 44179 16 15 1 7 0 8 1 plimitpl 152 208 0 202 1 0 1 1 0 8 0 sigapl 432 2602 0 2591 2 0 2 2 0 8 0 futexpl 56 74419 0 74419 7 6 1 1 0 8 1 knotepl 112 892 0 873 7 6 1 3 0 8 0 kqueuepl 104 787 0 785 1 0 1 1 0 8 0 pipepl 112 2480 0 2461 11 10 1 2 0 8 0 fdescpl 424 2603 0 2591 2 0 2 2 0 8 0 filepl 120 28802 0 28717 19 16 3 6 0 8 0 lockfpl 104 980 0 980 6 5 1 1 0 8 1 lockfspl 48 283 0 283 6 5 1 1 0 8 1 sessionpl 112 38 0 30 1 0 1 1 0 8 0 pgrppl 48 271 0 263 1 0 1 1 0 8 0 ucredpl 96 2643 0 2637 1 0 1 1 0 8 0 zombiepl 144 2594 0 2594 1 0 1 1 0 8 1 processpl 864 2621 0 2594 4 0 4 4 0 8 0 procpl 632 6728 0 6692 13 9 4 5 0 8 0 sosppl 128 36 0 36 13 13 0 1 0 8 0 sockpl 384 12104 0 12091 29 27 2 6 0 8 0 mcl64k 65536 1051 0 1051 75 75 0 33 0 8 0 mcl16k 16384 22 0 22 14 14 0 1 0 8 0 mcl12k 12288 91 0 91 16 16 0 1 0 8 0 mcl9k 9216 38 0 38 16 16 0 1 0 8 0 mcl8k 8192 120 0 120 10 10 0 1 0 8 0 mcl4k 4096 318 0 318 6 6 0 1 0 8 0 mcl2k2 2112 19 0 19 14 14 0 1 0 8 0 mcl2k 2048 73208 0 73170 16 10 6 13 0 8 0 mtagpl 80 121 0 119 7 6 1 1 0 8 0 mbufpl 256 141728 0 141642 148 140 8 25 0 8 0 bufpl 256 19880 0 12332 472 0 472 472 0 8 0 anonpl 16 390160 0 374685 197 110 87 98 0 62 0 amapchunkpl 152 17823 0 17687 78 62 16 17 0 158 10 amappl16 192 18053 0 16903 215 157 58 70 0 8 0 amappl15 184 34 0 34 2 2 0 1 0 8 0 amappl14 176 227 0 221 1 0 1 1 0 8 0 amappl13 168 802 0 802 5 5 0 1 0 8 0 amappl12 160 230 0 229 2 1 1 1 0 8 0 amappl11 152 462 0 458 1 0 1 1 0 8 0 amappl10 144 71 0 68 1 0 1 1 0 8 0 amappl9 136 1001 0 997 1 0 1 1 0 8 0 amappl8 128 555 0 506 2 0 2 2 0 8 0 amappl7 120 176 0 165 1 0 1 1 0 8 0 amappl6 112 431 0 421 1 0 1 1 0 8 0 amappl5 104 530 0 523 1 0 1 1 0 8 0 amappl4 96 2921 0 2895 1 0 1 1 0 8 0 amappl3 88 320 0 309 1 0 1 1 0 8 0 amappl2 80 19537 0 19474 3 1 2 3 0 8 0 amappl1 72 62061 0 61684 27 18 9 20 0 8 0 amappl 80 7314 0 7267 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 136 0 7 3 0 3 3 0 8 0 uaddrrnd 24 2642 0 2591 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2642 0 2591 1 0 1 1 0 8 0 vmmpekpl 168 24606 0 24577 2 0 2 2 0 8 0 vmmpepl 168 341278 0 339052 444 301 143 148 0 357 38 vmsppl 272 2602 0 2591 3 2 1 2 0 8 0 pdppl 4096 5290 0 5237 11 3 8 8 0 8 1 pvpl 32 1072584 0 1054556 552 275 277 327 0 265 79 pmappl 200 2641 0 2607 2 0 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 891 0 286 19 0 19 19 0 8 0