panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *451292 82245 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(ffff800000ac0000,ffff800000ad2000,ffff800018b50410) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800018b50400,ffff800000ac0000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8039297a80,80206913,ffff800018b50400,ffff8000ffff2ee8) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2ee8,ffff800018b50518,ffff800018b50560) at sys_ioctl+0x5b9 syscall(ffff800018b505e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,9d7d254a010) at Xsyscall+0x128 end of kernel end trace frame: 0x9d9dc7343f0, 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(ffff800000ac0000,ffff800000ad2000,ffff800018b50410) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800018b50400,ffff800000ac0000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8039297a80,80206913,ffff800018b50400,ffff8000ffff2ee8) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff2ee8,ffff800018b50518,ffff800018b50560) at sys_ioctl+0x5b9 syscall(ffff800018b505e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,9d7d254a010) at Xsyscall+0x128 end of kernel end trace frame: 0x9d9dc7343f0, count: -8 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x1e11 __ALIGN_SIZE+0xe11 rbp 0xffff800018b501a0 rbx 0xffff800018b50250 rdx 0x1e12 __ALIGN_SIZE+0xe12 rcx 0xffff80001490b000 rax 0xffff80001490b000 r8 0xffff800018b50160 r9 0x1 r10 0xffff800000b2a9c0 r11 0x94feedb7310da19c r12 0x3000000008 r13 0xffff800018b501b0 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800018b50190 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=451292 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3b40,0xffffffff8258bb98 process=0xffff8000ffff70f0 user=0xffff800018b4b000, vmspace=0xfffffd803f011990 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82245 14037 38765 0 2 0 syz-executor.1 *82245 451292 38765 0 7 0x4000000 syz-executor.1 38765 495225 60764 0 3 0x82 nanosleep syz-executor.1 4551 481908 60764 0 3 0x82 piperd syz-executor.0 37635 511028 0 0 3 0x14200 bored sosplice 62538 55724 0 0 3 0x14200 acct acct 60764 127347 9836 0 3 0x82 thrsleep syz-fuzzer 60764 409427 9836 0 3 0x4000082 thrsleep syz-fuzzer 60764 166851 9836 0 3 0x4000082 thrsleep syz-fuzzer 60764 25207 9836 0 3 0x4000082 thrsleep syz-fuzzer 60764 218315 9836 0 3 0x4000082 thrsleep syz-fuzzer 60764 205715 9836 0 3 0x4000082 kqread syz-fuzzer 60764 221065 9836 0 3 0x4000082 thrsleep syz-fuzzer 60764 178460 9836 0 3 0x4000082 thrsleep syz-fuzzer 9836 503432 10535 0 3 0x10008a pause ksh 10535 357401 36131 0 3 0x92 select sshd 46727 260745 1 0 3 0x100083 ttyopn getty 36131 143135 1 0 3 0x80 select sshd 37535 202159 64148 73 3 0x100090 kqread syslogd 64148 185549 1 0 3 0x100082 netio syslogd 90982 453779 0 0 2 0x14200 zerothread 41239 292203 0 0 3 0x14200 aiodoned aiodoned 56963 350314 0 0 3 0x14200 syncer update 93494 2063 0 0 3 0x14200 cleaner cleaner 18526 324580 0 0 3 0x14200 reaper reaper 85328 159441 0 0 3 0x14200 pgdaemon pagedaemon 52495 145143 0 0 3 0x14200 bored crynlk 78245 184057 0 0 3 0x14200 bored crypto 29812 67745 0 0 3 0x40014200 acpi0 acpi0 13262 403427 0 0 3 0x14200 bored softnet 22880 376491 0 0 3 0x14200 bored systqmp 54893 214928 0 0 3 0x14200 bored systq 45367 22664 0 0 3 0x40014200 bored softclock 42978 19866 0 0 3 0x40014200 idle0 3959 41115 0 0 3 0x14200 bored smr 1 272858 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 9538 6300K 7529K 78643K 16582 0 0 pcb 13 11K 12K 78643K 811 0 0 rtable 127 5K 5K 78643K 4552 0 0 ifaddr 73 23K 26K 78643K 1508 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 579 0 0 iov 0 0K 24K 78643K 305 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1229 77K 77K 78643K 3160 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 22 0 0 VM map 6 1K 1K 78643K 8 0 0 sem 12 0K 0K 78643K 356 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 5 13K 25K 78643K 2560 0 0 sigio 0 0K 0K 78643K 44 0 0 proc 43 30K 54K 78643K 792 0 0 subproc 32 2K 2K 78643K 174 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 735 0 0 in_multi 33 2K 2K 78643K 315 0 0 ether_multi 1 0K 0K 78643K 7 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 418 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 117 55K 61K 78643K 6698 0 0 UVM aobj 130 4K 4K 78643K 141 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 346 0 0 NDP 17 0K 0K 78643K 433 0 0 temp 162 3543K 3619K 78643K 85439 0 0 kqueue 0 0K 0K 78643K 24 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 46 0 41 1 0 1 1 0 8 0 rtpcb 80 138 0 138 3 2 1 1 0 8 1 rtentry 112 912 0 862 2 0 2 2 0 8 0 unpcb 120 952 0 944 1 0 1 1 0 8 0 syncache 264 11 0 11 4 4 0 1 0 8 0 tcpqe 32 151 0 151 3 3 0 1 0 8 0 tcpcb 544 1837 0 1833 20 18 2 14 0 8 1 ipq 40 4 0 4 3 3 0 1 0 8 0 ipqe 40 138 0 138 3 3 0 1 0 8 0 inpcb 280 4652 0 4647 16 13 3 9 0 8 2 nd6 48 20 0 16 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 1 0 1 0 8 0 ppxss 1128 368 0 368 4 4 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 2454 0 2195 18 0 18 18 0 8 0 art_table 32 2456 0 2195 3 0 3 3 0 8 0 art_node 16 909 0 865 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 19 1 0 1 1 0 8 0 semapl 112 354 0 344 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5519 0 4130 46 0 46 46 0 8 0 ffsino 240 5519 0 4130 83 0 83 83 0 8 0 nchpl 144 8803 0 8338 60 40 20 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 27593 0 27593 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 520 6 0 2 2 1 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 27956 0 27956 12 11 1 7 0 8 1 plimitpl 152 148 0 142 1 0 1 1 0 8 0 sigapl 432 2706 0 2695 2 0 2 2 0 8 0 futexpl 56 54454 0 54454 1 0 1 1 0 8 1 knotepl 112 443 0 424 1 0 1 1 0 8 0 kqueuepl 104 731 0 729 4 3 1 4 0 8 0 pipepl 112 978 0 959 5 4 1 2 0 8 0 fdescpl 424 2707 0 2695 2 0 2 2 0 8 0 filepl 120 18931 0 18846 15 11 4 11 0 8 1 lockfpl 104 552 0 552 1 1 0 1 0 8 0 lockfspl 48 189 0 189 1 1 0 1 0 8 0 sessionpl 112 25 0 17 1 0 1 1 0 8 0 pgrppl 48 35 0 27 1 0 1 1 0 8 0 ucredpl 96 2467 0 2460 1 0 1 1 0 8 0 zombiepl 144 2695 0 2695 1 0 1 1 0 8 1 processpl 864 2723 0 2695 4 0 4 4 0 8 0 procpl 632 5601 0 5565 5 1 4 5 0 8 0 sosppl 128 21 0 21 3 3 0 1 0 8 0 sockpl 384 5886 0 5872 24 19 5 14 0 8 2 mcl64k 65536 342 0 342 33 32 1 29 0 8 1 mcl16k 16384 19 0 19 5 5 0 1 0 8 0 mcl12k 12288 36 0 36 6 5 1 1 0 8 1 mcl9k 9216 16 0 16 8 7 1 1 0 8 1 mcl8k 8192 71 0 71 2 1 1 1 0 8 1 mcl4k 4096 201 0 201 2 1 1 1 0 8 1 mcl2k2 2112 10 0 10 5 5 0 1 0 8 0 mcl2k 2048 72824 0 72773 26 19 7 14 0 8 0 mtagpl 80 110 0 101 3 2 1 2 0 8 0 mbufpl 256 147277 0 147171 45 33 12 25 0 8 0 bufpl 256 12436 0 7385 316 0 316 316 0 8 0 anonpl 16 245378 0 231054 130 37 93 93 0 62 15 amapchunkpl 152 12169 0 12042 46 37 9 31 0 158 3 amappl16 192 13998 0 12945 104 42 62 66 0 8 8 amappl14 176 798 0 789 1 0 1 1 0 8 0 amappl13 168 649 0 649 4 3 1 1 0 8 1 amappl12 160 333 0 331 1 0 1 1 0 8 0 amappl11 152 202 0 198 1 0 1 1 0 8 0 amappl10 144 7 0 6 1 0 1 1 0 8 0 amappl9 136 480 0 477 1 0 1 1 0 8 0 amappl8 128 264 0 222 2 0 2 2 0 8 0 amappl7 120 70 0 63 1 0 1 1 0 8 0 amappl6 112 209 0 194 1 0 1 1 0 8 0 amappl5 104 939 0 932 1 0 1 1 0 8 0 amappl4 96 3018 0 2996 1 0 1 1 0 8 0 amappl3 88 481 0 474 1 0 1 1 0 8 0 amappl2 80 20638 0 20580 3 1 2 3 0 8 0 amappl1 72 55342 0 54966 25 15 10 20 0 8 0 amappl 80 5952 0 5911 3 1 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 140 0 11 3 0 3 3 0 8 0 uaddrrnd 24 2713 0 2695 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2713 0 2695 1 0 1 1 0 8 0 vmmpekpl 168 18110 0 18083 2 0 2 2 0 8 0 vmmpepl 168 319514 0 317479 211 79 132 135 0 357 33 vmsppl 272 2706 0 2695 2 1 1 2 0 8 0 pdppl 4096 5432 0 5398 7 2 5 6 0 8 0 pvpl 32 706186 0 688848 273 58 215 218 0 265 34 pmappl 200 2712 0 2697 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 567 0 114 14 0 14 14 0 8 0