uvm_fault: pppacopen

0 views
Skip to first unread message

syzbot

unread,
Dec 30, 2021, 5:01:20 AM12/30/21
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e7d770b65149 Sync rcexec with reality.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=161462c3b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=e2d1df67f742a5a47938

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e2d1df...@syzkaller.appspotmail.com

uvm_fault(0xfffffd8069e0e460, 0x668, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at pppacopen+0x1b5: movq %r13,0x668
TID PID UID PRFLAGS PFLAGS CPU COMMAND
331624 76778 0 0 0 0 syz-executor.0
* 35442 76778 0 0 0x4000000 1K syz-executor.0
pppacopen(86353,1,2000,ffff8000248ce548) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff8000246bfc98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8063ea5478,1,fffffd807f7d7900,ffff8000248ce548) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff8000246bfee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000248ce548,ffffff9c,20000780,0,0,ffff8000246c00d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff8000246c0140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000246c0140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a33fdba900, count: 8
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(0xfffffd8069e0e460, 0x668, 0, 2) -> e
ddb{1}> trace
pppacopen(86353,1,2000,ffff8000248ce548) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff8000246bfc98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8063ea5478,1,fffffd807f7d7900,ffff8000248ce548) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff8000246bfee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000248ce548,ffffff9c,20000780,0,0,ffff8000246c00d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff8000246c0140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000246c0140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a33fdba900, count: -7
ddb{1}> show registers
rdi 0xffff800021297000
rsi 0xd0c
rbp 0xffff8000246bfc10
rbx 0
rdx 0xffff800021297000
rcx 0xd0b
rax 0xffffffff81c79ee5 pppacopen+0x1b5
r8 0x770
r9 0xfffffd807f7d7900
r10 0x2e3bd52c16368cde
r11 0xbebd2dbdd5433284
r12 0xfffffd8063ea5478
r13 0
r14 0x86353 acpi_pdirpa+0x721bb
r15 0xffff8000246bfc98
rip 0xffffffff81c79ee5 pppacopen+0x1b5
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff8000246bfbc0
ss 0x10
pppacopen+0x1b5: movq %r13,0x668
ddb{1}> show proc
PROC (syz-executor.0) pid=35442 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=80, nice=20
forw=0xffffffffffffffff, list=0xffff8000248ced28,0xffff8000248cefd8
process=0xffff8000ffffa998 user=0xffff8000246bb000, vmspace=0xfffffd8069e0e460
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
66157 424798 40596 0 2 0 syz-executor.2
95721 71318 20771 0 2 0 syz-executor.3
76778 331624 28634 0 7 0 syz-executor.0
*76778 35442 28634 0 7 0x4000000 syz-executor.0
20771 182461 96859 0 3 0x82 nanoslp syz-executor.3
40596 105797 96859 0 3 0x82 nanoslp syz-executor.2
78601 169694 96859 0 3 0x82 nanoslp syz-executor.1
28634 302407 96859 0 3 0x82 nanoslp syz-executor.0
96859 25624 83192 0 3 0x82 thrsleep syz-fuzzer
96859 114342 83192 0 3 0x4000082 nanoslp syz-fuzzer
96859 328193 83192 0 3 0x4000082 thrsleep syz-fuzzer
96859 420869 83192 0 3 0x4000082 kqread syz-fuzzer
96859 497759 83192 0 3 0x4000082 thrsleep syz-fuzzer
96859 1867 83192 0 3 0x4000082 thrsleep syz-fuzzer
96859 317019 83192 0 3 0x4000082 thrsleep syz-fuzzer
96859 255199 83192 0 3 0x4000082 nanoslp syz-fuzzer
83192 305941 98856 0 3 0x10008a sigsusp ksh
98856 450674 30457 0 3 0x9a poll sshd
60035 481574 1 0 3 0x100083 ttyin getty
30457 347765 1 0 3 0x88 poll sshd
28997 437033 85278 74 3 0x100092 bpf pflogd
85278 402739 1 0 3 0x80 netio pflogd
53738 456702 40665 73 3 0x100090 kqread syslogd
40665 18335 1 0 3 0x100082 netio syslogd
21500 357284 1 0 3 0x100080 kqread resolvd
82402 123244 4390 77 3 0x100092 kqread dhcpleased
5487 302828 4390 77 3 0x100092 kqread dhcpleased
4390 433776 1 0 3 0x80 kqread dhcpleased
871 220896 0 0 3 0x14200 bored smr
74754 507827 0 0 2 0x14200 zerothread
57505 275538 0 0 3 0x14200 aiodoned aiodoned
14421 121945 0 0 3 0x14200 syncer update
43171 512647 0 0 3 0x14200 cleaner cleaner
77993 178166 0 0 3 0x14200 reaper reaper
76752 117523 0 0 3 0x14200 pgdaemon pagedaemon
31676 86213 0 0 3 0x14200 bored viomb
37374 453069 0 0 3 0x40014200 acpi0 acpi0
18552 69184 0 0 3 0x40014200 idle1
68009 134942 0 0 3 0x14200 bored softnet
37217 265452 0 0 3 0x14200 bored systqmp
41738 250249 0 0 3 0x14200 bored systq
55070 449691 0 0 3 0x40014200 bored softclock
94308 206394 0 0 3 0x40014200 idle0
1 359264 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 76778 (syz-executor.0) thread 0xffff8000248ce548 (35442)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828f9c10)
#0 witness_lock+0x44d
#1 syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline]
#1 syscall+0x3ef sys/arch/amd64/amd64/trap.c:585
#2 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10163 6466K 6919K 78643K 12418 0
pcb 13 8K 8K 78643K 112 0
rtable 154 5K 8K 78643K 504 0
ifaddr 59 13K 14K 78643K 117 0
counters 48 34K 34K 78643K 50 0
ioctlops 0 0K 4K 78643K 1592 0
iov 0 0K 24K 78643K 31 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1237 78K 78K 78643K 1600 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 1K 78643K 2 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 0K 78643K 25 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12598 0
file desc 9 29K 49K 78643K 1151 0
proc 69 87K 123K 78643K 469 0
subproc 52 3K 3K 78643K 65 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 49 0
in_multi 55 3K 3K 78643K 108 0
ether_multi 1 0K 0K 78643K 22 0
mrt 0 0K 0K 78643K 66 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 61 281K 281K 78643K 61 0
exec 0 0K 2K 78643K 539 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 207 44K 44K 78643K 15103 0
UVM aobj 28 2K 2K 78643K 28 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 56 0
NDP 8 0K 1K 78643K 23 0
temp 64 4189K 4317K 78643K 18130 0
kqueue 10 14K 16K 78643K 48 0
SYN cache 2 16K 16K 78643K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 66 0 63 1 0 1 1 0 8 0
rtentry 112 108 0 42 2 0 2 2 0 8 0
unpcb 136 201 0 186 1 0 1 1 0 8 0
syncache 296 55 0 55 4 3 1 1 0 8 1
tcpqe 32 34 0 34 3 2 1 1 0 8 1
tcpcb 736 346 0 324 3 0 3 3 0 8 0
arp 120 12 0 2 1 0 1 1 0 8 0
inpcb 304 662 0 647 2 0 2 2 0 8 0
rttmr 72 26 0 26 2 2 0 1 0 8 0
nd6 48 19 0 7 1 0 1 1 0 8 0
kcovpl 48 5 0 1 1 0 1 1 0 8 0
pfstscr 40 16 0 16 2 2 0 1 0 8 0
pffrent 40 4 0 4 1 1 0 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
pfrktable 1344 69 0 68 1 0 1 1 0 8 0
pftag 88 2 0 0 1 0 1 1 0 8 0
pfqueue 264 16 0 16 1 1 0 1 0 8 0
pfstitem 24 22 0 11 1 0 1 1 0 8 0
pfstkey 112 44 0 33 1 0 1 1 0 8 0
pfstate 320 32 0 21 3 1 2 2 0 8 0
pfrule 1360 89 0 76 2 0 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 321 0 44 18 0 18 18 0 8 0
art_table 32 322 0 44 3 0 3 3 0 8 0
art_node 16 107 0 47 1 0 1 1 0 8 0
semupl 112 9 0 9 1 0 1 1 0 8 1
semapl 112 23 0 13 1 0 1 1 0 8 0
shmpl 112 25 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 2852 0 1432 90 0 90 90 0 8 0
ffsino 272 2852 0 1432 96 0 96 96 0 8 0
nchpl 144 4401 0 2796 61 0 61 61 0 8 0
uvmvnodes 80 3186 0 0 66 0 66 66 0 8 0
vnodes 224 3186 0 0 188 0 188 188 0 8 0
namei 1024 12116 0 12116 1 0 1 1 0 8 1
percpumem 16 37 0 1 1 0 1 1 0 8 0
pfiaddrpl 120 20 0 20 3 3 0 1 0 8 0
scxspl 216 15329 0 15329 9 8 1 8 0 8 1
plimitpl 152 68 0 57 1 0 1 1 0 8 0
sigapl 424 1392 0 1356 5 0 5 5 0 8 0
futexpl 64 8264 0 8264 1 0 1 1 0 8 1
knotepl 112 69 0 0 2 0 2 2 0 8 0
kqueuepl 216 111 0 105 1 0 1 1 0 8 0
pipepl 336 157 0 141 2 0 2 2 0 8 0
fdescpl 496 1378 0 1356 5 1 4 4 0 8 1
filepl 152 5065 0 4914 8 1 7 8 0 8 1
lockfpl 104 150 0 148 1 0 1 1 0 8 0
lockfspl 48 61 0 59 1 0 1 1 0 8 0
sessionpl 144 21 0 8 1 0 1 1 0 8 0
pgrppl 48 29 0 16 1 0 1 1 0 8 0
ucredpl 96 572 0 559 1 0 1 1 0 8 0
zombiepl 144 1356 0 1355 1 0 1 1 0 8 0
processpl 1064 1392 0 1355 3 0 3 3 0 8 0
procpl 672 2688 0 2643 5 0 5 5 0 8 0
sockpl 480 929 0 896 7 2 5 6 0 8 0
mcl64k 65536 21 0 0 3 0 3 3 0 8 0
mcl16k 16384 10 0 0 2 0 2 2 0 8 0
mcl12k 12288 6 0 0 1 0 1 1 0 8 0
mcl9k 9216 5 0 0 1 0 1 1 0 8 0
mcl8k 8192 10 0 0 2 0 2 2 0 8 0
mcl4k 4096 7 0 0 1 0 1 1 0 8 0
mcl2k 2048 123 0 0 15 0 15 15 0 8 0
mtagpl 96 105 0 0 3 0 3 3 0 8 0
mbufpl 256 468 0 0 28 0 28 28 0 8 0
bufpl 288 6382 0 141 446 0 446 446 0 8 0
anonpl 24 327755 0 320686 55 7 48 53 0 186 0
amapchunkpl 152 35264 0 34810 24 3 21 22 0 158 0
amappl16 200 2807 0 2662 11 3 8 11 0 8 0
amappl15 192 310 0 307 1 0 1 1 0 8 0
amappl14 184 2 0 1 1 0 1 1 0 8 0
amappl13 176 47 0 46 1 0 1 1 0 8 0
amappl12 168 303 0 300 1 0 1 1 0 8 0
amappl11 160 53 0 39 1 0 1 1 0 8 0
amappl10 152 48 0 40 1 0 1 1 0 8 0
amappl9 144 982 0 978 1 0 1 1 0 8 0
amappl8 136 412 0 373 2 0 2 2 0 8 0
amappl7 128 81 0 71 1 0 1 1 0 8 0
amappl6 120 669 0 648 1 0 1 1 0 8 0
amappl5 112 967 0 948 1 0 1 1 0 8 0
amappl4 104 651 0 625 1 0 1 1 0 8 0
amappl3 96 478 0 461 1 0 1 1 0 8 0
amappl2 88 696 0 655 3 2 1 2 0 8 0
amappl1 80 25947 0 25480 13 2 11 13 0 8 0
amappl 88 14692 0 14542 5 0 5 5 0 92 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 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 18 0 17 1 0 1 1 0 8 0
aobjpl 72 27 0 0 1 0 1 1 0 8 0
uaddrrnd 24 1378 0 1356 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1378 0 1356 1 0 1 1 0 8 0
vmmpekpl 168 11081 0 11046 2 0 2 2 0 8 0
vmmpepl 168 121893 0 120329 88 4 84 84 0 357 10
vmsppl 368 1377 0 1356 3 0 3 3 0 8 0
rwobjpl 56 31984 0 27842 59 0 59 59 0 8 0
pdppl 4096 2764 0 2712 84 30 54 62 0 8 2
pvpl 32 720870 0 710295 142 43 99 142 0 265 0
pmappl 248 1377 0 1356 2 0 2 2 0 8 0
extentpl 40 57 0 38 1 0 1 1 0 8 0
phpool 112 803 0 32 23 0 23 23 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffffffff82779ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff828f9a08) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147
softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7ffffe1f50, count: 9
ddb{0}> trace
x86_ipi_db(ffffffff82779ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff828f9a08) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147
softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7ffffe1f50, count: -6
ddb{0}> machine ddbcpu 1
Stopped at pppacopen+0x1b5: movq %r13,0x668
pppacopen(86353,1,2000,ffff8000248ce548) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff8000246bfc98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8063ea5478,1,fffffd807f7d7900,ffff8000248ce548) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff8000246bfee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000248ce548,ffffff9c,20000780,0,0,ffff8000246c00d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff8000246c0140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000246c0140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a33fdba900, count: 8
ddb{1}> trace
pppacopen(86353,1,2000,ffff8000248ce548) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff8000246bfc98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8063ea5478,1,fffffd807f7d7900,ffff8000248ce548) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff8000246bfee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000248ce548,ffffff9c,20000780,0,0,ffff8000246c00d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff8000246c0140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000246c0140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a33fdba900, count: -7


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 30, 2021, 5:33:50 AM12/30/21
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: e7d770b65149 Sync rcexec with reality.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=12e2972db00000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1644581bb00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14dec6fbb00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e2d1df...@syzkaller.appspotmail.com

