panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 47898 67748 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(ffff800000b64000,ffff800000b67100,ffff800014936060) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014936050,ffff800000b64000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd802e82a1d8,80206913,ffff800014936050,ffff8000ffff2c70) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2c70,ffff800014936168,ffff8000149361b0) at sys_ioctl+0x5b9 syscall(ffff800014936230) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b99a4e95010) at Xsyscall+0x128 end of kernel end trace frame: 0xb9c9f62a8a0, 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(ffff800000b64000,ffff800000b67100,ffff800014936060) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014936050,ffff800000b64000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd802e82a1d8,80206913,ffff800014936050,ffff8000ffff2c70) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2c70,ffff800014936168,ffff8000149361b0) at sys_ioctl+0x5b9 syscall(ffff800014936230) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b99a4e95010) at Xsyscall+0x128 end of kernel end trace frame: 0xb9c9f62a8a0, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1d5a __ALIGN_SIZE+0xd5a rbp 0xffff800014935df0 rbx 0xffff800014935ea0 rdx 0x1d5b __ALIGN_SIZE+0xd5b rcx 0xffff80001597c000 rax 0xffff80001597c000 r8 0xffff800014935db0 r9 0x1 r10 0xffff800000a65e80 r11 0xb6a9dd2ef61f90b r12 0x3000000008 r13 0xffff800014935e00 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014935de0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=47898 stat=onproc flags process=0 proc=4000000 pri=83, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff29f8,0xffffffff82565848 process=0xffff8000148a2018 user=0xffff800014931000, vmspace=0xfffffd803f013770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67748 212824 43928 0 2 0 syz-executor.0 *67748 47898 43928 0 7 0x4000000 syz-executor.0 94367 223824 88304 60929 2 0x10 syz-executor.1 94367 70141 88304 60929 3 0x4000090 fsleep syz-executor.1 88304 469986 75390 0 3 0x82 nanosleep syz-executor.1 43928 238022 75390 0 3 0x82 nanosleep syz-executor.0 47458 9015 0 0 3 0x14200 acct acct 4292 385350 1 0 3 0x100083 ttyin getty 89340 327625 0 0 3 0x14200 bored sosplice 75390 129035 48493 0 3 0x82 thrsleep syz-fuzzer 75390 504528 48493 0 3 0x4000082 thrsleep syz-fuzzer 75390 301829 48493 0 3 0x4000082 thrsleep syz-fuzzer 75390 73071 48493 0 3 0x4000082 thrsleep syz-fuzzer 75390 16171 48493 0 3 0x4000082 kqread syz-fuzzer 75390 226245 48493 0 3 0x4000082 thrsleep syz-fuzzer 75390 240293 48493 0 3 0x4000082 thrsleep syz-fuzzer 75390 56679 48493 0 3 0x4000082 thrsleep syz-fuzzer 48493 185843 60236 0 3 0x10008a pause ksh 60236 220112 49355 0 3 0x92 select sshd 49355 23452 1 0 3 0x80 select sshd 35028 443629 5599 73 3 0x100090 kqread syslogd 5599 380649 1 0 3 0x100082 netio syslogd 82442 419025 0 0 2 0x14200 zerothread 96207 112922 0 0 3 0x14200 aiodoned aiodoned 77345 6001 0 0 3 0x14200 syncer update 46658 162557 0 0 3 0x14200 cleaner cleaner 40240 242031 0 0 3 0x14200 reaper reaper 42533 130600 0 0 3 0x14200 pgdaemon pagedaemon 86860 172749 0 0 3 0x14200 bored crynlk 33125 503270 0 0 3 0x14200 bored crypto 36590 498961 0 0 3 0x40014200 acpi0 acpi0 51324 386108 0 0 3 0x14200 bored softnet 92900 364611 0 0 3 0x14200 bored systqmp 26745 325085 0 0 3 0x14200 bored systq 95200 22413 0 0 3 0x40014200 bored softclock 68202 363994 0 0 3 0x40014200 idle0 9390 216572 0 0 3 0x14200 bored smr 1 487270 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 9609 6460K 7999K 78643K 43762 0 0 pcb 13 11K 12K 78643K 2131 0 0 rtable 183 17K 18K 78643K 3285 0 0 ifaddr 124 32K 33K 78643K 1554 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 698 0 0 iov 0 0K 32K 78643K 2265 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1233 77K 78K 78643K 13474 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 123 0 0 VM map 101 25K 25K 78643K 146 0 0 sem 12 0K 1K 78643K 2375 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 9351 0 0 sigio 0 0K 0K 78643K 228 0 0 proc 44 30K 63K 78643K 3702 0 0 subproc 32 2K 2K 78643K 1024 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 855 0 0 in_multi 39 2K 3K 78643K 1083 0 0 ether_multi 1 0K 0K 78643K 72 0 0 mrt 1 0K 0K 78643K 72 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 144 636K 636K 78643K 144 0 0 exec 0 0K 1K 78643K 2018 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 252 659K 661K 78643K 30542 0 0 UVM aobj 130 4K 4K 78643K 143 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 2094 0 0 NDP 23 0K 1K 78643K 504 0 0 temp 247 3545K 4187K 78643K 458654 0 0 kqueue 0 0K 0K 78643K 100 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 153 0 148 1 0 1 1 0 8 0 rtpcb 80 1098 0 1098 53 52 1 1 0 8 1 rtentry 112 1017 0 943 5 2 3 3 0 8 0 unpcb 120 5398 0 5389 3 2 1 2 0 8 0 syncache 264 60 0 60 25 25 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 256 0 256 16 16 0 1 0 8 0 tcpcb 544 12467 0 12462 101 100 1 15 0 8 0 ipq 40 110 0 110 50 50 0 1 0 8 0 ipqe 40 3640 0 3640 50 50 0 1 0 8 0 inpcb 280 19836 0 19831 106 104 2 9 0 8 1 rttmr 72 25 0 25 14 14 0 1 0 8 0 ip6q 72 6 0 6 5 5 0 1 0 8 0 ip6af 40 15 0 15 4 4 0 1 0 8 0 nd6 48 153 0 152 10 9 1 1 0 8 0 pkpcb 40 23 0 23 10 10 0 1 0 8 0 swfcl 56 9 0 0 1 0 1 1 0 8 0 ppxss 1128 194 0 194 65 64 1 1 0 8 1 art_heap8 4096 16 0 8 15 7 8 8 0 8 0 art_heap4 256 4225 0 3984 82 63 19 21 0 8 0 art_table 32 4241 0 3992 5 2 3 3 0 8 0 art_node 16 1006 0 959 1 0 1 1 0 8 0 sysvmsgpl 40 71 0 46 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 2369 0 2359 1 0 1 1 0 8 0 shmpl 112 141 0 13 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 15882 0 14466 46 0 46 46 0 8 0 ffsino 240 15882 0 14466 84 0 84 84 0 8 0 nchpl 144 30825 0 30311 60 40 20 60 0 8 0 uvmvnodes 72 9038 0 0 165 0 165 165 0 8 0 vnodes 208 9038 0 0 476 0 476 476 0 8 0 namei 1024 115716 0 115716 10 9 1 1 0 8 1 vcpupl 1984 99 0 0 13 0 13 13 0 8 0 vmpool 520 144 0 45 7 0 7 7 0 8 0 scsiplug 64 6 0 6 5 5 0 1 0 8 0 scxspl 192 120293 0 120293 77 75 2 7 0 8 2 plimitpl 152 1056 0 1050 1 0 1 1 0 8 0 sigapl 432 9348 0 9336 2 0 2 2 0 8 0 futexpl 56 328645 0 328644 11 10 1 1 0 8 0 knotepl 112 2348 0 2329 6 5 1 3 0 8 0 kqueuepl 104 3468 0 3466 10 9 1 4 0 8 0 pipepl 112 11170 0 11151 69 67 2 3 0 8 1 fdescpl 424 9349 0 9336 2 0 2 2 0 8 0 filepl 120 98827 0 98741 107 102 5 11 0 8 2 lockfpl 104 3320 0 3320 20 19 1 1 0 8 1 lockfspl 48 1091 0 1091 20 19 1 1 0 8 1 sessionpl 112 76 0 68 1 0 1 1 0 8 0 pgrppl 48 154 0 146 1 0 1 1 0 8 0 ucredpl 96 12799 0 12791 1 0 1 1 0 8 0 zombiepl 144 9339 0 9339 2 1 1 1 0 8 1 processpl 864 9368 0 9339 4 0 4 4 0 8 0 procpl 632 26553 0 26515 46 42 4 5 0 8 0 sosppl 128 5384 0 5384 9 8 1 1 0 8 1 sockpl 384 26537 0 26521 80 76 4 14 0 8 0 mcl64k 65536 5276 0 5276 442 441 1 128 0 8 1 mcl16k 16384 208 0 208 79 78 1 1 0 8 1 mcl12k 12288 286 0 286 78 77 1 1 0 8 1 mcl9k 9216 171 0 171 67 67 0 1 0 8 0 mcl8k 8192 447 0 447 55 54 1 1 0 8 1 mcl4k 4096 1128 0 1128 19 18 1 1 0 8 1 mcl2k2 2112 97 0 97 50 49 1 1 0 8 1 mcl2k 2048 97837 0 97786 63 56 7 20 0 8 0 mtagpl 80 411 0 405 18 17 1 2 0 8 0 mbufpl 256 257546 0 257448 624 615 9 72 0 8 0 bufpl 256 48681 0 39644 566 0 566 566 0 8 0 anonpl 16 1319289 0 1296486 513 411 102 111 0 62 0 amapchunkpl 152 71198 0 71041 356 342 14 31 0 158 6 amappl16 192 61983 0 60614 565 493 72 81 0 8 0 amappl15 184 1491 0 1491 10 10 0 1 0 8 0 amappl14 176 2722 0 2716 1 0 1 1 0 8 0 amappl13 168 1067 0 1066 1 0 1 1 0 8 0 amappl12 160 828 0 827 1 0 1 1 0 8 0 amappl11 152 1695 0 1688 1 0 1 1 0 8 0 amappl10 144 801 0 800 1 0 1 1 0 8 0 amappl9 136 2307 0 2302 1 0 1 1 0 8 0 amappl8 128 1844 0 1774 5 2 3 3 0 8 0 amappl7 120 1064 0 1057 1 0 1 1 0 8 0 amappl6 112 1518 0 1500 1 0 1 1 0 8 0 amappl5 104 1839 0 1832 1 0 1 1 0 8 0 amappl4 96 9730 0 9692 1 0 1 1 0 8 0 amappl3 88 3152 0 3136 1 0 1 1 0 8 0 amappl2 80 71575 0 71498 3 1 2 3 0 8 0 amappl1 72 196168 0 195772 27 18 9 20 0 8 0 amappl 80 27870 0 27785 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 142 0 13 3 0 3 3 0 8 0 uaddrrnd 24 9493 0 9336 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9493 0 9336 1 0 1 1 0 8 0 vmmpekpl 168 85013 0 84964 3 0 3 3 0 8 0 vmmpepl 168 1184042 0 1181137 1191 1020 171 184 0 357 32 vmsppl 272 9348 0 9336 2 1 1 2 0 8 0 pdppl 4096 18992 0 18861 35 18 17 17 0 8 0 pvpl 32 3579085 0 3556653 1428 1143 285 334 0 265 82 pmappl 200 9492 0 9381 8 2 6 6 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 2182 0 1462 28 5 23 23 0 8 0