panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *260723 41341 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(ffff800000adc800,ffff800000aca900,ffff800015979c00) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015979bf0,ffff800000adc800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80363e2d88,80206913,ffff800015979bf0,ffff8000ffff3160) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff3160,ffff800015979d08,ffff800015979d50) at sys_ioctl+0x5b9 syscall(ffff800015979dd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2dd72cbb010) at Xsyscall+0x128 end of kernel end trace frame: 0x2e03a4f9480, 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(ffff800000adc800,ffff800000aca900,ffff800015979c00) at ifa_update_broadaddr+0x61 sys/net/if.c:3034 in_ioctl(80206913,ffff800015979bf0,ffff800000adc800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80363e2d88,80206913,ffff800015979bf0,ffff8000ffff3160) at ifioctl+0xb3c sys/net/if.c:2266 sys_ioctl(ffff8000ffff3160,ffff800015979d08,ffff800015979d50) at sys_ioctl+0x5b9 syscall(ffff800015979dd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2dd72cbb010) at Xsyscall+0x128 end of kernel end trace frame: 0x2e03a4f9480, count: -8 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x1e53 __ALIGN_SIZE+0xe53 rbp 0xffff800015979990 rbx 0xffff800015979a40 rdx 0x1e54 __ALIGN_SIZE+0xe54 rcx 0xffff800016b3f000 rax 0xffff800016b3f000 r8 0xffff800015979950 r9 0x1 r10 0xffff800000ab2340 r11 0xa37047bb3c8cf766 r12 0x3000000008 r13 0xffff8000159799a0 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015979980 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=260723 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2ee8,0xffffffff8258bb98 process=0xffff8000ffff77b0 user=0xffff800015974000, vmspace=0xfffffd803f014110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41341 295195 65591 0 2 0 syz-executor.0 *41341 260723 65591 0 7 0x4000000 syz-executor.0 65591 386046 14520 0 3 0x82 nanosleep syz-executor.0 19248 91977 0 0 3 0x14200 acct acct 57488 304392 0 0 3 0x14200 bored sosplice 61121 166563 14520 0 2 0x2 syz-executor.1 14520 238115 62502 0 3 0x82 thrsleep syz-fuzzer 14520 94032 62502 0 3 0x4000082 thrsleep syz-fuzzer 14520 8027 62502 0 3 0x4000082 thrsleep syz-fuzzer 14520 198714 62502 0 3 0x4000082 thrsleep syz-fuzzer 14520 188043 62502 0 3 0x4000082 kqread syz-fuzzer 14520 328912 62502 0 3 0x4000082 thrsleep syz-fuzzer 14520 227418 62502 0 3 0x4000082 thrsleep syz-fuzzer 14520 99737 62502 0 3 0x4000082 thrsleep syz-fuzzer 62502 175368 4666 0 3 0x10008a pause ksh 4666 254949 35719 0 3 0x92 select sshd 20439 485706 1 0 3 0x100083 ttyin getty 35719 367011 1 0 3 0x80 select sshd 20908 394931 69595 73 3 0x100090 kqread syslogd 69595 298550 1 0 3 0x100082 netio syslogd 94741 385340 1 77 3 0x100090 poll dhclient 58718 53431 1 0 3 0x80 poll dhclient 2820 184815 0 0 2 0x14200 zerothread 14876 359987 0 0 3 0x14200 aiodoned aiodoned 33681 254848 0 0 3 0x14200 syncer update 15760 359484 0 0 3 0x14200 cleaner cleaner 26102 343928 0 0 3 0x14200 reaper reaper 34851 201955 0 0 3 0x14200 pgdaemon pagedaemon 51157 403222 0 0 3 0x14200 bored crynlk 66301 289031 0 0 3 0x14200 bored crypto 98536 267278 0 0 3 0x40014200 acpi0 acpi0 63372 110732 0 0 3 0x14200 bored softnet 261 224211 0 0 3 0x14200 bored systqmp 49129 369002 0 0 3 0x14200 bored systq 10264 437249 0 0 3 0x40014200 bored softclock 33091 247277 0 0 3 0x40014200 idle0 40712 180007 0 0 3 0x14200 bored smr 1 136377 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 9556 7052K 7614K 78643K 12831 0 0 pcb 13 8K 8K 78643K 125 0 0 rtable 102 3K 4K 78643K 356 0 0 ifaddr 54 12K 13K 78643K 96 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 44 0 0 iov 0 0K 24K 78643K 92 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1228 77K 78K 78643K 1876 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 10 0 0 VM map 7 1K 1K 78643K 10 0 0 sem 12 0K 1K 78643K 198 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 407 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 48 38K 63K 78643K 426 0 0 subproc 32 2K 2K 78643K 51 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 44 0 0 in_multi 29 1K 2K 78643K 59 0 0 ether_multi 1 0K 0K 78643K 4 0 0 mrt 0 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 231 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 115 71K 72K 78643K 1860 0 0 UVM aobj 35 3K 3K 78643K 37 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 89 0 0 NDP 11 0K 0K 78643K 27 0 0 temp 141 3542K 3610K 78643K 5030 0 0 kqueue 0 0K 0K 78643K 5 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 10 0 5 1 0 1 1 0 8 0 rtpcb 80 55 0 53 1 0 1 1 0 8 0 rtentry 112 75 0 34 2 0 2 2 0 8 0 unpcb 120 212 0 204 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 tcpqe 32 111 0 111 2 2 0 1 0 8 0 tcpcb 544 277 0 271 2 1 1 2 0 8 0 ipq 40 6 0 6 1 1 0 1 0 8 0 ipqe 40 14 0 14 1 1 0 1 0 8 0 inpcb 280 862 0 851 2 0 2 2 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 7 0 4 1 0 1 1 0 8 0 ppxss 1128 5 0 5 3 2 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 320 0 116 16 1 15 15 0 8 0 art_table 32 321 0 116 2 0 2 2 0 8 0 art_node 16 74 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 55 0 34 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 196 0 186 1 0 1 1 0 8 0 shmpl 112 35 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2011 0 613 46 0 46 46 0 8 0 ffsino 240 2011 0 613 83 0 83 83 0 8 0 nchpl 144 2795 0 1200 60 0 60 60 0 8 0 uvmvnodes 72 2608 0 0 48 0 48 48 0 8 0 vnodes 208 2608 0 0 138 0 138 138 0 8 0 namei 1024 8260 0 8259 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 520 8 0 3 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 8223 0 8223 7 6 1 6 0 8 1 plimitpl 152 39 0 32 1 0 1 1 0 8 0 sigapl 432 574 0 561 2 0 2 2 0 8 0 futexpl 56 12775 0 12775 1 0 1 1 0 8 1 knotepl 112 118 0 99 1 0 1 1 0 8 0 kqueuepl 104 134 0 132 1 0 1 1 0 8 0 pipepl 112 364 0 345 4 2 2 2 0 8 1 fdescpl 424 575 0 561 2 0 2 2 0 8 0 filepl 120 4691 0 4593 7 2 5 5 0 8 2 lockfpl 104 137 0 136 1 0 1 1 0 8 0 lockfspl 48 48 0 47 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 505 0 498 1 0 1 1 0 8 0 zombiepl 144 561 0 561 1 0 1 1 0 8 1 processpl 864 591 0 561 4 0 4 4 0 8 0 procpl 632 1110 0 1072 4 0 4 4 0 8 0 sockpl 384 1145 0 1124 6 2 4 5 0 8 1 mcl64k 65536 45 0 45 1 0 1 1 0 8 1 mcl16k 16384 8 0 8 4 3 1 1 0 8 1 mcl12k 12288 19 0 19 2 1 1 1 0 8 1 mcl9k 9216 8 0 8 2 1 1 1 0 8 1 mcl8k 8192 25 0 25 2 1 1 1 0 8 1 mcl4k 4096 46 0 46 3 2 1 1 0 8 1 mcl2k2 2112 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 68346 0 68296 17 10 7 13 0 8 0 mtagpl 80 229 0 44 5 1 4 4 0 8 0 mbufpl 256 112449 0 111975 34 1 33 33 0 8 2 bufpl 256 7202 0 2314 306 0 306 306 0 8 0 anonpl 16 81785 0 63187 99 5 94 97 0 62 9 amapchunkpl 152 2384 0 2233 9 1 8 8 0 158 1 amappl16 192 3641 0 2526 71 10 61 68 0 8 5 amappl15 184 8 0 8 1 0 1 1 0 8 1 amappl14 176 238 0 232 1 0 1 1 0 8 0 amappl12 160 39 0 35 2 1 1 1 0 8 0 amappl11 152 49 0 38 1 0 1 1 0 8 0 amappl10 144 148 0 146 1 0 1 1 0 8 0 amappl9 136 568 0 564 1 0 1 1 0 8 0 amappl8 128 163 0 134 1 0 1 1 0 8 0 amappl7 120 181 0 176 1 0 1 1 0 8 0 amappl6 112 60 0 49 1 0 1 1 0 8 0 amappl5 104 187 0 175 1 0 1 1 0 8 0 amappl4 96 582 0 555 1 0 1 1 0 8 0 amappl3 88 545 0 535 1 0 1 1 0 8 0 amappl2 80 3766 0 3697 3 1 2 3 0 8 0 amappl1 72 19875 0 19471 25 16 9 20 0 8 0 amappl 80 1353 0 1307 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 36 0 2 1 0 1 1 0 8 0 uaddrrnd 24 583 0 561 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 583 0 561 1 0 1 1 0 8 0 vmmpekpl 168 7964 0 7937 2 0 2 2 0 8 0 vmmpepl 168 77077 0 74874 166 27 139 139 0 357 40 vmsppl 272 574 0 561 2 1 1 2 0 8 0 pdppl 4096 1172 0 1133 7 1 6 6 0 8 0 pvpl 32 232570 0 211226 227 6 221 224 0 265 32 pmappl 200 582 0 564 2 0 2 2 0 8 1 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 484 0 23 14 0 14 14 0 8 0