login: uvm_fault(0xfffffd806ee88b88, 0x668, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at pppacopen+0x1b5: movq %r13,0x668
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*492982 69667 0 0x2 0 0K syz-executor3810
pppacopen(86338,1,2000,ffff8000ffff6fd0) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff800021224898) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8078652850,1,fffffd807f7d79c0,ffff8000ffff6fd0) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff800021224ae8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000ffff6fd0,ffffff9c,20000200,0,0,ffff800021224cd0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff800021224d40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800021224d40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffce920, count: 8
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
*cpu0: uvm_fault(0xfffffd806ee88b88, 0x668, 0, 2) -> e
ddb{0}> trace
pppacopen(86338,1,2000,ffff8000ffff6fd0) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff800021224898) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8078652850,1,fffffd807f7d79c0,ffff8000ffff6fd0) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff800021224ae8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000ffff6fd0,ffffff9c,20000200,0,0,ffff800021224cd0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff800021224d40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800021224d40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffce920, count: -7
ddb{0}> show registers
rdi 0
rsi 0
rbp 0xffff800021224810
rbx 0
rdx 0
rcx 0
rax 0xffff800000b36800
r8 0x770
r9 0xfffffd807f7d79c0
r10 0x9d8be9a2f012309
r11 0xc8f9f88d888333f9
r12 0xfffffd8078652850
r13 0
r14 0x86338 acpi_pdirpa+0x721a0
r15 0xffff800021224898
rip 0xffffffff81c79ee5 pppacopen+0x1b5
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff8000212247c0
ss 0x10
pppacopen+0x1b5: movq %r13,0x668
ddb{0}> show proc
PROC (syz-executor3810) pid=492982 stat=onproc
flags process=2<EXEC> proc=0
pri=17, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff62b0,0xffffffff8293ceb0
process=0xffff8000211f1d28 user=0xffff80002121f000, vmspace=0xfffffd806ee88b88
estcpu=0, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
*69667 492982 3616 0 7 0x2 syz-executor3810
3616 300003 15204 0 3 0x10008a sigsusp ksh
15204 509996 93586 0 3 0x9a poll sshd
17736 377076 1 0 3 0x100083 ttyin getty
93586 265486 1 0 3 0x88 poll sshd
63620 508865 39172 74 3 0x100092 bpf pflogd
39172 174767 1 0 3 0x80 netio pflogd
60253 394515 2303 73 3 0x100090 kqread syslogd
2303 87781 1 0 3 0x100082 netio syslogd
71567 521656 1 0 3 0x100080 kqread resolvd
28114 306896 97567 77 3 0x100092 kqread dhcpleased
25556 47534 97567 77 3 0x100092 kqread dhcpleased
97567 328995 1 0 3 0x80 kqread dhcpleased
53311 193064 0 0 3 0x14200 bored smr
34061 519794 0 0 3 0x14200 pgzero zerothread
31041 521326 0 0 3 0x14200 aiodoned aiodoned
28674 178862 0 0 3 0x14200 syncer update
93573 459649 0 0 3 0x14200 cleaner cleaner
1365 382001 0 0 3 0x14200 reaper reaper
60688 268898 0 0 3 0x14200 pgdaemon pagedaemon
45963 190407 0 0 3 0x14200 bored viomb
19732 231851 0 0 3 0x40014200 acpi0 acpi0
4069 457800 0 0 7 0x40014200 idle1
17309 332767 0 0 3 0x14200 bored softnet
9635 465936 0 0 3 0x14200 bored systqmp
63768 459429 0 0 3 0x14200 bored systq
9974 219104 0 0 3 0x40014200 bored softclock
35809 398730 0 0 3 0x40014200 idle0
1 157724 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 69667 (syz-executor3810) thread 0xffff8000ffff6fd0 (492982)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828f9c10)
#0 witness_lock+0x44d
#1 syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline]
#1 syscall+0x3ef sys/arch/amd64/amd64/trap.c:585
#2 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10145 6456K 6456K 78643K 11235 0
pcb 13 8K 8K 78643K 13 0
rtable 62 2K 2K 78643K 112 0
ifaddr 29 8K 8K 78643K 30 0
counters 40 33K 33K 78643K 40 0
ioctlops 0 0K 4K 78643K 1479 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 5 0
vnodes 1180 74K 74K 78643K 1185 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 1K 78643K 2 0
VM map 2 1K 1K 78643K 2 0
sem 2 0K 0K 78643K 2 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12598 0
file desc 1 0K 0K 78643K 1 0
proc 67 87K 87K 78643K 281 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 11 0K 0K 78643K 11 0
ether_multi 1 0K 0K 78643K 1 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 25 122K 122K 78643K 25 0
exec 0 0K 2K 78643K 344 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 81 3K 6K 78643K 1678 0
UVM aobj 3 2K 2K 78643K 3 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 4 0K 0K 78643K 4 0
temp 24 4186K 4249K 78643K 2989 0
kqueue 9 12K 12K 78643K 9 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 17 0 14 1 0 1 1 0 8 0
rtentry 112 23 0 1 1 0 1 1 0 8 0
unpcb 136 35 0 20 1 0 1 1 0 8 0
syncache 296 5 0 5 1 0 1 1 0 8 1
tcpcb 736 7 0 4 1 0 1 1 0 8 0
arp 120 2 0 0 1 0 1 1 0 8 0
inpcb 304 29 0 23 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
pfstitem 24 6 0 0 1 0 1 1 0 8 0
pfstkey 112 6 0 0 1 0 1 1 0 8 0
pfstate 320 6 0 0 1 0 1 1 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 97 0 0 7 0 7 7 0 8 0
art_table 32 98 0 0 1 0 1 1 0 8 0
art_node 16 22 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1407 0 23 87 0 87 87 0 8 0
ffsino 272 1407 0 23 93 0 93 93 0 8 0
nchpl 144 1573 0 39 57 0 57 57 0 8 0
uvmvnodes 80 1417 0 0 29 0 29 29 0 8 0
vnodes 224 1417 0 0 84 0 84 84 0 8 0
namei 1024 4098 0 4098 1 0 1 1 0 8 1
percpumem 16 32 0 0 1 0 1 1 0 8 0
scxspl 216 3469 0 3469 2 1 1 2 0 8 1
plimitpl 152 16 0 9 1 0 1 1 0 8 0
sigapl 424 249 0 220 4 0 4 4 0 8 0
knotepl 112 23 0 0 1 0 1 1 0 8 0
kqueuepl 216 5 0 0 1 0 1 1 0 8 0
pipepl 336 67 0 64 1 0 1 1 0 8 0
fdescpl 496 235 0 220 3 0 3 3 0 8 0
filepl 152 1064 0 1005 3 0 3 3 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 18 0 9 1 0 1 1 0 8 0
pgrppl 48 18 0 9 1 0 1 1 0 8 0
ucredpl 96 69 0 57 1 0 1 1 0 8 0
zombiepl 144 220 0 220 1 0 1 1 0 8 1
processpl 1064 249 0 220 3 0 3 3 0 8 0
procpl 672 249 0 220 3 0 3 3 0 8 0
sockpl 480 81 0 57 4 0 4 4 0 8 0
mcl8k 8192 3 0 0 1 0 1 1 0 8 0
mcl4k 4096 2 0 0 1 0 1 1 0 8 0
mcl2k 2048 57 0 0 8 0 8 8 0 8 0
mtagpl 96 2 0 0 1 0 1 1 0 8 0
mbufpl 256 105 0 0 7 0 7 7 0 8 0
bufpl 288 1964 0 91 134 0 134 134 0 8 0
anonpl 24 34538 0 32212 17 2 15 17 0 186 0
amapchunkpl 152 3001 0 2858 7 1 6 7 0 158 0
amappl16 200 95 0 91 1 0 1 1 0 8 0
amappl13 176 18 0 17 1 0 1 1 0 8 0
amappl12 168 14 0 14 1 0 1 1 0 8 1
amappl11 160 47 0 32 1 0 1 1 0 8 0
amappl10 152 23 0 18 1 0 1 1 0 8 0
amappl9 144 447 0 445 1 0 1 1 0 8 0
amappl8 136 260 0 260 1 0 1 1 0 8 1
amappl7 128 48 0 45 1 0 1 1 0 8 0
amappl6 120 100 0 90 1 0 1 1 0 8 0
amappl5 112 180 0 164 1 0 1 1 0 8 0
amappl4 104 503 0 483 1 0 1 1 0 8 0
amappl3 96 140 0 126 1 0 1 1 0 8 0
amappl2 88 312 0 278 1 0 1 1 0 8 0
amappl1 80 7663 0 7284 9 0 9 9 0 8 0
amappl 88 1436 0 1372 2 0 2 2 0 92 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 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 18 0 17 1 0 1 1 0 8 0
aobjpl 72 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 235 0 220 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 235 0 220 1 0 1 1 0 8 0
vmmpekpl 168 5938 0 5921 1 0 1 1 0 8 0
vmmpepl 168 22894 0 22046 41 0 41 41 0 357 1
vmsppl 368 234 0 220 2 0 2 2 0 8 0
rwobjpl 56 8725 0 6752 29 0 29 29 0 8 0
pdppl 4096 478 0 440 50 12 38 44 0 8 0
pvpl 32 111310 0 107183 37 0 37 37 0 265 2
pmappl 248 234 0 220 2 0 2 2 0 8 0
extentpl 40 57 0 38 1 0 1 1 0 8 0
phpool 112 402 0 15 12 0 12 12 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
pppacopen(86338,1,2000,ffff8000ffff6fd0) at pppacopen+0x1b5 sys/net/if_pppx.c:1020
spec_open(ffff800021224898) at spec_open+0x3d7 sys/kern/spec_vnops.c:157
VOP_OPEN(fffffd8078652850,1,fffffd807f7d79c0,ffff8000ffff6fd0) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138
vn_open(ffff800021224ae8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183
doopenat(ffff8000ffff6fd0,ffffff9c,20000200,0,0,ffff800021224cd0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128
syscall(ffff800021224d40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800021224d40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffce920, count: -7
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: -5
ddb{1}>

Reply all
Reply to author
Forward
0 new messages