panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *284193 20661 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(ffff800000a76000,ffff8000006a0200,ffff800014920bf0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014920be0,ffff800000a76000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8036ffc780,80206913,ffff800014920be0,ffff8000ffff33d8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff33d8,ffff800014920cf8,ffff800014920d40) at sys_ioctl+0x5b9 syscall(ffff800014920dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,f63a555d010) at Xsyscall+0x128 end of kernel end trace frame: 0xf65c0f76ef0, 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(ffff800000a76000,ffff8000006a0200,ffff800014920bf0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014920be0,ffff800000a76000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8036ffc780,80206913,ffff800014920be0,ffff8000ffff33d8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff33d8,ffff800014920cf8,ffff800014920d40) at sys_ioctl+0x5b9 syscall(ffff800014920dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,f63a555d010) at Xsyscall+0x128 end of kernel end trace frame: 0xf65c0f76ef0, count: -8 ddb> show registers rdi 0xffffffff81f649d7 db_enter+0x17 rsi 0x1d69 __ALIGN_SIZE+0xd69 rbp 0xffff800014920980 rbx 0xffff800014920a30 rdx 0x1d6a __ALIGN_SIZE+0xd6a rcx 0xffff800014929000 rax 0xffff800014929000 r8 0xffff800014920940 r9 0x1 r10 0xffff800000a65400 r11 0x62243bd682d26288 r12 0x3000000008 r13 0xffff800014920990 r14 0x100 r15 0x1 rip 0xffffffff81f649d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014920970 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=284193 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffffffff82592f90 process=0xffff8000ffff7450 user=0xffff80001491b000, vmspace=0xfffffd803f013880 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 20661 333962 774 0 2 0 syz-executor.0 *20661 284193 774 0 7 0x4000000 syz-executor.0 83759 205493 0 0 3 0x14200 bored sosplice 37523 488833 2156 0 2 0x2 syz-executor.1 774 232769 2156 0 3 0x82 nanosleep syz-executor.0 2156 75125 37524 0 3 0x82 thrsleep syz-fuzzer 2156 291045 37524 0 3 0x4000082 nanosleep syz-fuzzer 2156 403676 37524 0 3 0x4000082 thrsleep syz-fuzzer 2156 487736 37524 0 3 0x4000082 thrsleep syz-fuzzer 2156 353243 37524 0 3 0x4000082 thrsleep syz-fuzzer 2156 256026 37524 0 3 0x4000082 thrsleep syz-fuzzer 2156 397781 37524 0 3 0x4000082 thrsleep syz-fuzzer 2156 349912 37524 0 3 0x4000082 kqread syz-fuzzer 37524 148232 45978 0 3 0x10008a pause ksh 45978 265365 98101 0 3 0x92 select sshd 53406 14516 1 0 3 0x100083 ttyin getty 98101 180286 1 0 3 0x80 select sshd 13136 473463 82206 73 3 0x100090 kqread syslogd 82206 193129 1 0 3 0x100082 netio syslogd 50716 135580 1 77 3 0x100090 poll dhclient 95232 463711 1 0 3 0x80 poll dhclient 9985 387970 0 0 2 0x14200 zerothread 34290 116389 0 0 3 0x14200 aiodoned aiodoned 91248 63593 0 0 3 0x14200 syncer update 70990 355651 0 0 3 0x14200 cleaner cleaner 27995 109653 0 0 3 0x14200 reaper reaper 46695 203272 0 0 3 0x14200 pgdaemon pagedaemon 17580 315493 0 0 3 0x14200 bored crynlk 48326 238029 0 0 3 0x14200 bored crypto 80705 395881 0 0 3 0x40014200 acpi0 acpi0 61925 346644 0 0 3 0x14200 bored softnet 9065 42221 0 0 3 0x14200 bored systqmp 7988 55770 0 0 3 0x14200 bored systq 55288 456214 0 0 3 0x40014200 bored softclock 83589 520694 0 0 3 0x40014200 idle0 3092 312272 0 0 3 0x14200 bored smr 1 364955 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 9475 6325K 7495K 78643K 11402 0 0 pcb 13 8K 8K 78643K 47 0 0 rtable 111 4K 4K 78643K 285 0 0 ifaddr 49 12K 12K 78643K 77 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 21 0 0 iov 0 0K 16K 78643K 143 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1226 77K 77K 78643K 1477 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 5 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 52 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 203 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 48 38K 63K 78643K 380 0 0 subproc 32 2K 2K 78643K 34 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 5 0 0 in_multi 33 2K 2K 78643K 36 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 36 159K 159K 78643K 36 0 0 exec 0 0K 1K 78643K 183 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 110 22K 26K 78643K 1363 0 0 UVM aobj 30 2K 2K 78643K 34 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 16 0 0 NDP 9 0K 0K 78643K 20 0 0 temp 150 3543K 3607K 78643K 9639 0 0 kqueue 0 0K 0K 78643K 1 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 37 0 35 1 0 1 1 0 8 0 rtentry 112 51 0 7 2 0 2 2 0 8 0 unpcb 120 124 0 116 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 139 0 139 1 1 0 1 0 8 0 tcpcb 544 50 0 46 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 8 0 8 1 1 0 1 0 8 0 inpcb 280 193 0 185 4 2 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 221 0 6 14 0 14 14 0 8 0 art_table 32 222 0 6 2 0 2 2 0 8 0 art_node 16 50 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 86 0 57 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 48 0 38 1 0 1 1 0 8 0 shmpl 112 32 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1782 0 385 46 0 46 46 0 8 0 ffsino 240 1782 0 385 83 0 83 83 0 8 0 nchpl 144 2341 0 1901 60 40 20 60 0 8 0 uvmvnodes 72 1996 0 0 37 0 37 37 0 8 0 vnodes 208 1996 0 0 106 0 106 106 0 8 0 namei 1024 5950 0 5950 1 0 1 1 0 8 1 scxspl 192 6318 0 6318 8 7 1 7 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 432 373 0 360 2 0 2 2 0 8 0 futexpl 56 4701 0 4701 1 0 1 1 0 8 1 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 104 49 0 47 1 0 1 1 0 8 0 pipepl 112 226 0 207 3 2 1 2 0 8 0 fdescpl 424 374 0 360 2 0 2 2 0 8 0 filepl 120 2399 0 2303 6 2 4 5 0 8 1 lockfpl 104 84 0 83 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 146 0 139 1 0 1 1 0 8 0 zombiepl 144 360 0 360 1 0 1 1 0 8 1 processpl 864 389 0 360 4 0 4 4 0 8 0 procpl 632 655 0 618 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 384 356 0 338 7 3 4 4 0 8 2 mcl64k 65536 12 0 12 2 2 0 1 0 8 0 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 10 0 10 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 2 2 0 1 0 8 0 mcl8k 8192 14 0 14 4 3 1 1 0 8 1 mcl4k 4096 24 0 24 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 67542 0 67493 17 10 7 14 0 8 0 mtagpl 80 6 0 2 2 1 1 1 0 8 0 mbufpl 256 108428 0 108327 13 4 9 10 0 8 0 bufpl 256 7322 0 2160 323 0 323 323 0 8 0 anonpl 16 57924 0 39186 97 19 78 87 0 62 2 amapchunkpl 152 1743 0 1590 10 3 7 9 0 158 0 amappl16 192 2295 0 1262 69 15 54 61 0 8 2 amappl14 176 136 0 126 1 0 1 1 0 8 0 amappl13 168 3 0 1 1 0 1 1 0 8 0 amappl12 160 11 0 11 1 1 0 1 0 8 0 amappl11 152 46 0 35 1 0 1 1 0 8 0 amappl10 144 7 0 6 1 0 1 1 0 8 0 amappl9 136 644 0 640 1 0 1 1 0 8 0 amappl8 128 246 0 216 2 0 2 2 0 8 0 amappl7 120 35 0 32 1 0 1 1 0 8 0 amappl6 112 55 0 47 1 0 1 1 0 8 0 amappl5 104 143 0 133 1 0 1 1 0 8 0 amappl4 96 514 0 482 1 0 1 1 0 8 0 amappl3 88 282 0 272 1 0 1 1 0 8 0 amappl2 80 2216 0 2149 3 1 2 3 0 8 0 amappl1 72 16070 0 15669 27 18 9 20 0 8 0 amappl 80 892 0 848 4 2 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 33 0 4 1 0 1 1 0 8 0 uaddrrnd 24 374 0 360 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 374 0 360 1 0 1 1 0 8 0 vmmpekpl 168 6889 0 6866 2 0 2 2 0 8 0 vmmpepl 168 51984 0 49891 134 36 98 127 0 357 6 vmsppl 272 373 0 360 2 1 1 2 0 8 0 pdppl 4096 754 0 720 6 1 5 6 0 8 0 pvpl 32 180755 0 158980 216 30 186 207 0 265 7 pmappl 200 373 0 360 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 478 0 27 13 0 13 13 0 8 0