panic: ifa_update_broadaddr does not support pdayninacm:i kc elrnenelg thd iStopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *401284 58110 0 0 0x4000000 0 syz-executor.0 330182 78125 0 0 0x4000000 1 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(ffff800000c60800,ffff800000aeb200,ffff800023998fa0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023998f90,ffff800000c60800,1) at in_ioctl+0x463 sys/netinet/in.c:299 ifioctl(fffffd8066038318,80206913,ffff800023998f90,ffff800020ace298) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ace298,ffff8000239990a8,ffff8000239990f0) at sys_ioctl+0x5b9 syscall(ffff800023999170) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023999170) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2303e68e010) at Xsyscall+0x128 end of kernel end trace frame: 0x23242671180, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic ifa_update_broadaddr does not support dynamic length ddb{0}> 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(ffff800000c60800,ffff800000aeb200,ffff800023998fa0) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023998f90,ffff800000c60800,1) at in_ioctl+0x463 sys/netinet/in.c:299 ifioctl(fffffd8066038318,80206913,ffff800023998f90,ffff800020ace298) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ace298,ffff8000239990a8,ffff8000239990f0) at sys_ioctl+0x5b9 syscall(ffff800023999170) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023999170) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2303e68e010) at Xsyscall+0x128 end of kernel end trace frame: 0x23242671180, count: -8 ddb{0}> show registers rdi 0xffffffff81d20337 db_enter+0x17 rsi 0x1bce __ALIGN_SIZE+0xbce rbp 0xffff800023998d30 rbx 0xffff800023998de0 rdx 0x1bcf __ALIGN_SIZE+0xbcf rcx 0xffff80002196c000 rax 0xffff80002196c000 r8 0xffffffff8182804f kprintf+0x16f r9 0x1 r10 0x25 r11 0x88c95073d2723394 r12 0x3000000008 r13 0xffff800023998d40 r14 0x100 r15 0x1 rip 0xffffffff81d20338 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023998d20 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=401284 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020acea00,0xffff800020ace798 process=0xffff800020adca80 user=0xffff800023994000, vmspace=0xfffffd807f00ba10 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58110 340453 8889 0 2 0 syz-executor.0 *58110 401284 8889 0 7 0x4000000 syz-executor.0 78125 251558 10416 0 2 0 syz-executor.1 78125 350695 10416 0 3 0x4000080 fsleep syz-executor.1 78125 330182 10416 0 7 0x4000000 syz-executor.1 93751 203795 1 0 3 0x100083 ttyin getty 8889 235981 21211 0 3 0x82 nanosleep syz-executor.0 91899 486899 0 0 3 0x14200 acct acct 10416 185684 21211 0 3 0x82 nanosleep syz-executor.1 31832 135019 0 0 3 0x14200 bored sosplice 21211 209055 54520 0 3 0x82 thrsleep syz-fuzzer 21211 190115 54520 0 3 0x4000082 nanosleep syz-fuzzer 21211 396780 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 376057 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 17959 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 372206 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 316932 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 493390 54520 0 3 0x4000082 thrsleep syz-fuzzer 21211 447165 54520 0 3 0x4000082 kqread syz-fuzzer 21211 281975 54520 0 3 0x4000082 thrsleep syz-fuzzer 54520 411084 64485 0 3 0x10008a pause ksh 64485 42705 6759 0 3 0x92 select sshd 6759 432366 1 0 3 0x80 select sshd 95555 517330 38765 74 3 0x100092 bpf pflogd 38765 470346 1 0 3 0x80 netio pflogd 78848 99548 52353 73 3 0x100090 kqread syslogd 52353 80033 1 0 3 0x100082 netio syslogd 9886 100298 1 77 3 0x100090 poll dhclient 36332 457379 1 0 3 0x80 poll dhclient 19456 104383 0 0 2 0x14200 zerothread 45572 481106 0 0 3 0x14200 aiodoned aiodoned 99327 387636 0 0 3 0x14200 syncer update 50366 335421 0 0 3 0x14200 cleaner cleaner 49468 251225 0 0 3 0x14200 reaper reaper 51889 99774 0 0 3 0x14200 pgdaemon pagedaemon 10665 25116 0 0 3 0x14200 bored crynlk 38856 241352 0 0 3 0x14200 bored crypto 76138 416829 0 0 3 0x40014200 acpi0 acpi0 18458 227212 0 0 3 0x40014200 idle1 67658 475141 0 0 3 0x14200 bored softnet 72077 427468 0 0 3 0x14200 bored systqmp 95012 393429 0 0 3 0x14200 bored systq 16367 19853 0 0 3 0x40014200 bored softclock 19459 238823 0 0 3 0x40014200 idle0 17909 456721 0 0 3 0x14200 bored smr 1 119834 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 58110 (syz-executor.0) thread 0xffff800020ace298 (401284) exclusive rwlock netlock r = 0 (0xffffffff82505ce8) #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 (0xffffffff8262ed78) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9621 6735K 8339K 78643K 22395 0 0 pcb 13 10K 12K 78643K 446 0 0 rtable 117 13K 14K 78643K 1721 0 0 ifaddr 89 18K 19K 78643K 505 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1558 0 0 iov 0 0K 18K 78643K 426 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1223 77K 78K 78643K 4774 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 26 0 0 VM map 26 13K 13K 78643K 29 0 0 sem 12 0K 0K 78643K 921 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 2180 0 0 sigio 1 0K 0K 78643K 80 0 0 proc 61 63K 95K 78643K 1221 0 0 subproc 32 2K 2K 78643K 272 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 639 0 0 in_multi 32 2K 2K 78643K 255 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 1 0K 0K 78643K 19 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 618 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 154 250K 251K 78643K 9059 0 0 UVM aobj 116 3K 3K 78643K 120 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 445 0 0 NDP 21 0K 0K 78643K 154 0 0 temp 235 3561K 4200K 78643K 62642 0 0 kqueue 0 0K 0K 78643K 16 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 71 0 62 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 175 0 173 1 0 1 1 0 8 0 rtentry 112 296 0 252 2 0 2 2 0 8 0 unpcb 120 987 0 975 1 0 1 1 0 8 0 syncache 264 16 0 16 6 6 0 1 0 8 0 sackhl 24 3 0 3 3 3 0 1 0 8 0 tcpqe 32 5565 0 5565 1 1 0 1 0 8 0 tcpcb 544 1216 0 1210 17 16 1 14 0 8 0 inpcb 280 2807 0 2792 17 15 2 9 0 8 0 rttmr 72 6 0 6 4 3 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 48 36 0 33 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 73 0 73 7 6 1 1 0 8 1 pffrag 232 31 0 31 8 7 1 1 0 482 1 pffrnode 88 31 0 31 8 7 1 1 0 8 1 pffrent 40 791 0 791 9 8 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 159 0 107 1 0 1 1 0 8 0 pfstkey 112 159 0 107 2 0 2 2 0 8 0 pfstate 328 159 0 107 6 0 6 6 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 1147 0 936 25 9 16 16 0 8 0 art_table 32 1148 0 936 2 0 2 2 0 8 0 art_node 16 295 0 255 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 42 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 919 0 909 1 0 1 1 0 8 0 shmpl 112 118 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4744 0 3356 46 0 46 46 0 8 0 ffsino 272 4744 0 3356 95 0 95 95 0 8 0 nchpl 144 8676 0 8188 61 40 21 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 30886 0 30886 4 3 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 24 0 0 3 0 3 3 0 8 0 vmpool 552 27 0 3 2 0 2 2 0 8 0 scsiplug 64 4 0 4 2 2 0 1 0 8 0 scxspl 192 25118 0 25118 25 24 1 7 0 8 1 plimitpl 152 205 0 197 1 0 1 1 0 8 0 sigapl 432 2341 0 2325 3 1 2 3 0 8 0 futexpl 56 50935 0 50934 1 0 1 1 0 8 0 knotepl 112 590 0 571 1 0 1 1 0 8 0 kqueuepl 104 650 0 648 4 3 1 4 0 8 0 pipepl 112 2022 0 2003 9 7 2 2 0 8 1 fdescpl 488 2342 0 2325 3 0 3 3 0 8 0 filepl 152 21557 0 21451 25 19 6 14 0 8 1 lockfpl 104 1679 0 1678 1 0 1 1 0 8 0 lockfspl 48 480 0 479 1 0 1 1 0 8 0 sessionpl 112 35 0 24 1 0 1 1 0 8 0 pgrppl 48 57 0 46 1 0 1 1 0 8 0 ucredpl 96 2934 0 2925 1 0 1 1 0 8 0 zombiepl 144 2327 0 2327 4 3 1 1 0 8 1 processpl 896 2361 0 2327 4 0 4 4 0 8 0 procpl 632 7539 0 7493 5 0 5 5 0 8 0 srpgc 64 24 0 24 7 7 0 1 0 8 0 sosppl 128 33 0 33 11 10 1 1 0 8 1 sockpl 384 4000 0 3974 27 23 4 14 0 8 1 mcl64k 65536 265 0 0 34 8 26 34 0 8 1 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 15 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 198 0 0 24 0 24 24 0 8 0 mtagpl 80 39 0 0 1 0 1 1 0 8 0 mbufpl 256 712 0 0 38 0 38 38 0 8 0 bufpl 256 16916 0 9868 441 0 441 441 0 8 0 anonpl 16 288170 0 269923 146 66 80 92 0 124 0 amapchunkpl 152 18094 0 17947 49 42 7 19 0 158 0 amappl16 192 12206 0 11114 125 69 56 65 0 8 1 amappl15 184 488 0 484 2 1 1 1 0 8 0 amappl14 176 510 0 503 2 1 1 1 0 8 0 amappl13 168 235 0 235 1 1 0 1 0 8 0 amappl12 160 19 0 17 1 0 1 1 0 8 0 amappl11 152 456 0 440 1 0 1 1 0 8 0 amappl10 144 95 0 91 1 0 1 1 0 8 0 amappl9 136 1370 0 1364 1 0 1 1 0 8 0 amappl8 128 978 0 942 2 0 2 2 0 8 0 amappl7 120 180 0 173 1 0 1 1 0 8 0 amappl6 112 433 0 418 1 0 1 1 0 8 0 amappl5 104 333 0 318 1 0 1 1 0 8 0 amappl4 96 2520 0 2486 1 0 1 1 0 8 0 amappl3 88 593 0 581 1 0 1 1 0 8 0 amappl2 80 17363 0 17277 4 2 2 3 0 8 0 amappl1 72 62953 0 62494 25 15 10 20 0 8 0 amappl 80 8057 0 7999 4 2 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 119 0 4 2 0 2 2 0 8 0 uaddrrnd 24 2369 0 2325 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2369 0 2325 1 0 1 1 0 8 0 vmmpekpl 168 24894 0 24851 3 0 3 3 0 8 0 vmmpepl 168 303804 0 301397 243 107 136 142 0 357 29 vmsppl 368 2341 0 2325 2 0 2 2 0 8 0 pdppl 4096 4745 0 4680 12 3 9 9 0 8 0 pvpl 32 768193 0 746893 312 118 194 215 0 265 12 pmappl 232 2368 0 2328 4 1 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 706 0 42 20 0 20 20 0 8 0