panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *443283 95006 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(ffff800000a63800,ffff8000006a0700,ffff800016b4c350) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800016b4c340,ffff800000a63800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8027b20018,80206913,ffff800016b4c340,ffff8000ffff2c70) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2c70,ffff800016b4c458,ffff800016b4c4a0) at sys_ioctl+0x5b9 syscall(ffff800016b4c520) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,e06821ef010) at Xsyscall+0x128 end of kernel end trace frame: 0xe091f87f870, 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(ffff800000a63800,ffff8000006a0700,ffff800016b4c350) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800016b4c340,ffff800000a63800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8027b20018,80206913,ffff800016b4c340,ffff8000ffff2c70) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2c70,ffff800016b4c458,ffff800016b4c4a0) at sys_ioctl+0x5b9 syscall(ffff800016b4c520) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,e06821ef010) at Xsyscall+0x128 end of kernel end trace frame: 0xe091f87f870, count: -8 ddb> show registers rdi 0xffffffff8186dab7 db_enter+0x17 rsi 0x1e7e __ALIGN_SIZE+0xe7e rbp 0xffff800016b4c0e0 rbx 0xffff800016b4c190 rdx 0x1e7f __ALIGN_SIZE+0xe7f rcx 0xffff800016b55000 rax 0xffff800016b55000 r8 0xffff800016b4c0a0 r9 0x1 r10 0xffff800000a65ec0 r11 0xcf73f604f328c1cd r12 0x3000000008 r13 0xffff800016b4c0f0 r14 0x100 r15 0x1 rip 0xffffffff8186dab8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016b4c0d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=443283 stat=onproc flags process=0 proc=4000000 pri=62, usrpri=62, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2018,0xffffffff825607a0 process=0xffff8000ffff7b10 user=0xffff800016b47000, vmspace=0xfffffd803f013000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95006 242083 15784 0 2 0 syz-executor.1 *95006 443283 15784 0 7 0x4000000 syz-executor.1 15784 426416 72151 0 3 0x82 nanosleep syz-executor.1 4115 450156 72151 0 2 0x2 syz-executor.0 72151 47133 26869 0 3 0x82 thrsleep syz-fuzzer 72151 99870 26869 0 3 0x4000082 nanosleep syz-fuzzer 72151 362285 26869 0 3 0x4000082 kqread syz-fuzzer 72151 158087 26869 0 3 0x4000082 thrsleep syz-fuzzer 72151 406570 26869 0 3 0x4000082 thrsleep syz-fuzzer 72151 201180 26869 0 3 0x4000082 thrsleep syz-fuzzer 72151 374643 26869 0 3 0x4000082 thrsleep syz-fuzzer 72151 495189 26869 0 3 0x4000082 thrsleep syz-fuzzer 26869 321534 65646 0 3 0x10008a pause ksh 65646 430759 14936 0 3 0x92 select sshd 44212 345244 1 0 3 0x100083 ttyin getty 14936 41146 1 0 3 0x80 select sshd 92994 360683 32566 73 3 0x100090 kqread syslogd 32566 152345 1 0 3 0x100082 netio syslogd 55353 33823 1 77 3 0x100090 poll dhclient 19972 294074 1 0 3 0x80 poll dhclient 50711 351239 0 0 2 0x14200 zerothread 56161 181222 0 0 3 0x14200 aiodoned aiodoned 65273 201465 0 0 3 0x14200 syncer update 91617 243975 0 0 3 0x14200 cleaner cleaner 46492 421263 0 0 3 0x14200 reaper reaper 41267 470549 0 0 3 0x14200 pgdaemon pagedaemon 96782 306695 0 0 3 0x14200 bored crynlk 19696 181907 0 0 3 0x14200 bored crypto 84204 263229 0 0 3 0x40014200 acpi0 acpi0 19534 202263 0 0 3 0x14200 bored softnet 66136 44084 0 0 3 0x14200 bored systqmp 47119 89226 0 0 3 0x14200 bored systq 35282 424204 0 0 3 0x40014200 bored softclock 88110 441277 0 0 3 0x40014200 idle0 61361 313741 0 0 3 0x14200 bored smr 1 281669 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 9450 6316K 6575K 78643K 10583 0 0 pcb 13 8K 8K 78643K 23 0 0 rtable 108 3K 4K 78643K 205 0 0 ifaddr 39 10K 10K 78643K 43 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 17 0 0 iov 0 0K 16K 78643K 10 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 76K 77K 78643K 1235 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 3 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 10 0K 0K 78643K 10 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 54 0 0 proc 48 38K 63K 78643K 359 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 2 0 0 in_multi 33 2K 2K 78643K 33 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 42 185K 185K 78643K 42 0 0 exec 0 0K 1K 78643K 185 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 100 21K 23K 78643K 966 0 0 UVM aobj 10 2K 2K 78643K 10 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 4 0 0 NDP 6 0K 0K 78643K 11 0 0 temp 105 3532K 3596K 78643K 3266 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 45 0 35 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 145 0 145 1 0 1 1 0 8 1 tcpcb 544 26 0 22 2 0 2 2 0 8 1 inpcb 280 77 0 69 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1450 0 52 46 0 46 46 0 8 0 ffsino 240 1450 0 52 83 0 83 83 0 8 0 nchpl 144 1738 0 1296 60 5 55 60 0 8 35 uvmvnodes 72 1504 0 0 28 0 28 28 0 8 0 vnodes 208 1504 0 0 80 0 80 80 0 8 0 namei 1024 4202 0 4202 1 0 1 1 0 8 1 scxspl 192 4553 0 4553 3 1 2 2 0 8 2 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 224 0 211 2 0 2 2 0 8 0 futexpl 56 826 0 826 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 104 6 0 4 1 0 1 1 0 8 0 pipepl 112 146 0 127 1 0 1 1 0 8 0 fdescpl 424 225 0 211 2 0 2 2 0 8 0 filepl 120 1246 0 1150 4 0 4 4 0 8 1 lockfpl 104 25 0 24 1 0 1 1 0 8 0 lockfspl 48 9 0 8 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 88 0 81 1 0 1 1 0 8 0 zombiepl 144 211 0 211 1 0 1 1 0 8 1 processpl 864 239 0 211 4 0 4 4 0 8 0 procpl 632 272 0 236 4 0 4 4 0 8 0 sockpl 384 143 0 123 4 0 4 4 0 8 1 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 68200 0 68155 15 2 13 13 0 8 7 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 108035 0 107962 11 1 10 10 0 8 1 bufpl 256 7334 0 1341 375 0 375 375 0 8 0 anonpl 16 44474 0 26696 89 0 89 89 0 62 17 amapchunkpl 152 1423 0 1275 16 0 16 16 0 158 9 amappl16 192 1189 0 215 50 0 50 50 0 8 1 amappl14 176 66 0 59 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 0 1 1 0 8 1 amappl12 160 9 0 8 1 0 1 1 0 8 0 amappl11 152 46 0 35 1 0 1 1 0 8 0 amappl10 144 10 0 9 1 0 1 1 0 8 0 amappl9 136 553 0 549 1 0 1 1 0 8 0 amappl8 128 144 0 122 1 0 1 1 0 8 0 amappl7 120 34 0 29 1 0 1 1 0 8 0 amappl6 112 55 0 47 1 0 1 1 0 8 0 amappl5 104 150 0 139 1 0 1 1 0 8 0 amappl4 96 425 0 397 1 0 1 1 0 8 0 amappl3 88 134 0 126 1 0 1 1 0 8 0 amappl2 80 1005 0 938 3 0 3 3 0 8 1 amappl1 72 13496 0 13088 24 8 16 20 0 8 6 amappl 80 518 0 471 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 225 0 211 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 225 0 211 1 0 1 1 0 8 0 vmmpekpl 168 5832 0 5808 2 0 2 2 0 8 0 vmmpepl 168 34667 0 32646 133 4 129 129 0 357 41 vmsppl 272 224 0 211 2 0 2 2 0 8 1 pdppl 4096 456 0 422 6 0 6 6 0 8 1 pvpl 32 168863 0 148070 294 0 294 294 0 265 122 pmappl 200 224 0 211 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 520 0 6 15 0 15 15 0 8 0