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 165633 84937 0 0 0 0 syz-executor.0 *399779 84937 0 0 0x4000000 1K 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(ffff800000c88000,ffff800000baf500,ffff800023a179c0) at ifa_update_broadaddr+0x61 sys/net/if.c:2986 in_ioctl(80206913,ffff800023a179b0,ffff800000c88000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8074a11608,80206913,ffff800023a179b0,ffff800020ace298) at ifioctl+0xb64 sys/net/if.c:2218 sys_ioctl(ffff800020ace298,ffff800023a17ac8,ffff800023a17b10) at sys_ioctl+0x5b9 syscall(ffff800023a17b90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023a17b90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,11fd7a72010) at Xsyscall+0x128 end of kernel end trace frame: 0x122a3357d80, 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(ffff800000c88000,ffff800000baf500,ffff800023a179c0) at ifa_update_broadaddr+0x61 sys/net/if.c:2986 in_ioctl(80206913,ffff800023a179b0,ffff800000c88000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd8074a11608,80206913,ffff800023a179b0,ffff800020ace298) at ifioctl+0xb64 sys/net/if.c:2218 sys_ioctl(ffff800020ace298,ffff800023a17ac8,ffff800023a17b10) at sys_ioctl+0x5b9 syscall(ffff800023a17b90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023a17b90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,11fd7a72010) at Xsyscall+0x128 end of kernel end trace frame: 0x122a3357d80, count: -8 ddb{1}> show registers rdi 0xffffffff8163efc7 db_enter+0x17 rsi 0x15ec __ALIGN_SIZE+0x5ec rbp 0xffff800023a17750 rbx 0xffff800023a17800 rdx 0x15ed __ALIGN_SIZE+0x5ed rcx 0xffff800023bb8000 rax 0xffff800023bb8000 r8 0xffffffff8178440f kprintf+0x16f r9 0x1 r10 0x25 r11 0x8b8d946c0e6008a6 r12 0x3000000008 r13 0xffff800023a17760 r14 0x100 r15 0x1 rip 0xffffffff8163efc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023a17740 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=399779 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020ace510,0xffffffff82646fa0 process=0xffff800020a8aa90 user=0xffff800023a12000, vmspace=0xfffffd807f00a000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84937 165633 85523 0 7 0 syz-executor.0 *84937 399779 85523 0 7 0x4000000 syz-executor.0 85523 206435 87436 0 3 0x82 nanosleep syz-executor.0 31263 60638 1 0 3 0x100083 ttyin getty 66389 246345 87436 0 3 0x82 nanosleep syz-executor.1 43961 169361 0 0 3 0x14200 acct acct 21044 427787 0 0 3 0x14200 bored sosplice 87436 411339 95212 0 3 0x82 thrsleep syz-fuzzer 87436 124957 95212 0 3 0x4000082 nanosleep syz-fuzzer 87436 28428 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 381306 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 276414 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 355418 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 123211 95212 0 3 0x4000082 kqread syz-fuzzer 87436 286382 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 1628 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 314352 95212 0 3 0x4000082 thrsleep syz-fuzzer 87436 114745 95212 0 3 0x4000082 thrsleep syz-fuzzer 95212 487457 36812 0 3 0x10008a pause ksh 36812 487596 81107 0 3 0x92 select sshd 81107 412054 1 0 3 0x80 select sshd 24788 165053 55259 74 3 0x100092 bpf pflogd 55259 64717 1 0 3 0x80 netio pflogd 75497 432665 69496 73 3 0x100090 kqread syslogd 69496 347602 1 0 3 0x100082 netio syslogd 79648 106756 0 0 3 0x14200 pgzero zerothread 81984 396207 0 0 3 0x14200 aiodoned aiodoned 37037 46800 0 0 3 0x14200 syncer update 78741 305302 0 0 3 0x14200 cleaner cleaner 30044 218271 0 0 3 0x14200 reaper reaper 53514 312337 0 0 3 0x14200 pgdaemon pagedaemon 91627 491040 0 0 3 0x14200 bored crynlk 34537 364650 0 0 3 0x14200 bored crypto 4678 475430 0 0 3 0x40014200 acpi0 acpi0 96498 414289 0 0 3 0x40014200 idle1 58463 260849 0 0 3 0x14200 bored softnet 57365 113095 0 0 3 0x14200 bored systqmp 98246 92405 0 0 3 0x14200 bored systq 76879 469353 0 0 3 0x40014200 bored softclock 75839 402307 0 0 3 0x40014200 idle0 26772 321373 0 0 3 0x14200 bored smr 1 457304 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 84937 (syz-executor.0) thread 0xffff800020ace298 (399779) exclusive rwlock netlock r = 0 (0xffffffff824d4548) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl+0x142 #2 ifioctl+0xb64 sys/net/if.c:2218 #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 (0xffffffff82677638) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9664 6943K 15257K 78643K 109827 0 0 pcb 13 12K 14K 78643K 5148 0 0 rtable 255 22K 22K 78643K 15653 0 0 ifaddr 157 51K 56K 78643K 6900 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 2836 0 0 iov 0 0K 32K 78643K 6745 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1262 79K 80K 78643K 34257 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 310 0 0 VM map 210 105K 105K 78643K 330 0 0 sem 12 0K 1K 78643K 11198 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 23445 0 0 sigio 0 0K 0K 78643K 265 0 0 proc 57 51K 95K 78643K 8453 0 0 subproc 32 2K 2K 78643K 2342 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 1K 78643K 2239 0 0 in_multi 79 5K 5K 78643K 2728 0 0 ether_multi 1 0K 0K 78643K 225 0 0 mrt 0 0K 0K 78643K 119 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 4212 0 0 pfkey data 0 0K 4K 78643K 7 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 459 1625K 1627K 78643K 84263 0 0 UVM aobj 130 4K 4K 78643K 135 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 2K 78643K 5426 0 0 NDP 27 1K 1K 78643K 2030 0 0 temp 240 3561K 4201K 78643K 720331 0 0 kqueue 0 0K 0K 78643K 259 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 350 0 345 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 2064 0 2064 5 4 1 1 0 8 1 rtentry 112 2275 0 2167 5 1 4 4 0 8 0 unpcb 120 14308 0 14291 34 33 1 2 0 8 0 syncache 264 99 0 99 47 46 1 1 0 8 1 sackhl 24 3 0 3 3 3 0 1 0 8 0 tcpqe 32 39 0 39 33 33 0 1 0 8 0 tcpcb 544 11840 0 11836 150 149 1 14 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 4 0 4 2 2 0 1 0 8 0 inpcb 280 37126 0 37121 194 192 2 13 0 8 1 rttmr 72 41 0 40 9 8 1 1 0 8 0 ip6q 72 18 0 18 12 12 0 1 0 8 0 ip6af 40 48 0 48 12 12 0 1 0 8 0 nd6 48 396 0 393 14 13 1 1 0 8 0 pkpcb 40 153 0 153 46 46 0 1 0 8 0 swfcl 56 10 0 0 1 0 1 1 0 8 0 ppxss 1128 1183 0 1183 40 39 1 1 0 8 1 pffrag 232 631 0 631 61 60 1 1 0 482 1 pffrnode 88 621 0 621 61 60 1 1 0 8 1 pffrent 40 21712 0 21712 61 60 1 1 0 8 1 pfosfp 40 846 0 846 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfstitem 24 2357 0 2273 3 2 1 3 0 8 0 pfstkey 112 2360 0 2276 14 11 3 12 0 8 0 pfstate 328 2360 0 2275 49 41 8 33 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 20 0 12 18 10 8 8 0 8 0 art_heap4 256 10820 0 10350 131 99 32 53 0 8 1 art_table 32 10840 0 10362 10 5 5 7 0 8 0 art_node 16 2248 0 2176 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 33 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 11196 0 11186 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 36251 0 34664 54 2 52 52 0 8 0 ffsino 272 36251 0 34664 109 3 106 106 0 8 0 nchpl 144 70119 0 68424 69 1 68 68 0 8 0 uvmvnodes 72 8695 0 0 159 0 159 159 0 8 0 vnodes 208 8695 0 0 458 0 458 458 0 8 0 namei 1024 308384 0 308384 8 7 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 209 0 1 26 0 26 26 0 8 0 vmpool 552 328 0 120 21 6 15 15 0 8 0 scsiplug 64 41 0 41 32 32 0 1 0 8 0 scxspl 192 230247 0 230247 145 142 3 7 0 8 3 plimitpl 152 2005 0 1998 1 0 1 1 0 8 0 sigapl 432 23250 0 23237 5 3 2 3 0 8 0 futexpl 56 655657 0 655657 10 9 1 1 0 8 1 knotepl 112 5175 0 5156 30 27 3 3 0 8 2 kqueuepl 104 8936 0 8934 27 26 1 4 0 8 0 pipepl 112 14078 0 14059 31 30 1 2 0 8 0 fdescpl 488 23251 0 23237 3 0 3 3 0 8 0 filepl 152 244247 0 244157 202 196 6 14 0 8 2 lockfpl 104 9344 0 9344 4 3 1 1 0 8 1 lockfspl 48 3061 0 3061 4 3 1 1 0 8 1 sessionpl 112 165 0 156 1 0 1 1 0 8 0 pgrppl 48 646 0 637 1 0 1 1 0 8 0 ucredpl 96 24676 0 24668 1 0 1 1 0 8 0 zombiepl 144 23242 0 23241 12 11 1 1 0 8 0 processpl 896 23273 0 23241 6 2 4 5 0 8 0 procpl 632 75971 0 75928 6 1 5 6 0 8 0 srpgc 64 254 0 254 68 67 1 1 0 8 1 sosppl 128 720 0 720 79 78 1 1 0 8 1 sockpl 384 54049 0 54027 320 316 4 22 0 8 1 mcl64k 65536 1758 0 0 180 136 44 66 0 8 1 mcl16k 16384 66 0 0 7 4 3 3 0 8 0 mcl12k 12288 81 0 0 3 1 2 2 0 8 0 mcl9k 9216 49 0 0 3 1 2 2 0 8 0 mcl8k 8192 73 0 0 8 5 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 25 0 0 2 0 2 2 0 8 0 mcl2k 2048 277 0 0 21 12 9 21 0 8 0 mtagpl 80 1487 0 0 5 1 4 5 0 8 0 mbufpl 256 2128 0 0 72 13 59 72 0 8 0 bufpl 256 74263 0 65556 545 0 545 545 0 8 0 anonpl 16 2863985 0 2801561 791 511 280 286 0 124 15 amapchunkpl 152 172838 0 170104 350 240 110 120 0 158 3 amappl16 192 128636 0 127078 600 514 86 91 0 8 4 amappl15 184 3476 0 3476 15 15 0 1 0 8 0 amappl14 176 4170 0 4161 1 0 1 1 0 8 0 amappl13 168 3175 0 3174 1 0 1 1 0 8 0 amappl12 160 3018 0 3017 2 1 1 1 0 8 0 amappl11 152 3564 0 3556 1 0 1 1 0 8 0 amappl10 144 2647 0 2638 1 0 1 1 0 8 0 amappl9 136 5226 0 5222 1 0 1 1 0 8 0 amappl8 128 5076 0 4974 6 2 4 4 0 8 0 amappl7 120 3214 0 3204 1 0 1 1 0 8 0 amappl6 112 3207 0 3192 1 0 1 1 0 8 0 amappl5 104 4501 0 4489 1 0 1 1 0 8 0 amappl4 96 22915 0 22880 11 10 1 2 0 8 0 amappl3 88 4919 0 4898 1 0 1 1 0 8 0 amappl2 80 182064 0 181990 3 0 3 3 0 8 0 amappl1 72 527912 0 527503 26 16 10 20 0 8 0 amappl 80 78930 0 78770 4 0 4 4 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 134 0 5 3 0 3 3 0 8 0 uaddrrnd 24 23579 0 23237 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 23579 0 23237 3 0 3 3 0 8 0 vmmpekpl 168 179941 0 179878 4 1 3 3 0 8 0 vmmpepl 168 2987403 0 2984218 1034 844 190 192 0 357 34 vmsppl 368 23250 0 23237 2 0 2 2 0 8 0 pdppl 4096 47165 0 46922 40 9 31 31 0 8 0 pvpl 32 7123363 0 7103912 1028 807 221 239 0 265 19 pmappl 232 23578 0 23357 16 2 14 14 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1301 0 450 26 1 25 25 0 8 0