Hello,
syzbot found the following crash on:
HEAD commit: 7d9a3feb Remove vnconfig functionality, and try to adapt t..
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=13425bd4a00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ffa1da4399f74b2b
dashboard link:
https://syzkaller.appspot.com/bug?extid=86344a9e31c27aa6f15b
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+86344a...@syzkaller.appspotmail.com
uvm_fault(0xfffffd803f014630, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at rtm_report+0xe4: movl 0(%rax),%ecx
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
kernel page fault
uvm_fault(0xfffffd803f014630, 0x0, 0, 1) -> e
rtm_report(fffffd8036fb42a0,3,35d33fc7,0) at rtm_report+0xe4
sys/net/rtsock.c:631
end trace frame: 0xffff800022108ad0, count: 0
ddb> trace
rtm_report(fffffd8036fb42a0,3,35d33fc7,0) at rtm_report+0xe4
sys/net/rtsock.c:631
route_output(fffffd8034b0b800,fffffd803ead4900,0,0) at route_output+0x88a
sys/net/rtsock.c:819
route_usrreq(fffffd803ead4900,9,fffffd8034b0b800,0,0,ffff8000ffff8bc0) at
route_usrreq+0x363 sys/net/rtsock.c:271
sosend(fffffd803ead4900,0,ffff800022108c40,0,0,80) at sosend+0x660
sys/kern/uipc_socket.c:513
sendit(ffff8000ffff8bc0,3,ffff800022108d20,0,ffff800022108e30) at
sendit+0x53c sys/kern/uipc_syscalls.c:662
sys_sendto(ffff8000ffff8bc0,ffff800022108dc8,ffff800022108e30) at
sys_sendto+0x80 sys/kern/uipc_syscalls.c:527
syscall(ffff800022108ea0) at syscall+0x511
Xsyscall(6,0,ffffffffffffffd8,0,6,a7828116010) at Xsyscall+0x128
end of kernel
end trace frame: 0x303, count: -8
ddb> show registers
rdi 0xffffffff817ae520 rtm_report+0xc0
rsi 0x1a8
rbp 0xffff800022108990
rbx 0x100000 acpi_pdirpa+0xebe68
rdx 0x1a9
rcx 0xffff800002b91000
rax 0
r8 0xa0
r9 0x1
r10 0xffff80000198fc80
r11 0xe4c244b8e950d62b
r12 0xfffffd8036fb42a0
r13 0x35d33fc7
r14 0x100403 acpi_pdirpa+0xec26b
r15 0xb1
rip 0xffffffff817ae544 rtm_report+0xe4
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800022108800
ss 0x10
rtm_report+0xe4: movl 0(%rax),%ecx
ddb> show proc
PROC (syz-executor.0) pid=521083 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=54, usrpri=54, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff8710,0xffffffff822ba438
process=0xffff8000ffff6358 user=0xffff800022103000,
vmspace=0xfffffd803f014630
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
43275 511993 43541 0 2 0 syz-executor.0
*43275 521083 43541 0 7 0x4000000 syz-executor.0
23721 17260 71895 0 2 0x2 syz-executor.1
43541 291056 71895 0 3 0x82 nanosleep syz-executor.0
71895 488084 90148 0 3 0x82 thrsleep syz-fuzzer
71895 165566 90148 0 2 0x4000482 syz-fuzzer
71895 124352 90148 0 3 0x4000082 thrsleep syz-fuzzer
71895 273993 90148 0 3 0x4000082 thrsleep syz-fuzzer
71895 167809 90148 0 3 0x4000082 thrsleep syz-fuzzer
71895 442107 90148 0 3 0x4000082 kqread syz-fuzzer
71895 120609 90148 0 3 0x4000082 thrsleep syz-fuzzer
90148 118853 6024 0 3 0x10008a pause ksh
6024 283541 83568 0 3 0x92 select sshd
18225 491757 1 0 3 0x100083 ttyin getty
83568 41243 1 0 3 0x80 select sshd
17766 68593 41734 73 2 0x100090 syslogd
41734 232438 1 0 3 0x100082 netio syslogd
47679 511943 1 77 3 0x100090 poll dhclient
64796 306379 1 0 3 0x80 poll dhclient
39311 40453 0 0 2 0x14200 zerothread
21570 265563 0 0 3 0x14200 aiodoned aiodoned
70014 485914 0 0 3 0x14200 syncer update
76252 430457 0 0 3 0x14200 cleaner cleaner
82207 436607 0 0 3 0x14200 reaper reaper
19152 389609 0 0 3 0x14200 pgdaemon pagedaemon
91990 119825 0 0 3 0x14200 bored crynlk
91679 152370 0 0 3 0x14200 bored crypto
69638 1779 0 0 3 0x40014200 acpi0 acpi0
79261 256265 0 0 3 0x14200 bored softnet
83766 296747 0 0 3 0x14200 bored systqmp
33666 267558 0 0 3 0x14200 bored systq
53508 65562 0 0 3 0x40014200 bored softclock
30587 91691 0 0 3 0x40014200 idle0
92796 255635 0 0 3 0x14200 bored smr
1 370342 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 9479 6576K 6708K 78643K 10834 0 0
pcb 24 9K 10K 78643K 120 0 0
rtable 100 3K 3K 78643K 222 0 0
ifaddr 43 11K 11K 78643K 62 0 0
counters 19 16K 16K 78643K 19 0 0
ioctlops 0 0K 2K 78643K 20 0 0
iov 0 0K 24K 78643K 18 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1198 75K 75K 78643K 1333 0 0
UFS quota 1 32K 32K 78643K 1 0 0
UFS mount 5 36K 36K 78643K 5 0 0
shm 2 1K 1K 78643K 2 0 0
VM map 2 0K 0K 78643K 2 0 0
sem 12 0K 1K 78643K 28 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1793 195K 288K 78643K 12537 0 0
file desc 5 13K 25K 78643K 131 0 0
proc 41 30K 54K 78643K 280 0 0
subproc 64 65538K 67586K 78643K 102 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 8 0 0
in_multi 33 2K 2K 78643K 47 0 0
ether_multi 1 0K 0K 78643K 1 0 0
ISOFS mount 1 32K 32K 78643K 1 0 0
MSDOSFS mount 1 16K 16K 78643K 1 0 0
ttys 54 238K 238K 78643K 54 0 0
exec 0 0K 1K 78643K 176 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 73 20K 20K 78643K 1078 0 0
UVM aobj 8 2K 2K 78643K 8 0 0
memdesc 1 4K 4K 78643K 1 0 0
crypto data 1 1K 1K 78643K 1 0 0
ip6_options 0 0K 0K 78643K 1 0 0
NDP 7 0K 0K 78643K 17 0 0
temp 100 2682K 2746K 78643K 3324 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 5 0 1 1 0 1 1 0
8 0
inpcbpl 280 62 0 55 1 0 1 1 0
8 0
plimitpl 152 21 0 14 1 0 1 1 0
8 0
rtentry 112 50 0 10 2 0 2 2 0
8 0
syncache 264 4 0 4 1 1 0 1 0
8 0
tcpcb 544 22 0 18 1 0 1 1 0
8 0
nd6 48 6 0 2 1 0 1 1 0
8 0
ppxss 1128 3 0 3 1 0 1 1 0
8 1
art_heap8 4096 1 0 0 1 0 1 1 0
8 0
art_heap4 256 226 0 41 12 0 12 12 0
8 0
art_table 32 227 0 41 2 0 2 2 0
8 0
art_node 16 49 0 15 1 0 1 1 0
8 0
sysvmsgpl 40 2 0 0 1 0 1 1 0
8 0
semupl 112 1 0 1 1 0 1 1 0
8 1
semapl 112 26 0 16 1 0 1 1 0
8 0
shmpl 112 6 0 0 1 0 1 1 0
8 0
dirhash 1024 17 0 0 3 0 3 3 0
8 0
dino1pl 128 1621 0 215 46 0 46 46 0
8 0
ffsino 240 1621 0 215 84 0 84 84 0
8 0
nchpl 144 2000 0 377 61 0 61 61 0
8 0
uvmvnodes 72 1746 0 0 32 0 32 32 0
8 0
vnodes 200 1746 0 0 92 0 92 92 0
8 0
namei 1024 5313 0 5313 3 2 1 1 0
8 1
scxspl 192 5091 0 5091 8 7 1 7 0
8 1
sigapl 432 298 0 285 2 0 2 2 0
8 0
futexpl 56 2037 0 2037 1 0 1 1 0
8 1
knotepl 112 80 0 61 1 0 1 1 0
8 0
kqueuepl 104 22 0 20 1 0 1 1 0
8 0
pipepl 112 222 0 203 3 1 2 2 0
8 1
fdescpl 424 299 0 285 2 0 2 2 0
8 0
filepl 120 1735 0 1640 4 0 4 4 0
8 1
lockfpl 104 62 0 62 2 1 1 1 0
8 1
lockfspl 32 24 0 24 2 1 1 1 0
8 1
sessionpl 112 18 0 8 1 0 1 1 0
8 0
pgrppl 48 18 0 8 1 0 1 1 0
8 0
ucredpl 96 296 0 289 1 0 1 1 0
8 0
zombiepl 144 285 0 285 3 2 1 1 0
8 1
processpl 840 313 0 285 4 0 4 4 0
8 0
procpl 600 472 0 437 4 0 4 4 0
8 1
sockpl 384 161 0 143 3 0 3 3 0
8 1
mcl64k 65536 5 0 5 1 0 1 1 0
8 1
mcl16k 16384 2 0 2 1 0 1 1 0
8 1
mcl12k 12288 1 0 1 1 0 1 1 0
8 1
mcl9k 9216 2 0 2 1 0 1 1 0
8 1
mcl8k 8192 1 0 1 1 0 1 1 0
8 1
mcl4k 4096 15 0 15 2 1 1 1 0
8 1
mcl2k 2048 55472 0 55436 12 5 7 11 0
8 2
mtagpl 80 2 0 2 1 1 0 1 0
8 0
mbufpl 256 90932 0 90858 12 4 8 8 0
8 2
bufpl 256 5803 0 1139 292 0 292 292 0
8 0
anonpl 16 42154 0 32648 57 2 55 55 0 62
12
amapchunkpl 152 1279 0 1180 8 2 6 6 0
158 0
amappl16 192 1367 0 784 41 0 41 41 0 8
11
amappl14 176 26 0 25 2 1 1 1 0
8 0
amappl13 168 6 0 6 1 1 0 1 0
8 0
amappl12 160 65 0 59 1 0 1 1 0
8 0
amappl11 152 32 0 18 1 0 1 1 0
8 0
amappl10 144 116 0 111 2 1 1 1 0
8 0
amappl9 136 529 0 526 1 0 1 1 0
8 0
amappl8 128 126 0 113 1 0 1 1 0
8 0
amappl7 120 80 0 75 1 0 1 1 0
8 0
amappl6 112 53 0 46 1 0 1 1 0
8 0
amappl5 104 207 0 195 1 0 1 1 0
8 0
amappl4 96 490 0 462 2 1 1 2 0
8 0
amappl3 88 119 0 114 1 0 1 1 0
8 0
amappl2 80 1602 0 1550 3 1 2 2 0
8 0
amappl1 72 14334 0 13912 26 17 9 19 0
8 0
amappl 72 701 0 667 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 7 0 0 1 0 1 1 0
8 0
uaddrrnd 24 299 0 285 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 299 0 285 1 0 1 1 0
8 0
vmmpekpl 168 6327 0 6309 2 0 2 2 0
8 0
vmmpepl 168 39196 0 37677 103 16 87 87 0 357
20
vmsppl 264 298 0 285 2 1 1 2 0
8 0
pdppl 4096 604 0 570 6 1 5 6 0
8 0
pvpl 32 137619 0 125193 141 7 134 134 0 265
22
pmappl 200 298 0 285 1 0 1 1 0
8 0
extentpl 40 39 0 25 1 0 1 1 0
8 0
phpool 112 433 0 15 13 0 13 13 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#status for how to communicate with syzbot.