Hello,
syzbot found the following crash on:
HEAD commit: 269c2856b78e sentences start with capital letters;
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=10db9ac0c00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ffa1da4399f74b2b
dashboard link:
https://syzkaller.appspot.com/bug?extid=ed88256423ae8d882b8b
compiler:
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+ed8825...@syzkaller.appspotmail.com
uvm_fault(0xfffffd803f015738, 0x10, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at wsmux_do_ioctl+0x6ce: movq %rax,0x10(%rdx,%r15,8)
ddb>
ddb> set $lines = 0
ddb> show panic
kernel page fault
uvm_fault(0xfffffd803f015738, 0x10, 0, 2) -> e
wsmux_do_ioctl(89063e48e5d6e261,80185760,fffffd8037e760b0,3,fffffd803f7c77e0)
at
wsmux_do_ioctl+0x6ce sys/dev/wscons/wsmux.c:404
end trace frame: 0xffff800014a38430, count: 0
ddb> trace
wsmux_do_ioctl(89063e48e5d6e261,80185760,fffffd8037e760b0,3,fffffd803f7c77e0)
at
wsmux_do_ioctl+0x6ce sys/dev/wscons/wsmux.c:404
VOP_IOCTL(312c608220ae305b,80185760,fffffd8030794f10,ffff8000ffff8008,fffffd8037e760b0,ffff8000ffff8008)
at
VOP_IOCTL+0x80 sys/kern/vfs_vops.c:290
vn_ioctl(d39b910065049c7f,fffffd8030794f10,ffff8000ffff8008,18) at
vn_ioctl+0xc5 sys/kern/vfs_vnops.c:512
sys_ioctl(929bbd9c89191901,0,ffff8000ffff8008) at sys_ioctl+0x639
syscall(f6675b67fc023366) at syscall+0x528
Xsyscall(6,0,ffffffffffffff89,0,3,ac85f849010) at Xsyscall+0x128
end of kernel
end trace frame: 0xacac4955b70, count: -6
ddb> show registers
rdi 0xff
rsi 0x1
rbp 0xffff800014a383b0
rbx 0x1
rdx 0
rcx 0
rax 0
r8 0xffffffff81d09e11 wsmux_do_ioctl+0x1e1
r9 0x7
r10 0x295371b3f8608861
r11 0xc6289eb06760f04b
r12 0xffff800000669150
r13 0
r14 0xffff800014a38560
r15 0
rip 0xffffffff81d0a2fe wsmux_do_ioctl+0x6ce
cs 0x8
rflags 0x10293 __ALIGN_SIZE+0xf293
rsp 0xffff800014a38360
ss 0x10
wsmux_do_ioctl+0x6ce: movq %rax,0x10(%rdx,%r15,8)
ddb> show proc
PROC (syz-executor0) pid=131207 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=86, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff8e18,0xffff80001496c4d0
process=0xffff8000149b2020 user=0xffff800014a33000,
vmspace=0xfffffd803f015738
estcpu=36, cpticks=17, pctcpu=0.85
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
4590 423578 25031 0 2 0 syz-executor0
* 4590 131207 25031 0 7 0x4000000 syz-executor0
4590 265079 25031 0 3 0x4000080 fsleep syz-executor0
91550 138462 83288 0 3 0x82 nanosleep syz-executor1
25031 155477 83288 0 3 0x82 nanosleep syz-executor0
65437 377054 0 0 3 0x14200 bored sosplice
83288 488286 31561 0 3 0x82 thrsleep syz-fuzzer
83288 170258 31561 0 3 0x4000082 thrsleep syz-fuzzer
83288 47257 31561 0 3 0x4000082 thrsleep syz-fuzzer
83288 218182 31561 0 3 0x4000082 kqread syz-fuzzer
83288 24297 31561 0 3 0x4000082 thrsleep syz-fuzzer
83288 7891 31561 0 3 0x4000082 thrsleep syz-fuzzer
83288 475670 31561 0 3 0x4000082 thrsleep syz-fuzzer
83288 148136 31561 0 3 0x4000082 thrsleep syz-fuzzer
31561 263897 94719 0 3 0x10008a pause ksh
94719 271874 22515 0 3 0x92 select sshd
98846 182001 1 0 3 0x100083 ttyin getty
22515 401187 1 0 3 0x80 select sshd
50790 347042 34746 73 2 0x100090 syslogd
34746 374431 1 0 3 0x100082 netio syslogd
99149 295030 1 77 3 0x100090 poll dhclient
22614 365548 1 0 3 0x80 poll dhclient
54836 447922 0 0 2 0x14200 zerothread
37655 143226 0 0 3 0x14200 aiodoned aiodoned
26571 10089 0 0 3 0x14200 syncer update
11698 146066 0 0 3 0x14200 cleaner cleaner
33554 223969 0 0 3 0x14200 reaper reaper
17116 410319 0 0 3 0x14200 pgdaemon pagedaemon
78605 384068 0 0 3 0x14200 bored crynlk
40580 108133 0 0 3 0x14200 bored crypto
32508 240463 0 0 3 0x40014200 acpi0 acpi0
99569 99711 0 0 3 0x14200 bored softnet
43097 354810 0 0 3 0x14200 bored systqmp
17103 194658 0 0 3 0x14200 bored systq
80937 119723 0 0 3 0x40014200 bored softclock
57896 406018 0 0 3 0x40014200 idle0
1 26043 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 Kern Lim
devbuf 9524 6360K 6370K 78643K 12136 0 0
pcb 23 9K 11K 78643K 3127 0 0
rtable 100 3K 3K 78643K 1130 0 0
ifaddr 59 16K 19K 78643K 562 0 0
counters 19 16K 16K 78643K 19 0 0
ioctlops 0 0K 2K 78643K 60 0 0
iov 0 0K 32K 78643K 738 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1177 74K 76K 78643K 5183 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 91 0 0
VM map 2 0K 0K 78643K 2 0 0
sem 12 0K 0K 78643K 465 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1777 193K 286K 78643K 12501 0 0
file desc 5 13K 25K 78643K 6267 0 0
sigio 0 0K 0K 78643K 160 0 0
proc 42 30K 55K 78643K 1267 0 0
subproc 64 65538K 67586K 78643K 284 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 806 0 0
in_multi 33 2K 2K 78643K 327 0 0
ether_multi 1 0K 0K 78643K 40 0 0
ISOFS mount 1 32K 32K 78643K 1 0 0
MSDOSFS mount 1 16K 16K 78643K 1 0 0
ttys 138 609K 609K 78643K 138 0 0
exec 0 0K 1K 78643K 660 0 0
pfkey data 0 0K 0K 78643K 2 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 113 22K 40K 78643K 15803 0 0
UVM aobj 130 8K 8K 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 1K 78643K 203 0 0
NDP 12 0K 0K 78643K 162 0 0
temp 170 2347K 2419K 78643K 19696 0 0
kqueue 0 0K 0K 78643K 79 0 0
SYN cache 2 16K 16K 78643K 2 0 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg
Idle
arp 64 10 0 6 1 0 1 1 0
8 0
inpcbpl 280 2634 0 2627 1 0 1 1 0
8 0
plimitpl 152 89 0 82 1 0 1 1 0
8 0
rtentry 112 95 0 55 2 0 2 2 0
8 0
syncache 264 4 0 4 1 1 0 1 0
8 0
tcpcb 544 916 0 912 1 0 1 1 0
8 0
nd6 48 16 0 12 1 0 1 1 0
8 0
swfcl 56 1 0 0 1 0 1 1 0
8 0
ppxss 1128 104 0 104 32 31 1 1 0
8 1
art_heap8 4096 1 0 0 1 0 1 1 0
8 0
art_heap4 256 459 0 272 12 0 12 12 0
8 0
art_table 32 460 0 272 2 0 2 2 0
8 0
art_node 16 94 0 60 1 0 1 1 0
8 0
sysvmsgpl 40 22 0 8 1 0 1 1 0
8 0
semapl 112 461 0 451 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 13657 0 12156 50 1 49 49 0
8 0
ffsino 240 13657 0 12156 89 0 89 89 0
8 0
nchpl 144 22852 0 21273 59 0 59 59 0
8 0
uvmvnodes 72 6449 0 0 118 0 118 118 0
8 0
vnodes 200 6449 0 0 340 0 340 340 0
8 0
namei 1024 72375 0 72375 5 4 1 1 0
8 1
scsiplug 64 10 0 10 7 6 1 1 0
8 1
scxspl 192 73552 0 73552 35 32 3 6 0
8 3
sigapl 432 6416 0 6403 2 0 2 2 0
8 0
futexpl 56 99004 0 99003 6 5 1 1 0
8 0
knotepl 112 1755 0 1728 6 5 1 2 0
8 0
kqueuepl 104 2139 0 2137 1 0 1 1 0
8 0
pipepl 112 4024 0 4005 17 16 1 2 0
8 0
fdescpl 424 6417 0 6403 2 0 2 2 0
8 0
filepl 120 40946 0 40851 12 8 4 5 0
8 1
lockfpl 96 2026 0 2026 11 10 1 1 0
8 1
lockfspl 24 3618 0 3618 10 9 1 1 0
8 1
sessionpl 112 23 0 13 1 0 1 1 0
8 0
pgrppl 48 107 0 97 1 0 1 1 0
8 0
ucredpl 96 13748 0 13741 1 0 1 1 0
8 0
zombiepl 144 6403 0 6402 2 1 1 1 0
8 0
processpl 840 6431 0 6402 5 1 4 4 0
8 0
procpl 600 14878 0 14840 9 5 4 4 0
8 1
sosppl 128 107 0 107 26 25 1 1 0
8 1
sockpl 384 5573 0 5556 12 9 3 4 0
8 1
mcl64k 65536 3459 0 3459 319 318 1 64 0
8 1
mcl16k 16384 21 0 21 13 13 0 1 0
8 0
mcl12k 12288 122 0 122 23 22 1 1 0
8 1
mcl9k 9216 107 0 107 29 28 1 1 0
8 1
mcl8k 8192 139 0 139 25 25 0 1 0
8 0
mcl4k 4096 296 0 296 13 12 1 1 0
8 1
mcl2k2 2112 48 0 48 20 20 0 1 0
8 0
mcl2k 2048 49039 0 49009 11 6 5 8 0
8 0
mtagpl 80 2 0 2 1 1 0 1 0
8 0
mbufpl 256 113118 0 113044 160 152 8 37 0
8 0
bufpl 256 17615 0 11144 405 0 405 405 0
8 0
anonpl 16 635572 0 627969 293 255 38 50 0
62 2
amapchunkpl 152 27495 0 27414 84 80 4 14 0
158 0
amappl16 192 37469 0 37065 346 323 23 34 0
8 2
amappl15 184 1425 0 1424 1 0 1 1 0
8 0
amappl14 176 266 0 266 2 2 0 1 0
8 0
amappl13 168 583 0 576 1 0 1 1 0
8 0
amappl12 160 3738 0 3738 3 3 0 1 0
8 0
amappl11 152 215 0 206 1 0 1 1 0
8 0
amappl10 144 559 0 557 1 0 1 1 0
8 0
amappl9 136 316 0 314 1 0 1 1 0
8 0
amappl8 128 3978 0 3927 2 0 2 2 0
8 0
amappl7 120 596 0 585 1 0 1 1 0
8 0
amappl6 112 315 0 306 1 0 1 1 0
8 0
amappl5 104 1680 0 1669 1 0 1 1 0
8 0
amappl4 96 323 0 299 2 1 1 2 0
8 0
amappl3 88 585 0 579 1 0 1 1 0
8 0
amappl2 80 63009 0 62958 2 0 2 2 0
8 0
amappl1 72 120722 0 120300 28 19 9 19 0
8 0
amappl 72 15194 0 15162 1 0 1 1 0
75 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
dma64 64 259 0 259 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 6417 0 6403 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 6417 0 6403 1 0 1 1 0
8 0
vmmpekpl 168 43697 0 43674 2 0 2 2 0
8 0
vmmpepl 168 656367 0 655000 317 251 66 76 0
357 2
vmsppl 264 6416 0 6403 4 3 1 2 0
8 0
pdppl 4096 12840 0 12806 8 3 5 6 0
8 0
pvpl 32 1960748 0 1949565 701 542 159 232 0 265
68
pmappl 192 6416 0 6403 1 0 1 1 0
8 0
extentpl 40 39 0 25 1 0 1 1 0
8 0
phpool 112 1067 0 535 19 1 18 18 0
8 0
---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.