panic: ifa_update_broadaddr does not support dynaWmAiRNc IlNGen: gSPtLh
N
OSTt oLpOpWeEdRE Da tON SYSCALL 3 4 EXIT 0 9
db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*474872 45366 0 0 0x4000000 0 syz-executor.1
490567 40186 74 0x100012 0 1 pflogd
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(ffff800000b4d000,ffff800000b31500,ffff800024b9f820) at ifa_update_broadaddr+0x61 sys/net/if.c:2970
in_ioctl(80206913,ffff800024b9f810,ffff800000b4d000,1) at in_ioctl+0x463 sys/netinet/in.c:311
ifioctl(fffffd806f6ce900,80206913,ffff800024b9f810,ffff800020acf178) at ifioctl+0xb64 sys/net/if.c:2202
sys_ioctl(ffff800020acf178,ffff800024b9f928,ffff800024b9f970) at sys_ioctl+0x5b9
syscall(ffff800024b9f9f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800024b9f9f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall(6,0,ffffffffffffff36,0,3,f53457c00e0) at Xsyscall+0x128
end of kernel
end trace frame: 0xf55ba9b8720, 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(ffff800000b4d000,ffff800000b31500,ffff800024b9f820) at ifa_update_broadaddr+0x61 sys/net/if.c:2970
in_ioctl(80206913,ffff800024b9f810,ffff800000b4d000,1) at in_ioctl+0x463 sys/netinet/in.c:311
ifioctl(fffffd806f6ce900,80206913,ffff800024b9f810,ffff800020acf178) at ifioctl+0xb64 sys/net/if.c:2202
sys_ioctl(ffff800020acf178,ffff800024b9f928,ffff800024b9f970) at sys_ioctl+0x5b9
syscall(ffff800024b9f9f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800024b9f9f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall(6,0,ffffffffffffff36,0,3,f53457c00e0) at Xsyscall+0x128
end of kernel
end trace frame: 0xf55ba9b8720, count: -8
ddb{0}> show registers
rdi 0xffffffff81194cb7 db_enter+0x17
rsi 0x1b1a __ALIGN_SIZE+0xb1a
rbp 0xffff800024b9f5b0
rbx 0xffff800024b9f660
rdx 0x1b1b __ALIGN_SIZE+0xb1b
rcx 0xffff800022f80000
rax 0xffff800022f80000
r8 0xffffffff81f734ef kprintf+0x16f
r9 0x1
r10 0x25
r11 0xb4269a3550307582
r12 0x3000000008
r13 0xffff800024b9f5c0
r14 0x100
r15 0x1
rip 0xffffffff81194cb8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800024b9f5a0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.1) pid=474872 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=86, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff800020acfb58,0xffffffff82645b50
process=0xffff800020adc700 user=0xffff800024b9a000, vmspace=0xfffffd807f00a730
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
45366 437199 19214 0 2 0 syz-executor.1
45366 7334 19214 0 3 0x4000080 poll syz-executor.1
*45366 474872 19214 0 7 0x4000000 syz-executor.1
13112 323094 53907 0 2 0x2 syz-executor.0
19214 57338 53907 0 2 0x482 syz-executor.1
72012 482923 1 0 3 0x100083 ttyin getty
27433 113992 0 0 3 0x14200 bored sosplice
53907 244677 12321 0 3 0x82 thrsleep syz-fuzzer
53907 308227 12321 0 3 0x4000082 nanosleep syz-fuzzer
53907 277984 12321 0 3 0x4000082 thrsleep syz-fuzzer
53907 328867 12321 0 3 0x4000082 kqread syz-fuzzer
53907 231643 12321 0 3 0x4000082 nanosleep syz-fuzzer
53907 361366 12321 0 3 0x4000082 thrsleep syz-fuzzer
53907 427402 12321 0 3 0x4000082 thrsleep syz-fuzzer
53907 365732 12321 0 3 0x4000082 thrsleep syz-fuzzer
53907 58890 12321 0 3 0x4000082 thrsleep syz-fuzzer
53907 237489 12321 0 3 0x4000082 thrsleep syz-fuzzer
12321 187301 71861 0 3 0x10008a pause ksh
71861 454168 83029 0 3 0x92 select sshd
83029 208889 1 0 3 0x80 select sshd
40186 490567 30509 74 7 0x100012 pflogd
30509 191308 1 0 3 0x80 netio pflogd
67640 189874 76662 73 3 0x100090 kqread syslogd
76662 438149 1 0 3 0x100082 netio syslogd
8485 212898 1 77 3 0x100090 poll dhclient
44264 435871 1 0 3 0x80 poll dhclient
76002 352377 0 0 3 0x14200 pgzero zerothread
82775 12100 0 0 3 0x14200 aiodoned aiodoned
35904 145988 0 0 3 0x14200 syncer update
5240 388528 0 0 3 0x14200 cleaner cleaner
82704 73037 0 0 3 0x14200 reaper reaper
81468 104080 0 0 3 0x14200 pgdaemon pagedaemon
26505 430947 0 0 3 0x14200 bored crynlk
72152 433946 0 0 3 0x14200 bored crypto
88548 438625 0 0 3 0x40014200 acpi0 acpi0
15711 85893 0 0 3 0x40014200 idle1
86266 59526 0 0 3 0x14200 bored softnet
47099 170976 0 0 3 0x14200 bored systqmp
6911 324003 0 0 3 0x14200 bored systq
23548 161385 0 0 2 0x40014200 softclock
3328 514124 0 0 3 0x40014200 idle0
42663 356695 0 0 3 0x14200 bored smr
1 412057 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 45366 (syz-executor.1) thread 0xffff800020acf178 (474872)
exclusive rwlock netlock r = 0 (0xffffffff824f3758)
#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 (0xffffffff8262a6d0)
#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 13112 (syz-executor.0) thread 0xffff800020ace798 (323094)
exclusive rrwlock inode r = 0 (0xfffffd807e31d5e8)
#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 vget+0x1c3 sys/kern/vfs_subr.c:672
#6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119
#7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1323
#8 ufs_lookup+0x14b4 sys/ufs/ufs/ufs_lookup.c:487
#9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#11 namei+0x63c sys/kern/vfs_lookup.c:249
#12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1785
#13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd807e31db38)
#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 vget+0x1c3 sys/kern/vfs_subr.c:672
#6 cache_lookup+0x2bb sys/kern/vfs_cache.c:224
#7 ufs_lookup+0x1bc sys/ufs/ufs/ufs_lookup.c:162
#8 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#9 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#10 namei+0x63c sys/kern/vfs_lookup.c:249
#11 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1785
#12 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#12 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#13 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim
devbuf 9610 6610K 8190K 78643K 21956 0 0
pcb 13 12K 14K 78643K 1111 0 0
rtable 138 14K 15K 78643K 2862 0 0
ifaddr 96 22K 24K 78643K 780 0 0
counters 39 33K 33K 78643K 39 0 0
ioctlops 0 0K 4K 78643K 1679 0 0
iov 0 0K 28K 78643K 1245 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1220 77K 78K 78643K 5762 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 68 0 0
VM map 54 27K 27K 78643K 68 0 0
sem 12 0K 0K 78643K 1524 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1808 196K 290K 78643K 12765 0 0
file desc 5 13K 25K 78643K 4731 0 0
sigio 0 0K 0K 78643K 89 0 0
proc 62 63K 95K 78643K 2073 0 0
subproc 32 2K 2K 78643K 501 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 1477 0 0
in_multi 44 2K 3K 78643K 732 0 0
ether_multi 1 0K 0K 78643K 60 0 0
mrt 0 0K 0K 78643K 39 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 950 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 220 413K 417K 78643K 19282 0 0
UVM aobj 130 7K 7K 78643K 136 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 1237 0 0
NDP 20 0K 0K 78643K 253 0 0
temp 229 3565K 4204K 78643K 170244 0 0
kqueue 0 0K 0K 78643K 55 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 95 0 89 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 441 0 439 1 0 1 1 0 8 0
rtentry 112 571 0 518 2 0 2 2 0 8 0
unpcb 120 5138 0 5128 8 7 1 2 0 8 0
syncache 264 33 0 33 13 13 0 1 0 8 0
tcpqe 32 144 0 144 4 4 0 1 0 8 0
tcpcb 544 3057 0 3053 23 22 1 12 0 8 0
inpcb 280 11974 0 11966 46 43 3 13 0 8 2
rttmr 72 14 0 14 5 5 0 1 0 8 0
ip6q 72 5 0 4 3 2 1 1 0 8 0
ip6af 40 7 0 7 2 2 0 1 0 8 0
nd6 48 84 0 80 4 3 1 1 0 8 0
pkpcb 40 44 0 44 11 11 0 1 0 8 0
ppxss 1128 95 0 95 31 30 1 1 0 8 1
pffrag 232 157 0 157 27 26 1 1 0 482 1
pffrnode 88 157 0 157 27 26 1 1 0 8 1
pffrent 40 5871 0 5871 27 26 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 491 0 444 1 0 1 1 0 8 0
pfstkey 112 492 0 445 4 1 3 3 0 8 1
pfstate 328 492 0 444 13 8 5 6 0 8 0
pfrule 1360 21 0 16 2 1 1 2 0 8 0
art_heap8 4096 5 0 1 5 1 4 5 0 8 0
art_heap4 256 2508 0 2257 32 16 16 18 0 8 0
art_table 32 2513 0 2258 5 2 3 3 0 8 0
art_node 16 568 0 522 1 0 1 1 0 8 0
sysvmsgpl 40 49 0 34 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 1520 0 1510 1 0 1 1 0 8 0
shmpl 112 134 0 6 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino1pl 128 8700 0 7281 47 0 47 47 0 8 0
ffsino 272 8700 0 7281 97 1 96 96 0 8 0
nchpl 144 16639 0 16151 61 41 20 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 63247 0 63247 5 4 1 1 0 8 1
percpumem 16 30 0 0 1 0 1 1 0 8 0
vcpupl 1984 53 0 1 7 0 7 7 0 8 0
vmpool 552 66 0 14 4 0 4 4 0 8 0
scsiplug 64 16 0 16 13 13 0 1 0 8 0
scxspl 192 55626 0 55626 52 51 1 7 0 8 1
plimitpl 152 410 0 402 1 0 1 1 0 8 0
sigapl 432 4849 0 4834 3 1 2 3 0 8 0
futexpl 56 128403 0 128403 3 2 1 1 0 8 1
knotepl 112 1156 0 1137 6 5 1 3 0 8 0
kqueuepl 104 2406 0 2404 4 3 1 4 0 8 0
pipepl 112 4418 0 4399 7 6 1 2 0 8 0
fdescpl 488 4850 0 4834 3 0 3 3 0 8 0
filepl 152 56926 0 56824 55 47 8 14 0 8 4
lockfpl 104 2281 0 2280 1 0 1 1 0 8 0
lockfspl 48 769 0 768 1 0 1 1 0 8 0
sessionpl 112 46 0 35 1 0 1 1 0 8 0
pgrppl 48 81 0 70 1 0 1 1 0 8 0
ucredpl 96 5120 0 5111 1 0 1 1 0 8 0
zombiepl 144 4835 0 4835 4 3 1 1 0 8 1
processpl 896 4867 0 4835 4 0 4 4 0 8 0
procpl 632 16854 0 16811 7 2 5 5 0 8 0
srpgc 64 38 0 38 16 16 0 1 0 8 0
sosppl 128 137 0 137 21 21 0 1 0 8 0
sockpl 384 17662 0 17642 87 80 7 22 0 8 5
mcl64k 65536 677 0 0 74 61 13 64 0 8 2
mcl16k 16384 33 0 0 5 2 3 3 0 8 0
mcl12k 12288 39 0 0 2 0 2 2 0 8 0
mcl9k 9216 17 0 0 2 0 2 2 0 8 0
mcl8k 8192 25 0 0 4 1 3 3 0 8 0
mcl4k 4096 25 0 0 4 1 3 3 0 8 0
mcl2k2 2112 6 0 0 1 0 1 1 0 8 0
mcl2k 2048 212 0 0 20 10 10 20 0 8 0
mtagpl 80 81 0 0 2 0 2 2 0 8 0
mbufpl 256 1046 0 0 37 1 36 37 0 8 0
bufpl 256 21352 0 14294 442 0 442 442 0 8 0
anonpl 16 644172 0 624895 250 150 100 105 0 124 6
amapchunkpl 152 39914 0 39758 100 88 12 20 0 158 4
amappl16 192 28238 0 26947 246 178 68 77 0 8 3
amappl15 184 185 0 185 1 1 0 1 0 8 0
amappl14 176 933 0 925 1 0 1 1 0 8 0
amappl13 168 44 0 43 4 3 1 1 0 8 0
amappl12 160 796 0 796 4 4 0 1 0 8 0
amappl11 152 522 0 505 1 0 1 1 0 8 0
amappl10 144 391 0 385 1 0 1 1 0 8 0
amappl9 136 2654 0 2649 1 0 1 1 0 8 0
amappl8 128 2268 0 2203 3 0 3 3 0 8 0
amappl7 120 501 0 492 1 0 1 1 0 8 0
amappl6 112 462 0 444 1 0 1 1 0 8 0
amappl5 104 1366 0 1352 1 0 1 1 0 8 0
amappl4 96 4926 0 4887 13 11 2 2 0 8 1
amappl3 88 884 0 875 1 0 1 1 0 8 0
amappl2 80 36239 0 36160 3 1 2 3 0 8 0
amappl1 72 121627 0 121174 26 16 10 21 0 8 0
amappl 80 17692 0 17615 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 135 0 6 3 0 3 3 0 8 0
uaddrrnd 24 4916 0 4834 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 4916 0 4834 1 0 1 1 0 8 0
vmmpekpl 168 46460 0 46410 3 0 3 3 0 8 0
vmmpepl 168 639662 0 637030 572 410 162 167 0 357 39
vmsppl 368 4849 0 4834 2 0 2 2 0 8 0
pdppl 4096 9839 0 9748 18 6 12 12 0 8 0
pvpl 32 1671778 0 1651354 489 266 223 233 0 265 26
pmappl 232 4915 0 4848 6 1 5 5 0 8 1
extentpl 40 41 0 26 1 0 1 1 0 8 0
phpool 112 775 0 129 21 0 21 21 0 8 0