Hello,
syzbot found the following issue on:
HEAD commit: 22f3b8cefb12 fix two wrong function names in the descripti..
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=178e123e680000
kernel config:
https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link:
https://syzkaller.appspot.com/bug?extid=87ddeb0fe4925984a4de
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/bed721d752ba/disk-22f3b8ce.raw.xz
bsd.gdb:
https://storage.googleapis.com/syzbot-assets/d0c5cab49461/bsd-22f3b8ce.gdb.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/69de8491271b/kernel-22f3b8ce.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+87ddeb...@syzkaller.appspotmail.com
uvm_fault(0xfffffd8069bbd180, 0x7, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at ktrops+0x4e: movq 0x8(%rbx),%r14
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*196332 54239 0 0x10 0x4000000 0 syz-executor.4
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:700 [inline]
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e sys/kern/kern_ktrace.c:543
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:568 [inline]
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 sys/kern/kern_ktrace.c:490
sys_ktrace(ffff8000216d8808,ffff80002e87c4a0,ffff80002e87c4f0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:531
syscall(ffff80002e87c570) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1414e527800, count: 10
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>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: uvm_fault(0xfffffd8069bbd180, 0x7, 0, 1) -> e
ddb> trace
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:700 [inline]
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e sys/kern/kern_ktrace.c:543
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:568 [inline]
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 sys/kern/kern_ktrace.c:490
sys_ktrace(ffff8000216d8808,ffff80002e87c4a0,ffff80002e87c4f0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:531
syscall(ffff80002e87c570) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1414e527800, count: -5
ddb> show registers
rdi 0xffff8000216d8808
rsi 0xffffffffffffffff
rbp 0xffff80002e87c290
rbx 0xffffffffffffffff
rdx 0
rcx 0x80000120 __kernel_virt_to_phys+0x120
rax 0xffff8000216d8808
r8 0xfffffd8065e08498
r9 0xfffffd807f7d75b0
r10 0xea67f137e5a47c5d
r11 0x309966e5a8860716
r12 0xffffffffffffffff
r13 0xfffffd807f7d75b0
r14 0xffff8000216d8808
r15 0x80000120 __kernel_virt_to_phys+0x120
rip 0xffffffff81059a1e ktrops+0x4e
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80002e87c210
ss 0
ktrops+0x4e: movq 0x8(%rbx),%r14
ddb> show proc
PROC (syz-executor.4) tid=196332 pid=54239 tcnt=3 stat=onproc
flags process=10<SUGID> proc=4000000<THREAD>
runpri=17, usrpri=52, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0x0
forw=0xffffffffffffffff, list=0xffff8000216d7d68,0xffff8000216d8020
process=0xffff8000ffff73c0 user=0xffff80002e877000, vmspace=0xfffffd8069bbd180
estcpu=2, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
54239 46697 55511 0 3 0x90 nanoslp syz-executor.4
*54239 196332 55511 0 7 0x4000010 syz-executor.4
54239 129975 55511 0 3 0x4000090 fsleep syz-executor.4
40351 372771 53150 0 2 0 syz-executor.2
96262 304190 699 0 2 0 syz-executor.6
63336 329856 43045 0 2 0 syz-executor.0
13324 519828 95794 0 3 0x80 nanoslp syz-executor.1
13324 330530 95794 0 3 0x4000080 kqpoll syz-executor.1
52155 20526 17047 0 2 0x480 syz-executor.7
52155 283662 17047 0 2 0x4000000 syz-executor.7
52155 383563 17047 0 3 0x4000080 fsleep syz-executor.7
699 467400 17952 0 3 0x82 nanoslp syz-executor.6
17047 266561 17952 0 3 0x82 nanoslp syz-executor.7
7618 161622 17952 0 3 0x82 nanoslp syz-executor.5
55511 96214 17952 0 3 0x82 nanoslp syz-executor.4
42705 453752 17952 0 2 0x2 syz-executor.3
53150 523938 17952 0 2 0x2 syz-executor.2
43045 282908 17952 0 2 0x482 syz-executor.0
95794 317217 17952 0 2 0x482 syz-executor.1
17952 422426 19042 0 3 0x2000082 wait syz-fuzzer
17952 524165 19042 0 3 0x6000082 nanoslp syz-fuzzer
17952 37664 19042 0 3 0x6000082 wait syz-fuzzer
17952 339686 19042 0 3 0x6000082 wait syz-fuzzer
17952 353786 19042 0 3 0x6000082 wait syz-fuzzer
17952 483814 19042 0 3 0x6000082 thrsleep syz-fuzzer
17952 128358 19042 0 3 0x6000082 thrsleep syz-fuzzer
17952 297920 19042 0 3 0x6000082 wait syz-fuzzer
17952 166526 19042 0 3 0x6000082 wait syz-fuzzer
17952 248551 19042 0 3 0x6000082 thrsleep syz-fuzzer
17952 379951 19042 0 3 0x6000082 wait syz-fuzzer
17952 164137 19042 0 3 0x6000082 wait syz-fuzzer
17952 385481 19042 0 2 0x6000002 syz-fuzzer
17952 485791 19042 0 3 0x6000082 thrsleep syz-fuzzer
19042 220698 27189 0 3 0x10008a sigsusp ksh
27189 437292 51935 0 2 0x12 sshd
79487 241352 1 0 3 0x100083 ttyin getty
51935 81586 1 0 3 0x88 kqread sshd
48509 151353 26514 73 3 0x1100090 kqread syslogd
26514 108797 1 0 3 0x100082 netio syslogd
3126 8670 1 0 3 0x100080 kqread resolvd
23931 109236 42859 77 3 0x100092 kqread dhcpleased
59981 412016 42859 77 3 0x100092 kqread dhcpleased
42859 38616 1 0 3 0x80 kqread dhcpleased
1656 372155 0 0 3 0x14200 bored smr
35824 518376 0 0 2 0x14200 zerothread
40260 482128 0 0 3 0x14200 aiodoned aiodoned
35939 207987 0 0 3 0x14200 syncer update
52261 91122 0 0 3 0x14200 cleaner cleaner
87201 267970 0 0 3 0x14200 reaper reaper
18927 172762 0 0 3 0x14200 pgdaemon pagedaemon
64351 87231 0 0 3 0x14200 bored viomb
31358 120204 0 0 3 0x40014200 acpi0 acpi0
59311 121803 0 0 3 0x14200 bored softnet3
10922 266546 0 0 3 0x14200 bored softnet2
40744 91241 0 0 3 0x14200 bored softnet1
20821 173310 0 0 2 0x14200 softnet0
40020 421498 0 0 3 0x14200 bored systqmp
60373 481967 0 0 3 0x14200 bored systq
92297 272426 0 0 3 0x40014200 bored softclock
32239 306054 0 0 3 0x40014200 idle0
1 387154 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10166 6424K 6424K 78643K 11250 0
pcb 13 8K 8K 78643K 13 0
rtable 234 6K 6K 78643K 350 0
pf 29 8K 8K 78643K 29 0
ifaddr 43 11K 11K 78643K 45 0
ifgroup 50 2K 2K 78643K 50 0
counters 28 17K 17K 78643K 28 0
ioctlops 0 0K 2K 78643K 35 0
iov 0 0K 0K 78643K 3 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1278 80K 80K 78643K 1291 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 3 0K 0K 78643K 5 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 16 57K 77K 78643K 162 0
proc 55 58K 75K 78643K 473 0
subproc 104 6K 6K 78643K 104 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 99 7K 7K 78643K 99 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 1K 78643K 364 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 8 62K 64K 78643K 10 0
UVM amap 303 85K 86K 78643K 3498 0
UVM aobj 3 2K 2K 78643K 3 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 3 0
NDP 11 0K 1K 78643K 27 0
temp 33 5898K 5962K 78643K 4197 0
kqueue 13 20K 22K 78643K 28 0
SYN cache 2 16K 16K 78643K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 36 0 33 1 0 1 1 0 8 0
rtentry 112 111 0 1 4 0 4 4 0 8 0
unpcb 144 105 0 26 3 0 3 3 0 8 0
syncache 304 4 0 4 1 1 0 1 0 8 0
tcpqe 32 248 0 248 1 1 0 1 0 8 0
tcpcb 808 8 0 4 1 0 1 1 0 8 0
arp 88 18 0 0 1 0 1 1 0 8 0
inpcb 336 64 0 57 1 0 1 1 0 8 0
nd6 104 24 0 0 1 0 1 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 453 0 0 29 0 29 29 0 8 0
art_table 32 454 0 0 4 0 4 4 0 8 0
art_node 16 110 0 10 1 0 1 1 0 8 0
semapl 112 3 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1520 0 81 90 0 90 90 0 8 0
ffsino 240 1520 0 81 85 0 85 85 0 8 0
nchpl 144 1847 0 165 63 0 63 63 0 8 0
uvmvnodes 80 1633 0 0 34 0 34 34 0 8 0
vnodes 216 1633 0 0 91 0 91 91 0 8 0
namei 1024 6471 0 6471 3 2 1 3 0 8 1
kstatmem 264 22 0 0 2 0 2 2 0 8 0
scxspl 216 6386 0 6386 3 2 1 3 1 8 1
plimitpl 152 33 0 18 1 0 1 1 0 8 0
sigapl 424 459 0 415 6 0 6 6 0 8 0
futexpl 64 692 0 690 1 0 1 1 0 8 0
knotepl 120 6196 0 6115 3 0 3 3 0 8 0
kqueuepl 184 27 0 17 1 0 1 1 0 8 0
pipepl 288 140 0 110 3 0 3 3 0 8 0
fdescpl 432 443 0 416 4 0 4 4 0 8 0
filepl 120 2008 0 1663 11 0 11 11 0 8 0
lockfpl 104 15 0 12 1 0 1 1 0 8 0
lockfspl 48 9 0 6 1 0 1 1 0 8 0
sessionpl 144 23 0 7 1 0 1 1 0 8 0
pgrppl 48 25 0 9 1 0 1 1 0 8 0
ucredpl 104 59 0 48 1 0 1 1 0 8 0
zombiepl 144 416 0 415 1 0 1 1 0 8 0
processpl 1008 459 0 415 8 1 7 7 0 8 1
procpl 680 522 0 460 6 0 6 6 0 8 0
sockpl 456 205 0 116 12 0 12 12 0 8 0
mcl64k 65536 9 0 9 1 0 1 1 0 8 1
mcl16k 16384 15 0 15 1 0 1 1 0 8 1
mcl12k 12288 2 0 2 1 0 1 1 0 8 1
mcl8k 8192 10 0 10 2 1 1 1 0 8 1
mcl4k 4096 14 0 14 2 1 1 1 0 8 1
mcl2k2 2112 1 0 1 1 0 1 1 0 8 1
mcl2k 2048 63093 0 63041 31 16 15 27 0 8 7
mtagpl 96 4 0 4 1 1 0 1 0 8 0
mbufpl 256 99918 0 99759 20 7 13 15 0 8 2
bufpl 288 4127 0 146 285 0 285 285 0 8 0
anonpl 24 209531 0 197793 72 0 72 72 0 188 0
amapchunkpl 152 12396 0 11624 34 0 34 34 0 158 1
amappl16 200 5904 0 5580 19 1 18 18 0 8 0
amappl15 192 13 0 13 1 1 0 1 0 8 0
amappl14 184 154 0 142 2 1 1 2 0 8 0
amappl13 176 11 0 11 1 1 0 1 0 8 0
amappl12 168 1060 0 1035 2 0 2 2 0 8 0
amappl11 160 51 0 40 1 0 1 1 0 8 0
amappl10 152 28 0 20 2 1 1 1 0 8 0
amappl9 144 120 0 119 1 0 1 1 0 8 0
amappl8 136 162 0 116 2 0 2 2 0 8 0
amappl7 128 55 0 48 1 0 1 1 0 8 0
amappl6 120 223 0 203 2 1 1 2 0 8 0
amappl5 112 165 0 155 1 0 1 1 0 8 0
amappl4 104 522 0 490 2 1 1 2 0 8 0
amappl3 96 3084 0 3013 4 1 3 3 0 8 0
amappl2 88 669 0 611 3 1 2 3 0 8 0
amappl1 80 9828 0 9330 22 4 18 22 0 8 7
amappl 88 3000 0 2800 6 0 6 6 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 443 0 416 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 443 0 416 1 0 1 1 0 8 0
vmmpekpl 168 9503 0 9449 3 0 3 3 0 8 0
vmmpepl 168 50662 0 48626 112 1 111 112 0 357 20
vmsppl 368 442 0 416 3 0 3 3 0 8 0
rwobjpl 24 22046 0 19129 20 1 19 20 0 8 0
pdppl 4096 893 0 832 101 38 63 71 0 8 2
pvpl 32 421880 0 405116 358 21 337 358 0 265 199
pmappl 216 442 0 416 2 0 2 2 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 671 0 67 18 0 18 18 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:700 [inline]
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e sys/kern/kern_ktrace.c:543
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:568 [inline]
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 sys/kern/kern_ktrace.c:490
sys_ktrace(ffff8000216d8808,ffff80002e87c4a0,ffff80002e87c4f0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:531
syscall(ffff80002e87c570) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1414e527800, count: -5
ddb> machine ddbcpu 1
No such command
ddb> trace
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:700 [inline]
ktrops(ffff8000216d8808,ffffffffffffffff,0,80000120,fffffd8065e08498,fffffd807f7d75b0) at ktrops+0x4e sys/kern/kern_ktrace.c:543
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:568 [inline]
doktrace(fffffd8065e08498,4,120,0,ffff8000216d8808) at doktrace+0x524 sys/kern/kern_ktrace.c:490
sys_ktrace(ffff8000216d8808,ffff80002e87c4a0,ffff80002e87c4f0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:531
syscall(ffff80002e87c570) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1414e527800, count: -5
---
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.
If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup