login: panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 235103 58062 0 0 0 0 syz-executor.1 *503559 58062 0 0 0x4000000 1K 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(ffff800000a98000,ffff800000a93400,ffff800023b94ec0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023b94eb0,ffff800000a98000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d5480,80206913,ffff800023b94eb0,ffff800020a5fb30) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020a5fb30,ffff800023b94fc8,ffff800023b95010) at sys_ioctl+0x5b9 syscall(ffff800023b95090) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b95090) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,41ab14bc010) at Xsyscall+0x128 end of kernel end trace frame: 0x41d60515d10, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic ifa_update_broadaddr does not support dynamic length ddb{1}> 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(ffff800000a98000,ffff800000a93400,ffff800023b94ec0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023b94eb0,ffff800000a98000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d5480,80206913,ffff800023b94eb0,ffff800020a5fb30) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020a5fb30,ffff800023b94fc8,ffff800023b95010) at sys_ioctl+0x5b9 syscall(ffff800023b95090) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b95090) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,41ab14bc010) at Xsyscall+0x128 end of kernel end trace frame: 0x41d60515d10, count: -8 ddb{1}> show registers rdi 0xffffffff82125777 db_enter+0x17 rsi 0x1cb9 __ALIGN_SIZE+0xcb9 rbp 0xffff800023b94c50 rbx 0xffff800023b94d00 rdx 0x1cba __ALIGN_SIZE+0xcba rcx 0xffff800022d90000 rax 0xffff800022d90000 r8 0xffffffff8165462f kprintf+0x16f r9 0x1 r10 0x25 r11 0xe1dcd1425a91c9cc r12 0x3000000008 r13 0xffff800023b94c60 r14 0x100 r15 0x1 rip 0xffffffff82125778 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023b94c40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=503559 stat=onproc flags process=0 proc=4000000 pri=71, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff800020a5e008,0xffffffff8267a4c0 process=0xffff800020adc700 user=0xffff800023b90000, vmspace=0xfffffd807f00b5c0 estcpu=21, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58062 235103 94785 0 7 0 syz-executor.1 *58062 503559 94785 0 7 0x4000000 syz-executor.1 76243 439715 0 0 3 0x14200 bored sosplice 94785 418173 16538 0 3 0x82 nanosleep syz-executor.1 68319 169254 16538 0 3 0x2 biowait syz-executor.0 16538 473999 55671 0 3 0x82 thrsleep syz-fuzzer 16538 93013 55671 0 3 0x4000082 nanosleep syz-fuzzer 16538 497862 55671 0 3 0x4000082 thrsleep syz-fuzzer 16538 473228 55671 0 3 0x4000082 thrsleep syz-fuzzer 16538 206462 55671 0 3 0x4000082 thrsleep syz-fuzzer 16538 208881 55671 0 3 0x4000082 kqread syz-fuzzer 16538 143664 55671 0 3 0x4000082 thrsleep syz-fuzzer 16538 27311 55671 0 3 0x4000082 thrsleep syz-fuzzer 16538 431135 55671 0 3 0x4000082 nanosleep syz-fuzzer 16538 16314 55671 0 3 0x4000082 thrsleep syz-fuzzer 55671 84681 12981 0 3 0x10008a pause ksh 12981 257856 97083 0 3 0x92 select sshd 17250 169271 1 0 3 0x100083 ttyin getty 97083 170497 1 0 3 0x80 select sshd 45058 399365 19304 74 3 0x100092 bpf pflogd 19304 253069 1 0 3 0x80 netio pflogd 99019 516639 89571 73 3 0x100090 kqread syslogd 89571 229826 1 0 3 0x100082 netio syslogd 93655 26092 1 77 3 0x100090 poll dhclient 67655 30794 1 0 3 0x80 poll dhclient 52296 165543 0 0 3 0x14200 pgzero zerothread 99673 462478 0 0 3 0x14200 aiodoned aiodoned 90294 516007 0 0 3 0x14200 syncer update 95026 491570 0 0 3 0x14200 cleaner cleaner 48718 328928 0 0 3 0x14200 reaper reaper 2678 169269 0 0 3 0x14200 pgdaemon pagedaemon 7819 200420 0 0 3 0x14200 bored crynlk 68001 328043 0 0 3 0x14200 bored crypto 85256 50201 0 0 3 0x40014200 acpi0 acpi0 41603 225836 0 0 3 0x40014200 idle1 21767 393224 0 0 3 0x14200 bored softnet 55001 213565 0 0 3 0x14200 bored systqmp 547 99758 0 0 3 0x14200 bored systq 97323 469592 0 0 3 0x40014200 bored softclock 29724 109586 0 0 3 0x40014200 idle0 44311 112658 0 0 3 0x14200 bored smr 1 326484 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 58062 (syz-executor.1) thread 0xffff800020a5fb30 (503559) exclusive rwlock netlock r = 0 (0xffffffff8248f918) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl+0x142 #2 ifioctl+0xb64 sys/net/if.c:2202 #3 sys_ioctl+0x5b9 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82638a30) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 Process 68319 (syz-executor.0) thread 0xffff800020abe290 (169254) exclusive rrwlock inode r = 0 (0xfffffd807a0aed60) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80691aa4d8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:574 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:2968 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9473 6391K 6649K 78643K 10597 0 0 pcb 13 8K 8K 78643K 40 0 0 rtable 105 3K 3K 78643K 205 0 0 ifaddr 42 10K 10K 78643K 43 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 iov 0 0K 12K 78643K 6 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1216 76K 76K 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 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 6 0K 0K 78643K 6 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 55 0 0 proc 60 63K 95K 78643K 441 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 4 0 0 in_multi 33 2K 2K 78643K 36 0 0 ether_multi 1 0K 0K 78643K 2 0 0 mrt 0 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 30 132K 132K 78643K 30 0 0 exec 0 0K 1K 78643K 209 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 103 21K 22K 78643K 1080 0 0 UVM aobj 2 2K 2K 78643K 2 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 8 0 0 NDP 7 0K 0K 78643K 11 0 0 temp 110 3552K 3616K 78643K 3541 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> 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 plcache 128 20 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 59 0 49 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 35 0 35 1 0 1 1 0 8 1 tcpcb 544 17 0 12 1 0 1 1 0 8 0 inpcb 280 87 0 79 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 135 0 135 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 15 0 0 1 0 1 1 0 8 0 pfstkey 112 15 0 0 1 0 1 1 0 8 0 pfstate 328 15 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 12 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1460 0 56 46 0 46 46 0 8 0 ffsino 272 1460 0 56 95 0 95 95 0 8 0 nchpl 144 1745 0 131 61 0 61 61 0 8 1 uvmvnodes 72 1516 0 0 28 0 28 28 0 8 0 vnodes 208 1516 0 0 80 0 80 80 0 8 0 namei 1024 4452 0 4451 1 0 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4816 0 4815 2 1 1 2 0 8 0 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 253 0 238 3 0 3 3 0 8 1 futexpl 56 620 0 620 1 0 1 1 0 8 1 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 104 8 0 6 1 0 1 1 0 8 0 pipepl 112 156 0 137 1 0 1 1 0 8 0 fdescpl 488 254 0 238 3 0 3 3 0 8 0 filepl 152 1361 0 1260 5 0 5 5 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 6 0 5 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 53 0 44 1 0 1 1 0 8 0 zombiepl 144 238 0 238 1 0 1 1 0 8 1 processpl 896 270 0 238 4 0 4 4 0 8 0 procpl 632 331 0 289 5 0 5 5 0 8 1 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 384 168 0 148 4 0 4 4 0 8 2 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 1 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 166 0 0 20 0 20 20 0 8 0 mtagpl 80 2 0 0 1 0 1 1 0 8 0 mbufpl 256 226 0 0 14 0 14 14 0 8 0 bufpl 256 6352 0 1309 316 0 316 316 0 8 0 anonpl 16 42203 0 23821 77 1 76 76 0 124 1 amapchunkpl 152 1156 0 1001 8 0 8 8 0 158 1 amappl16 192 1224 0 217 52 0 52 52 0 8 1 amappl14 176 47 0 43 1 0 1 1 0 8 0 amappl13 168 13 0 11 1 0 1 1 0 8 0 amappl12 160 17 0 11 1 0 1 1 0 8 0 amappl11 152 55 0 40 1 0 1 1 0 8 0 amappl10 144 23 0 18 1 0 1 1 0 8 0 amappl9 136 601 0 598 1 0 1 1 0 8 0 amappl8 128 163 0 138 1 0 1 1 0 8 0 amappl7 120 45 0 41 1 0 1 1 0 8 0 amappl6 112 59 0 49 1 0 1 1 0 8 0 amappl5 104 131 0 117 1 0 1 1 0 8 0 amappl4 96 514 0 482 1 0 1 1 0 8 0 amappl3 88 109 0 103 1 0 1 1 0 8 0 amappl2 80 1130 0 1057 3 0 3 3 0 8 1 amappl1 72 15452 0 15012 25 9 16 20 0 8 6 amappl 80 577 0 531 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 254 0 238 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 254 0 238 1 0 1 1 0 8 0 vmmpekpl 168 6086 0 6055 2 0 2 2 0 8 0 vmmpepl 168 38716 0 36565 141 4 137 137 0 357 43 vmsppl 368 253 0 238 2 0 2 2 0 8 0 pdppl 4096 515 0 476 6 0 6 6 0 8 0 pvpl 32 139575 0 118041 182 0 182 182 0 265 7 pmappl 232 253 0 238 2 0 2 2 0 8 1 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 480 0 3 14 0 14 14 0 8 0