login: uvm_fault(0xffffef806cd74208, 0x20, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at mtx_enter+0x9e: movl 0x8(%r14),%r13d
TID PID UID PRFLAGS PFLAGS CPU COMMAND
79528 72723 0 0 0 0 syz-executor
* 59432 72723 0 0 0x4000000 1K syz-executor
mtx_enter(18) at mtx_enter+0x9e sys/kern/kern_lock.c:406
ifq_add_data(0,ffffef800f98a818) at ifq_add_data+0x31 sys/net/ifq.c:362
if_getdata(ffff800000c34000,ffffef800f98a818) at if_getdata+0x244 sys/net/if.c:-1
rtm_ifchg(ffff800000c34000) at rtm_ifchg+0xfb sys/net/rtsock.c:1797
ifioctl(ffff800001625a88,8020697f,ffff80002af86580,ffff80002a220fb8) at ifioctl+0x2398 sys/net/if.c:2357
sys_ioctl(ffff80002a220fb8,ffff80002af86760,ffff80002af866b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002af86760) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002af86760) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x35a58ce7db0, 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
*cpu1: uvm_fault(0xffffef806cd74208, 0x20, 0, 1) -> e
ddb{1}> show kasan
No such command
ddb{1}> trace
mtx_enter(18) at mtx_enter+0x9e sys/kern/kern_lock.c:406
ifq_add_data(0,ffffef800f98a818) at ifq_add_data+0x31 sys/net/ifq.c:362
if_getdata(ffff800000c34000,ffffef800f98a818) at if_getdata+0x244 sys/net/if.c:-1
rtm_ifchg(ffff800000c34000) at rtm_ifchg+0xfb sys/net/rtsock.c:1797
ifioctl(ffff800001625a88,8020697f,ffff80002af86580,ffff80002a220fb8) at ifioctl+0x2398 sys/net/if.c:2357
sys_ioctl(ffff80002a220fb8,ffff80002af86760,ffff80002af866b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002af86760) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002af86760) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x35a58ce7db0, count: -8
ddb{1}> show registers
rdi 0
rsi 0
rbp 0xffff80002af862e0
rbx 0x80206900 __kernel_virt_to_phys+0x206900
rdx 0
rcx 0xffff80002a220fb8
rax 0xffff80002999dff0
r8 0x90
r9 0x8080808080808080
r10 0x2fdfa9a07a8ba05d
r11 0xb3d1d0f2c37ba7a9
r12 0x28
r13 0x8049 __ALIGN_SIZE+0x7049
r14 0x18
r15 0xffff80002999dff0
rip 0xffffffff823fcb9e mtx_enter+0x9e
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80002af86260
ss 0x10
mtx_enter+0x9e: movl 0x8(%r14),%r13d
ddb{1}> show proc
PROC (syz-executor) tid=59432 pid=72723 tcnt=3 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=50, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff800045ffcd00,0xffff80002a220038
process=0xffff800045ff4008 user=0xffff80002af81000, vmspace=0xffffef806cd74208
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
42487 433479 95535 0 2 0x100000 0 sh
95535 43964 2910 0 3 0x100002 0x88 sigsusp sh
72723 79528 6221 0 7 0 0 syz-executor
*72723 59432 6221 0 7 0 0x4000000 syz-executor
72723 6760 6221 0 3 0 0x4000000 biowait syz-executor
53163 357095 66479 0 2 0x2 0 sh
96353 12476 83025 0 2 0 0 syz-executor
96353 14668 83025 0 3 0 0x4000080 fsleep syz-executor
96353 28897 83025 0 2 0 0x4000000 syz-executor
10041 479130 46763 0 2 0 0 syz-executor
10041 510696 46763 0 3 0 0x4000080 fsleep syz-executor
10041 167578 46763 0 3 0 0x4000080 fsleep syz-executor
87726 147388 83928 0 2 0x2 0 syz-executor
88902 111216 22050 0 3 0x10 0x80 nanoslp syz-executor
88902 450901 22050 0 3 0x10 0x4000080 kqread syz-executor
88902 233491 22050 0 3 0x10 0x4000080 fsleep syz-executor
98760 37799 83928 0 2 0x2 0 syz-executor
2910 181955 83928 0 3 0x2 0x80 wait syz-executor
66479 391705 83928 0 3 0x2 0x80 wait syz-executor
70893 127483 0 0 3 0x14000 0x280 nfsidl nfsio
34697 102632 0 0 3 0x14000 0x280 nfsidl nfsio
26312 115826 0 0 3 0x14000 0x280 nfsidl nfsio
64252 382542 0 0 3 0x14000 0x280 nfsidl nfsio
47645 442985 0 0 3 0x14000 0x280 nfsidl nfsio
27042 125142 0 0 3 0x14000 0x280 nfsidl nfsio
28361 248188 0 0 3 0x14000 0x280 nfsidl nfsio
3457 390600 0 0 3 0x14000 0x280 nfsidl nfsio
80234 339168 0 0 3 0x14000 0x280 nfsidl nfsio
59822 234546 0 0 3 0x14000 0x280 nfsidl nfsio
23668 434447 0 0 3 0x14000 0x280 nfsidl nfsio
56292 272468 0 0 3 0x14000 0x280 nfsidl nfsio
62355 38910 0 0 3 0x14000 0x280 nfsidl nfsio
5586 359150 0 0 3 0x14000 0x280 nfsidl nfsio
93329 127675 0 0 3 0x14000 0x280 nfsidl nfsio
43407 63178 0 0 3 0x14000 0x280 nfsidl nfsio
91416 375630 0 0 3 0x14000 0x280 nfsidl nfsio
71987 366688 0 0 3 0x14000 0x280 nfsidl nfsio
88202 481307 0 0 3 0x14000 0x280 nfsidl nfsio
31058 379405 0 0 3 0x14000 0x280 nfsidl nfsio
51244 98960 1 0 3 0x100003 0x80 ttyin getty
83025 378429 83928 0 3 0x2 0x80 nanoslp syz-executor
46763 379995 83928 0 3 0x2 0x80 nanoslp syz-executor
22050 99450 83928 0 3 0x2 0x80 nanoslp syz-executor
6221 95258 83928 0 3 0x2 0x80 nanoslp syz-executor
83928 502185 1 0 3 0x2 0x80 kqread syz-executor
18877 160886 0 0 3 0x14000 0x200 bored smr
22614 205218 0 0 2 0x14000 0x200 zerothread
4650 521097 0 0 3 0x14000 0x200 aiodoned aiodoned
6836 411141 0 0 3 0x14000 0x200 syncer update
60242 374804 0 0 3 0x14000 0x200 cleaner cleaner
37749 353636 0 0 3 0x14000 0x200 reaper reaper
8526 75213 0 0 3 0x14000 0x200 pgdaemon pagedaemon
64992 126730 0 0 3 0x14000 0x200 bored viomb
4302 519784 0 0 3 0x14000 0x40000200 acpi0 acpi0
49241 81364 0 0 3 0x14000 0x40000200 idle1
42370 244004 0 0 3 0x14000 0x200 bored softnet1
76544 245832 0 0 3 0x14000 0x200 bored softnet0
80015 295622 0 0 3 0x14000 0x200 smrbar systqmp
76888 252363 0 0 3 0x14000 0x200 bored systq
72145 181720 0 0 3 0x14000 0x200 tmoslp softclockmp
32019 498900 0 0 3 0x14000 0x40000200 tmoslp softclock
23382 507594 0 0 3 0x14000 0x40000200 idle0
1 218422 0 0 3 0x2 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
ddb{1}> show all locks
Process 72723 (syz-executor) thread 0xffff80002a220fb8 (59432)
Process 72723 (syz-executor) thread 0xffff80002a220028 (6760)
Process 80015 (systqmp) thread 0xffff800045ffe530 (295622)
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11068 12015K 12150K 166960K 12299 0
pcb 20 12K 12K 166960K 34 0
rtable 159 5K 8K 166960K 504 0
pf 32 17K 25K 166960K 133 0
ifaddr 29 4K 8K 166960K 72 0
ifgroup 47 2K 2K 166960K 94 0
sysctl 3 1K 9K 166960K 7 0
counters 66 36K 37K 166960K 96 0
ioctlops 0 0K 4K 166960K 1511 0
iov 0 0K 16K 166960K 6 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1294 81K 82K 166960K 1533 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 8 0
VM map 2 1K 1K 166960K 2 0
sem 8 0K 0K 166960K 11 0
dirhash 12 2K 2K 166960K 15 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 16 58K 93K 166960K 316 0
sigio 0 0K 0K 166960K 2 0
proc 21 33K 164K 166960K 724 0
subproc 63 3K 4K 166960K 135 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 48 0
in_multi 55 3K 6K 166960K 149 0
ether_multi 1 0K 0K 166960K 3 0
mrt 1 0K 0K 166960K 6 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 223 996K 996K 166960K 223 0
exec 0 0K 1K 166960K 465 0
fusefs mount 1 32K 32K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 118 75K 177K 166960K 4700 0
UVM aobj 11 2K 2K 166960K 12 0
pinsyscall 19 38K 104K 166960K 1639 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 4 0
NDP 10 0K 1K 166960K 47 0
temp 33 9118K 9166K 166960K 7014 0
kqueue 1 2K 20K 166960K 40 0
SYN cache 2 16K 16K 166960K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 28 0 0 1 0 1 1 0 8 0
rtpcb 120 50 0 49 1 0 1 1 0 8 0
rtentry 176 159 0 92 6 0 6 6 0 8 0
unpcb 144 77 0 77 1 0 1 1 0 8 1
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 736 18 0 17 1 0 1 1 0 8 0
arp 136 27 0 16 1 0 1 1 0 8 0
inpcb 328 160 0 155 1 0 1 1 0 8 0
nd6 152 37 0 25 1 0 1 1 0 8 0
pkpcb 40 1 0 1 1 0 1 1 0 8 1
kcovpl 48 15 0 8 1 0 1 1 0 8 0
ppxss 1192 5 0 5 1 0 1 1 0 8 1
pppxif 1576 2 0 2 1 0 1 1 0 8 1
pfstscr 40 1 0 1 1 0 1 1 0 8 1
pffrag 232 2 0 1 1 0 1 1 0 482 0
pffrnode 88 2 0 1 1 0 1 1 0 8 0
pffrent 40 4 0 3 1 0 1 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfanchor 1288 10 0 9 1 0 1 1 0 8 0
pfstitem 24 35 0 0 1 0 1 1 0 8 0
pfstkey 128 39 0 4 2 0 2 2 0 8 0
pfstate 448 37 0 2 4 0 4 4 0 8 0
pfrule 1360 27 0 21 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 656 0 273 30 0 30 30 0 8 2
art_table 40 657 0 273 5 0 5 5 0 8 0
art_node 32 159 0 88 1 0 1 1 0 8 0
sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0
semupl 112 1 0 1 1 0 1 1 0 8 1
semapl 72 8 0 2 1 0 1 1 0 8 0
shmpl 120 9 0 1 1 0 1 1 0 8 0
dirhash 1024 19 0 2 3 0 3 3 0 8 0
dino2pl 256 1779 0 292 93 0 93 93 0 8 0
ffsino 296 1779 0 292 115 0 115 115 0 8 0
nchpl 144 2117 0 397 64 0 64 64 0 8 0
vnodes 216 1980 0 0 110 0 110 110 0 8 0
namei 1024 8211 0 8210 3 1 2 2 0 8 1
percpumem 16 64 0 15 1 0 1 1 0 8 0
kstatmem 264 49 0 26 3 0 3 3 0 8 1
scsiplug 72 3 0 3 1 0 1 1 0 8 1
scxspl 216 8954 0 8953 4 2 2 3 1 8 1
plimitpl 152 116 0 106 1 0 1 1 0 8 0
sigapl 424 650 0 595 7 0 7 7 0 8 0
knotepl 120 54 0 0 2 0 2 2 0 8 0
kqueuepl 224 59 0 56 1 0 1 1 0 8 0
pipepl 344 163 0 136 3 0 3 3 0 8 0
fdescpl 528 614 0 595 3 0 3 3 0 8 0
filepl 160 2606 0 2454 10 0 10 10 0 8 0
lockfpl 104 60 0 60 1 0 1 1 0 8 1
lockfspl 48 28 0 28 1 0 1 1 0 8 1
sessionpl 144 32 0 29 1 0 1 1 0 8 0
pgrppl 48 49 0 38 1 0 1 1 0 8 0
ucredpl 104 392 0 388 1 0 1 1 0 8 0
zombiepl 144 595 0 595 1 0 1 1 0 8 1
processpl 1240 650 0 595 5 0 5 5 0 8 0
procpl 664 842 0 779 6 0 6 6 0 8 0
sosppl 176 2 0 2 1 0 1 1 0 8 1
sockpl 752 294 0 288 4 0 4 4 0 8 2
mcl64k 65536 12 0 0 2 0 2 2 0 8 0
mcl16k 16384 3 0 0 1 0 1 1 0 8 0
mcl12k 12288 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 2 0 0 1 0 1 1 0 8 0
mcl4k 4096 117 0 0 15 0 15 15 0 8 0
mcl2k 2048 18 0 0 3 0 3 3 0 8 0
mextrefs 64 19 0 0 1 0 1 1 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 229 0 0 15 0 15 15 0 8 0
bufpl 272 4601 0 105 300 0 300 300 0 8 0
anonpl 32 5922 0 0 48 0 48 48 0 247 0
amapchunkpl 152 13911 0 13607 27 1 26 26 0 158 13
amappl16 200 1492 0 1467 5 3 2 5 0 8 0
amappl15 192 3 0 3 1 1 0 1 0 8 0
amappl14 184 503 0 501 1 0 1 1 0 8 0
amappl13 176 135 0 134 1 0 1 1 0 8 0
amappl12 168 886 0 871 2 0 2 2 0 8 0
amappl11 160 7 0 7 1 1 0 1 0 8 0
amappl10 152 64 0 64 1 0 1 1 0 8 1
amappl9 144 277 0 277 1 1 0 1 0 8 0
amappl8 136 122 0 122 1 0 1 1 0 8 1
amappl7 128 160 0 157 1 0 1 1 0 8 0
amappl6 120 211 0 208 1 0 1 1 0 8 0
amappl5 112 104 0 104 1 0 1 1 0 8 1
amappl4 104 328 0 324 1 0 1 1 0 8 0
amappl3 96 2208 0 2155 3 0 3 3 0 8 0
amappl2 88 716 0 694 2 0 2 2 0 8 0
amappl1 80 11610 0 11503 15 0 15 15 0 8 8
amappl 88 3793 0 3690 4 0 4 4 0 92 0
uvmvnodes 80 105 0 0 3 0 3 3 0 8 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 254 0 254 2 1 1 1 0 8 1
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 18 0 17 1 0 1 1 0 8 0
aobjpl 72 11 0 1 1 0 1 1 0 8 0
uaddrrnd 24 614 0 595 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 614 0 595 1 0 1 1 0 8 0
vmmpekpl 168 7087 0 7031 3 0 3 3 0 8 0
vmmpepl 168 48396 0 47660 86 0 86 86 0 357 47
vmsppl 488 613 0 595 5 0 5 5 0 8 1
rwobjpl 80 16584 0 16165 24 0 24 24 0 8 3
pdppl 4096 1235 0 1190 109 62 47 85 0 8 2
pvpl 32 9646 0 0 79 1 78 78 0 265 0
pmappl 256 613 0 595 3 0 3 3 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 590 0 66 16 0 16 16 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffffffff839b6ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
intr_handler(ffff80002a314160,ffff8000002a2900) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
syscall(ffff80002a314340) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline]
syscall(ffff80002a314340) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f100d588480, count: 4
ddb{0}> trace
x86_ipi_db(ffffffff839b6ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
intr_handler(ffff80002a314160,ffff8000002a2900) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83ab2040) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
syscall(ffff80002a314340) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline]
syscall(ffff80002a314340) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f100d588480, count: -11
ddb{0}> machine ddbcpu 1
Stopped at mtx_enter+0x9e: movl 0x8(%r14),%r13d
mtx_enter(18) at mtx_enter+0x9e sys/kern/kern_lock.c:406
ifq_add_data(0,ffffef800f98a818) at ifq_add_data+0x31 sys/net/ifq.c:362
if_getdata(ffff800000c34000,ffffef800f98a818) at if_getdata+0x244 sys/net/if.c:-1
rtm_ifchg(ffff800000c34000) at rtm_ifchg+0xfb sys/net/rtsock.c:1797
ifioctl(ffff800001625a88,8020697f,ffff80002af86580,ffff80002a220fb8) at ifioctl+0x2398 sys/net/if.c:2357
sys_ioctl(ffff80002a220fb8,ffff80002af86760,ffff80002af866b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002af86760) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002af86760) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x35a58ce7db0, count: 7
ddb{1}>