panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *495953 46131 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(ffff800000a94800,ffff800000ca5200,ffff8000148fe6d0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000148fe6c0,ffff800000a94800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8037019480,80206913,ffff8000148fe6c0,ffff8000ffff29f8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff29f8,ffff8000148fe7d8,ffff8000148fe820) at sys_ioctl+0x5b9 syscall(ffff8000148fe8a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b31f20fa010) at Xsyscall+0x128 end of kernel end trace frame: 0xb3431ac9090, 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(ffff800000a94800,ffff800000ca5200,ffff8000148fe6d0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000148fe6c0,ffff800000a94800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8037019480,80206913,ffff8000148fe6c0,ffff8000ffff29f8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff29f8,ffff8000148fe7d8,ffff8000148fe820) at sys_ioctl+0x5b9 syscall(ffff8000148fe8a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b31f20fa010) at Xsyscall+0x128 end of kernel end trace frame: 0xb3431ac9090, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1e1b __ALIGN_SIZE+0xe1b rbp 0xffff8000148fe460 rbx 0xffff8000148fe510 rdx 0x1e1c __ALIGN_SIZE+0xe1c rcx 0xffff800015968000 rax 0xffff800015968000 r8 0xffff8000148fe420 r9 0x1 r10 0xffff800000b13800 r11 0x9ad7ffdd621d47df r12 0x3000000008 r13 0xffff8000148fe470 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000148fe450 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=495953 stat=onproc flags process=0 proc=4000000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffff8000ffff2ef8 process=0xffff8000ffff6010 user=0xffff8000148f9000, vmspace=0xfffffd803f013000 estcpu=6, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46131 43222 3349 0 2 0 syz-executor.1 *46131 495953 3349 0 7 0x4000000 syz-executor.1 46131 70269 3349 0 3 0x4000080 fsleep syz-executor.1 3349 437986 27446 0 3 0x82 nanosleep syz-executor.1 44508 221485 27446 0 2 0x2 syz-executor.0 90092 252630 0 0 3 0x14200 acct acct 49637 487374 1 0 3 0x100083 ttyin getty 83540 105000 0 0 3 0x14200 bored sosplice 27446 50267 23439 0 3 0x82 thrsleep syz-fuzzer 27446 455832 23439 0 3 0x4000082 thrsleep syz-fuzzer 27446 349397 23439 0 3 0x4000082 kqread syz-fuzzer 27446 70334 23439 0 3 0x4000082 thrsleep syz-fuzzer 27446 445958 23439 0 3 0x4000082 thrsleep syz-fuzzer 27446 491396 23439 0 3 0x4000082 thrsleep syz-fuzzer 27446 263368 23439 0 3 0x4000082 thrsleep syz-fuzzer 27446 183983 23439 0 3 0x4000082 thrsleep syz-fuzzer 23439 508197 45385 0 3 0x10008a pause ksh 45385 66458 15371 0 3 0x92 select sshd 15371 205173 1 0 3 0x80 select sshd 58373 312105 42083 73 3 0x100090 kqread syslogd 42083 117511 1 0 3 0x100082 netio syslogd 86539 346987 0 0 2 0x14200 zerothread 64525 249812 0 0 3 0x14200 aiodoned aiodoned 19799 421117 0 0 3 0x14200 syncer update 96699 15860 0 0 3 0x14200 cleaner cleaner 76401 365914 0 0 3 0x14200 reaper reaper 74879 327884 0 0 3 0x14200 pgdaemon pagedaemon 41434 417324 0 0 3 0x14200 bored crynlk 66495 263895 0 0 3 0x14200 bored crypto 11990 128521 0 0 3 0x40014200 acpi0 acpi0 67657 331620 0 0 3 0x14200 bored softnet 8554 428515 0 0 3 0x14200 bored systqmp 86934 1746 0 0 3 0x14200 bored systq 560 442766 0 0 3 0x40014200 bored softclock 52926 442135 0 0 3 0x40014200 idle0 59223 469063 0 0 3 0x14200 bored smr 1 115902 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 9624 6986K 15034K 78643K 105011 0 0 pcb 13 11K 12K 78643K 3962 0 0 rtable 232 20K 20K 78643K 5322 0 0 ifaddr 141 39K 45K 78643K 2745 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 1075 0 0 iov 0 0K 32K 78643K 15131 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1238 78K 79K 78643K 28752 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 291 0 0 VM map 188 47K 47K 78643K 242 0 0 sem 12 0K 0K 78643K 4171 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 16293 0 0 sigio 0 0K 0K 78643K 340 0 0 proc 45 30K 55K 78643K 5649 0 0 subproc 32 2K 2K 78643K 1643 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 1681 0 0 in_multi 58 3K 4K 78643K 2212 0 0 ether_multi 1 0K 0K 78643K 185 0 0 mrt 1 0K 0K 78643K 118 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 150 662K 662K 78643K 150 0 0 exec 0 0K 1K 78643K 3276 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 343 1213K 1213K 78643K 41960 0 0 UVM aobj 130 6K 6K 78643K 145 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 3898 0 0 NDP 25 0K 1K 78643K 905 0 0 temp 262 3545K 4188K 78643K 651693 0 0 kqueue 0 0K 0K 78643K 198 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 225 0 220 1 0 1 1 0 8 0 rtpcb 80 1945 0 1945 36 35 1 1 0 8 1 rtentry 112 1848 0 1751 3 0 3 3 0 8 0 unpcb 120 9464 0 9451 4 3 1 2 0 8 0 syncache 264 113 0 113 42 41 1 1 0 8 1 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 194 0 194 21 21 0 1 0 8 0 tcpcb 544 7070 0 7066 65 64 1 14 0 8 0 ipq 40 235 0 235 64 63 1 1 0 8 1 ipqe 40 7259 0 7259 64 63 1 1 0 8 1 inpcb 280 27906 0 27901 122 119 3 9 0 8 2 rttmr 72 38 0 37 2 1 1 1 0 8 0 ip6q 72 6 0 6 4 4 0 1 0 8 0 ip6af 40 13 0 13 3 3 0 1 0 8 0 nd6 48 300 0 298 11 10 1 1 0 8 0 pkpcb 40 41 0 41 16 16 0 1 0 8 0 swfcl 56 7 0 0 1 0 1 1 0 8 0 ppxss 1128 349 0 349 63 62 1 1 0 8 1 art_heap8 4096 19 0 11 14 6 8 9 0 8 0 art_heap4 256 8197 0 7864 66 42 24 25 0 8 2 art_table 32 8216 0 7875 5 1 4 4 0 8 0 art_node 16 1824 0 1763 1 0 1 1 0 8 0 sysvmsgpl 40 226 0 202 1 0 1 1 0 8 0 semapl 112 4169 0 4159 1 0 1 1 0 8 0 shmpl 112 143 0 15 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 26644 0 25188 48 0 48 48 0 8 0 ffsino 240 26644 0 25188 87 0 87 87 0 8 0 nchpl 144 55877 0 55424 60 40 20 60 0 8 0 uvmvnodes 72 10535 0 0 192 0 192 192 0 8 0 vnodes 208 10535 0 0 555 0 555 555 0 8 0 namei 1024 203468 0 203468 15 14 1 1 0 8 1 vcpupl 1984 189 0 3 24 0 24 24 0 8 0 vmpool 520 240 0 54 16 3 13 13 0 8 0 scsiplug 64 15 0 15 11 11 0 1 0 8 0 scxspl 192 197086 0 197086 93 92 1 7 0 8 1 plimitpl 152 1478 0 1472 1 0 1 1 0 8 0 sigapl 432 16188 0 16177 2 0 2 2 0 8 0 futexpl 56 503693 0 503692 18 17 1 1 0 8 0 knotepl 112 3971 0 3952 9 8 1 3 0 8 0 kqueuepl 104 5505 0 5503 10 9 1 4 0 8 0 pipepl 112 18530 0 18511 67 65 2 2 0 8 1 fdescpl 424 16189 0 16177 2 0 2 2 0 8 0 filepl 120 169753 0 169666 103 98 5 11 0 8 2 lockfpl 104 6307 0 6306 22 21 1 1 0 8 0 lockfspl 48 1977 0 1976 22 21 1 1 0 8 0 sessionpl 112 114 0 106 1 0 1 1 0 8 0 pgrppl 48 303 0 295 1 0 1 1 0 8 0 ucredpl 96 19997 0 19989 1 0 1 1 0 8 0 zombiepl 144 16185 0 16185 2 1 1 1 0 8 1 processpl 864 16213 0 16185 4 0 4 4 0 8 0 procpl 632 35963 0 35926 5 1 4 5 0 8 0 sosppl 128 322 0 322 67 66 1 1 0 8 1 sockpl 384 40114 0 40095 157 152 5 14 0 8 2 mcl64k 65536 5231 0 5231 398 397 1 33 0 8 1 mcl16k 16384 261 0 261 65 64 1 1 0 8 1 mcl12k 12288 525 0 525 53 52 1 1 0 8 1 mcl9k 9216 342 0 342 58 58 0 1 0 8 0 mcl8k 8192 783 0 783 39 38 1 1 0 8 1 mcl4k 4096 2066 0 2066 21 20 1 1 0 8 1 mcl2k2 2112 188 0 188 66 65 1 1 0 8 1 mcl2k 2048 102084 0 102035 24 17 7 16 0 8 0 mtagpl 80 836 0 836 6 5 1 1 0 8 1 mbufpl 256 312322 0 312236 574 557 17 42 0 8 8 bufpl 256 74943 0 64405 659 0 659 659 0 8 0 anonpl 16 2080065 0 2054619 532 411 121 127 0 62 6 amapchunkpl 152 91473 0 91310 299 291 8 31 0 158 0 amappl16 192 108044 0 106408 543 449 94 96 0 8 7 amappl15 184 3666 0 3666 17 16 1 1 0 8 1 amappl14 176 2000 0 1996 1 0 1 1 0 8 0 amappl13 168 2149 0 2149 10 10 0 1 0 8 0 amappl12 160 2479 0 2479 20 20 0 1 0 8 0 amappl11 152 2178 0 2172 1 0 1 1 0 8 0 amappl10 144 1978 0 1976 1 0 1 1 0 8 0 amappl9 136 3764 0 3759 1 0 1 1 0 8 0 amappl8 128 3334 0 3263 4 1 3 3 0 8 0 amappl7 120 2386 0 2378 1 0 1 1 0 8 0 amappl6 112 1912 0 1895 1 0 1 1 0 8 0 amappl5 104 3455 0 3447 1 0 1 1 0 8 0 amappl4 96 16389 0 16357 1 0 1 1 0 8 0 amappl3 88 2546 0 2526 1 0 1 1 0 8 0 amappl2 80 126955 0 126879 3 1 2 3 0 8 0 amappl1 72 304927 0 304540 26 16 10 20 0 8 0 amappl 80 37998 0 37882 3 0 3 3 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 144 0 15 3 0 3 3 0 8 0 uaddrrnd 24 16429 0 16177 3 1 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 16429 0 16177 3 1 2 2 0 8 0 vmmpekpl 168 111667 0 111616 3 0 3 3 0 8 0 vmmpepl 168 1992680 0 1989256 1179 982 197 200 0 357 36 vmsppl 272 16188 0 16177 2 1 1 2 0 8 0 pdppl 4096 32864 0 32648 36 8 28 28 0 8 0 pvpl 32 5702798 0 5681218 1334 1076 258 334 0 265 53 pmappl 200 16428 0 16231 14 3 11 11 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 2070 0 1230 27 2 25 25 0 8 0