on./file0./bus./buspanic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *154413 6879 0 0 0x4000000 1 syz-executor.1 406201 6879 0 0 0x4000080 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(ffff800000ab8000,ffff800000ad3900,ffff800023b8b890) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023b8b880,ffff800000ab8000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d1a80,80206913,ffff800023b8b880,ffff800020ab0780) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab0780,ffff800023b8b998,ffff800023b8b9e0) at sys_ioctl+0x5b9 syscall(ffff800023b8ba60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b8ba60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,635c8a09010) at Xsyscall+0x128 end of kernel end trace frame: 0x638a8268ed0, 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(ffff800000ab8000,ffff800000ad3900,ffff800023b8b890) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800023b8b880,ffff800000ab8000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d1a80,80206913,ffff800023b8b880,ffff800020ab0780) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab0780,ffff800023b8b998,ffff800023b8b9e0) at sys_ioctl+0x5b9 syscall(ffff800023b8ba60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b8ba60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,635c8a09010) at Xsyscall+0x128 end of kernel end trace frame: 0x638a8268ed0, count: -8 ddb{1}> show registers rdi 0xffffffff815a92f7 db_enter+0x17 rsi 0x1c23 __ALIGN_SIZE+0xc23 rbp 0xffff800023b8b620 rbx 0xffff800023b8b6d0 rdx 0x1c24 __ALIGN_SIZE+0xc24 rcx 0xffff800022d64000 rax 0xffff800022d64000 r8 0xffffffff821269af kprintf+0x16f r9 0x1 r10 0x25 r11 0xbfc9f48c883158db r12 0x3000000008 r13 0xffff800023b8b630 r14 0x100 r15 0x1 rip 0xffffffff815a92f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023b8b610 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=154413 stat=onproc flags process=0 proc=4000000 pri=73, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab1b40,0xffff800020ab02a0 process=0xffff800020adc700 user=0xffff800023b86000, vmspace=0xfffffd807f00a730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6879 124306 82658 0 2 0 syz-executor.1 * 6879 154413 82658 0 7 0x4000000 syz-executor.1 6879 406201 82658 0 7 0x4000080 syz-executor.1 97182 414009 0 0 3 0x14200 bored sosplice 82658 521674 82524 0 3 0x82 nanosleep syz-executor.1 77193 307812 82524 0 3 0x2 biowait syz-executor.0 82524 299313 26267 0 3 0x82 kqread syz-fuzzer 82524 35537 26267 0 3 0x4000082 nanosleep syz-fuzzer 82524 282247 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 131790 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 398910 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 99417 26267 0 3 0x4000082 nanosleep syz-fuzzer 82524 406655 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 168684 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 52899 26267 0 3 0x4000082 thrsleep syz-fuzzer 82524 203841 26267 0 3 0x4000082 thrsleep syz-fuzzer 26267 180916 46530 0 3 0x10008a pause ksh 46530 368520 767 0 3 0x92 select sshd 95647 488928 1 0 3 0x100083 ttyin getty 767 467980 1 0 3 0x80 select sshd 71270 223225 12809 74 3 0x100092 bpf pflogd 12809 210167 1 0 3 0x80 netio pflogd 97502 458382 46986 73 3 0x100090 kqread syslogd 46986 459402 1 0 3 0x100082 netio syslogd 80118 173350 1 77 3 0x100090 poll dhclient 75038 159885 1 0 3 0x80 poll dhclient 88820 287489 0 0 3 0x14200 pgzero zerothread 33757 213328 0 0 3 0x14200 aiodoned aiodoned 39319 154088 0 0 3 0x14200 syncer update 78241 122279 0 0 3 0x14200 cleaner cleaner 48665 326264 0 0 3 0x14200 reaper reaper 73279 187345 0 0 3 0x14200 pgdaemon pagedaemon 31013 124641 0 0 3 0x14200 bored crynlk 87070 484505 0 0 3 0x14200 bored crypto 38852 54934 0 0 3 0x40014200 acpi0 acpi0 20313 487377 0 0 3 0x40014200 idle1 34786 405946 0 0 3 0x14200 bored softnet 60535 449776 0 0 3 0x14200 bored systqmp 17499 63939 0 0 3 0x14200 bored systq 10553 98657 0 0 3 0x40014200 bored softclock 80132 325003 0 0 3 0x40014200 idle0 42911 47422 0 0 3 0x14200 bored smr 1 341532 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 6879 (syz-executor.1) thread 0xffff800020ab1b40 (124306) exclusive rwlock futexpl r = 0 (0xffffffff82635fb8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 pool_put+0x64 sys/kern/subr_pool.c:800 #2 futex_requeue+0x1b5 sys/kern/sys_futex.c:315 #3 sys_futex+0x150 sys/kern/sys_futex.c:117 #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 rwlock futex r = 0 (0xffffffff82488290) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 sys_futex+0x13d sys/kern/sys_futex.c:116 #2 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #2 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #3 Xsyscall+0x128 Process 6879 (syz-executor.1) thread 0xffff800020ab0780 (154413) exclusive rwlock netlock r = 0 (0xffffffff824895c8) #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 (0xffffffff82663580) #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 77193 (syz-executor.0) thread 0xffff800020ab1650 (307812) exclusive rrwlock inode r = 0 (0xfffffd80610324e0) #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 (0xfffffd80691bf2b8) #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 9522 6414K 6927K 78643K 11188 0 0 pcb 13 8K 8K 78643K 79 0 0 rtable 120 4K 4K 78643K 328 0 0 ifaddr 61 13K 14K 78643K 86 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1478 0 0 iov 0 0K 16K 78643K 55 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 76K 77K 78643K 1441 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 8 0 0 VM map 4 2K 2K 78643K 4 0 0 sem 12 0K 0K 78643K 46 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 269 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 60 63K 83K 78643K 514 0 0 subproc 32 2K 2K 78643K 51 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 22 0 0 in_multi 34 2K 2K 78643K 53 0 0 ether_multi 1 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 261 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 124 39K 39K 78643K 1834 0 0 UVM aobj 29 2K 2K 78643K 34 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 54 0 0 NDP 12 0K 0K 78643K 24 0 0 temp 172 3559K 3631K 78643K 6302 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 11 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 32 0 30 1 0 1 1 0 8 0 rtentry 112 65 0 15 2 0 2 2 0 8 0 unpcb 120 262 0 252 1 0 1 1 0 8 0 syncache 264 8 0 8 2 2 0 1 0 8 0 tcpqe 32 16 0 16 2 2 0 1 0 8 0 tcpcb 544 393 0 387 2 1 1 2 0 8 0 inpcb 280 683 0 671 3 1 2 2 0 8 1 nd6 48 6 0 2 1 0 1 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 1 1 1 0 8 1 pffrag 232 19 0 19 1 1 0 1 0 482 0 pffrnode 88 19 0 19 1 1 0 1 0 8 0 pffrent 40 769 0 769 1 1 0 1 0 8 0 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 34 0 5 1 0 1 1 0 8 0 pfstkey 112 34 0 5 1 0 1 1 0 8 0 pfstate 328 34 0 5 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 280 0 45 15 0 15 15 0 8 0 art_table 32 282 0 45 2 0 2 2 0 8 0 art_node 16 64 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 18 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 43 0 33 1 0 1 1 0 8 0 shmpl 112 32 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1809 0 405 46 0 46 46 0 8 0 ffsino 272 1809 0 405 95 0 95 95 0 8 0 nchpl 144 2402 0 798 61 1 60 61 0 8 0 uvmvnodes 72 1999 0 0 37 0 37 37 0 8 0 vnodes 208 1999 0 0 106 0 106 106 0 8 0 namei 1024 6918 0 6917 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 0 1 0 1 1 0 8 0 scxspl 192 6698 0 6697 8 7 1 6 0 8 0 plimitpl 152 42 0 34 1 0 1 1 0 8 0 sigapl 432 464 0 449 3 1 2 3 0 8 0 futexpl 56 5947 0 5947 1 0 1 1 0 8 1 knotepl 112 85 0 66 1 0 1 1 0 8 0 kqueuepl 104 55 0 53 1 0 1 1 0 8 0 pipepl 112 354 0 335 2 1 1 2 0 8 0 fdescpl 488 465 0 449 3 0 3 3 0 8 0 filepl 152 3465 0 3360 8 3 5 8 0 8 0 lockfpl 104 117 0 116 1 0 1 1 0 8 0 lockfspl 48 40 0 39 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 387 0 378 1 0 1 1 0 8 0 zombiepl 144 449 0 449 1 0 1 1 0 8 1 processpl 896 481 0 449 4 0 4 4 0 8 0 procpl 632 1004 0 961 5 1 4 5 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 384 981 0 957 5 1 4 5 0 8 1 mcl64k 65536 524 0 0 66 0 66 66 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 164 0 0 20 0 20 20 0 8 0 mtagpl 80 14 0 0 1 0 1 1 0 8 0 mbufpl 256 637 0 0 39 0 39 39 0 8 0 bufpl 256 7821 0 1310 407 0 407 407 0 8 0 anonpl 16 80931 0 61031 101 5 96 96 0 124 13 amapchunkpl 152 2865 0 2705 13 5 8 12 0 158 0 amappl16 192 3104 0 2015 74 7 67 67 0 8 12 amappl15 184 9 0 8 2 1 1 1 0 8 0 amappl14 176 166 0 159 1 0 1 1 0 8 0 amappl13 168 59 0 58 1 0 1 1 0 8 0 amappl12 160 5 0 3 2 1 1 1 0 8 0 amappl11 152 58 0 42 1 0 1 1 0 8 0 amappl10 144 68 0 60 1 0 1 1 0 8 0 amappl9 136 613 0 610 1 0 1 1 0 8 0 amappl8 128 188 0 158 2 0 2 2 0 8 0 amappl7 120 97 0 88 1 0 1 1 0 8 0 amappl6 112 63 0 51 1 0 1 1 0 8 0 amappl5 104 139 0 124 1 0 1 1 0 8 0 amappl4 96 722 0 691 1 0 1 1 0 8 0 amappl3 88 131 0 124 1 0 1 1 0 8 0 amappl2 80 2810 0 2737 3 1 2 3 0 8 0 amappl1 72 20289 0 19837 27 18 9 20 0 8 0 amappl 80 1277 0 1228 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 33 0 5 1 0 1 1 0 8 0 uaddrrnd 24 467 0 449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 467 0 449 1 0 1 1 0 8 0 vmmpekpl 168 7945 0 7911 2 0 2 2 0 8 0 vmmpepl 168 65688 0 63423 153 13 140 141 0 357 39 vmsppl 368 464 0 449 2 0 2 2 0 8 0 pdppl 4096 941 0 900 6 0 6 6 0 8 0 pvpl 32 222351 0 199234 226 4 222 222 0 265 28 pmappl 232 466 0 449 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 667 0 5 19 0 19 19 0 8 0