Hello,
syzbot found the following issue on:
HEAD commit: 9e51cf64e7c3 Show file path in error messages
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=1755939b980000
kernel config:
https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link:
https://syzkaller.appspot.com/bug?extid=bd55ef234c2340a5ceb0
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/01a1478b7343/disk-9e51cf64.raw.xz
bsd.gdb:
https://storage.googleapis.com/syzbot-assets/72c991499a3c/bsd-9e51cf64.gdb.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/3949cbb306e6/kernel-9e51cf64.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+bd55ef...@syzkaller.appspotmail.com
login: uvm_fault(0xfffffd806bfad5b8, 0x18, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at ether_frm_ctloutput+0x2df: movl 0x18(%r15),%ebx
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*314493 92492 0 0 0x4000000 0 syz-executor
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_group sys/net/if_ethersubr.c:1833 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_setsockopt sys/net/if_ethersubr.c:1981 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df sys/net/if_ethersubr.c:2047
sosetopt(ffff800001410c60,6,41,0) at sosetopt+0x11b sys/kern/uipc_socket.c:-1
sys_setsockopt(ffff80003c536020,ffff80003c535da0,ffff80003c535cf0) at sys_setsockopt+0x2b9 sys/kern/uipc_syscalls.c:1221
syscall(ffff80003c535da0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c535da0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe72624078c0, 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(0xfffffd806bfad5b8, 0x18, 0, 1) -> e
ddb> trace
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_group sys/net/if_ethersubr.c:1833 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_setsockopt sys/net/if_ethersubr.c:1981 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df sys/net/if_ethersubr.c:2047
sosetopt(ffff800001410c60,6,41,0) at sosetopt+0x11b sys/kern/uipc_socket.c:-1
sys_setsockopt(ffff80003c536020,ffff80003c535da0,ffff80003c535cf0) at sys_setsockopt+0x2b9 sys/kern/uipc_syscalls.c:1221
syscall(ffff80003c535da0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c535da0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe72624078c0, count: -5
ddb> show registers
rdi 0xffff800035d0c000
rsi 0x2a
rbp 0xffff80003c535c00
rbx 0x6
rdx 0xffff800035d0c000
rcx 0x29
rax 0xffffffff81aa2069 rw_assert_wrlock+0x89
r8 0
r9 0
r10 0
r11 0xc69617593f7793fe
r12 0xffff800001410c60
r13 0xffff80000149fd80
r14 0x41
r15 0
rip 0xffffffff814258af ether_frm_ctloutput+0x2df
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80003c535b50
ss 0x10
ether_frm_ctloutput+0x2df: movl 0x18(%r15),%ebx
ddb> show proc
PROC (syz-executor) tid=314493 pid=92492 tcnt=2 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c536a60,0xffffffff8393be80
process=0xffff8000ffff5178 user=0xffff80003c530000, vmspace=0xfffffd806bfad5b8
estcpu=36, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
92492 111850 59742 0 2 0 syz-executor
*92492 314493 59742 0 7 0x4000000 syz-executor
91886 245487 74900 0 2 0xc80 syz-executor
91886 301563 74900 0 2 0x4000000 syz-executor
91886 115155 74900 0 3 0x4000080 fsleep syz-executor
65928 326890 53339 0 3 0x80 nanoslp syz-executor
65928 195389 53339 0 3 0x4000080 nanoslp syz-executor
65928 143591 53339 0 3 0x4000080 fsleep syz-executor
29596 432619 15854 0 3 0x80 nanoslp syz-executor
29596 484148 15854 0 3 0x4000080 netacc syz-executor
29596 290450 15854 0 3 0x4000080 netacc syz-executor
29596 42188 15854 0 3 0x4000080 fsleep syz-executor
53398 474482 16013 0 2 0xc80 syz-executor
53398 457397 16013 0 3 0x4000080 kqpoll syz-executor
53398 49415 16013 0 3 0x4000080 fsleep syz-executor
91964 243958 28221 0 3 0x80 nanoslp syz-executor
91964 110819 28221 0 2 0x4000080 syz-executor
21178 63703 9337 0 2 0xc80 syz-executor
21178 523669 9337 0 3 0x4000080 kqsel syz-executor
21178 108997 9337 0 3 0x4000080 fsleep syz-executor
37558 442802 1 0 3 0x100083 ttyin getty
40687 333921 47977 0 2 0x2 syz-executor
67304 213931 0 0 3 0x14280 nfsidl nfsio
46886 209573 0 0 3 0x14280 nfsidl nfsio
79781 374875 0 0 3 0x14280 nfsidl nfsio
13771 336421 0 0 3 0x14280 nfsidl nfsio
59676 223749 0 0 3 0x14280 nfsidl nfsio
63921 135331 0 0 3 0x14280 nfsidl nfsio
58334 108760 0 0 3 0x14280 nfsidl nfsio
62583 514940 0 0 3 0x14280 nfsidl nfsio
90198 237137 0 0 3 0x14280 nfsidl nfsio
88196 201626 0 0 3 0x14280 nfsidl nfsio
66074 235018 0 0 3 0x14280 nfsidl nfsio
26436 419645 0 0 3 0x14280 nfsidl nfsio
57032 295163 0 0 3 0x14280 nfsidl nfsio
32741 314065 0 0 3 0x14280 nfsidl nfsio
51197 140946 0 0 3 0x14280 nfsidl nfsio
79775 470365 0 0 3 0x14280 nfsidl nfsio
14632 137484 0 0 3 0x14280 nfsidl nfsio
27324 246389 0 0 3 0x14280 nfsidl nfsio
16479 191140 0 0 3 0x14280 nfsidl nfsio
77275 131978 0 0 3 0x14280 nfsidl nfsio
45207 477511 0 0 3 0x14200 acct acct
56122 179408 0 0 3 0x14200 bored sosplice
28221 145135 47977 0 3 0x82 nanoslp syz-executor
59742 80654 47977 0 3 0x82 nanoslp syz-executor
16013 216017 47977 0 2 0xc82 syz-executor
74900 478255 47977 0 2 0xc82 syz-executor
53339 334080 47977 0 3 0x82 nanoslp syz-executor
9337 516968 47977 0 2 0xc82 syz-executor
15854 510179 47977 0 2 0xc82 syz-executor
47977 42487 12179 0 3 0x82 kqread syz-executor
12179 52980 74156 0 3 0x10008a sigsusp ksh
74156 408627 85643 0 3 0x98 kqread sshd-session
85643 386029 50918 0 3 0x92 kqread sshd-session
50918 387432 1 0 3 0x88 kqread sshd
85198 214214 72339 73 3 0x1100090 kqread syslogd
72339 397309 1 0 3 0x100082 sbwait syslogd
30947 139166 1 0 3 0x100080 kqread resolvd
89264 303407 47850 77 3 0x100092 kqread dhcpleased
46931 34889 47850 77 3 0x100092 kqread dhcpleased
47850 258496 1 0 3 0x80 kqread dhcpleased
11877 80137 0 0 3 0x14200 bored smr
20735 154996 0 0 2 0x14200 zerothread
87059 92946 0 0 3 0x14200 aiodoned aiodoned
89116 116532 0 0 3 0x14200 syncer update
26743 282284 0 0 3 0x14200 cleaner cleaner
99134 139423 0 0 3 0x14200 reaper reaper
815 70663 0 0 3 0x14200 pgdaemon pagedaemon
92079 73323 0 0 3 0x14200 bored viomb
55323 79852 0 0 3 0x40014200 acpi0 acpi0
39208 460146 0 0 3 0x14200 bored softnet3
18273 191054 0 0 3 0x14200 bored softnet2
79870 81037 0 0 3 0x14200 bored softnet1
17105 69474 0 0 3 0x14200 bored softnet0
31052 63956 0 0 3 0x14200 bored systqmp
96258 153400 0 0 3 0x14200 bored systq
80168 460207 0 0 3 0x40014200 tmoslp softclock
98407 390482 0 0 3 0x40014200 idle0
1 317145 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 10184 11119K 11431K 166960K 12210 0
pcb 19 14K 16K 166960K 290 0
rtable 228 7K 7K 166960K 471 0
pf 32 13K 15K 166960K 54 0
ifaddr 40 7K 7K 166960K 61 0
ifgroup 50 2K 2K 166960K 75 0
sysctl 2 1K 1K 166960K 2 0
counters 30 17K 17K 166960K 43 0
ioctlops 0 0K 4K 166960K 102 0
iov 0 0K 16K 166960K 136 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1408 89K 89K 166960K 1800 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 13 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 16 0
dirhash 12 2K 2K 166960K 24 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 17 61K 97K 166960K 593 0
sigio 0 0K 0K 166960K 15 0
proc 60 59K 124K 166960K 569 0
subproc 72 4K 4K 166960K 81 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 117 0
in_multi 94 6K 7K 166960K 130 0
ether_multi 1 0K 0K 166960K 5 0
mrt 1 0K 0K 166960K 3 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 103 466K 466K 166960K 103 0
exec 0 0K 1K 166960K 426 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 2 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 231 151K 167K 166960K 6607 0
UVM aobj 84 3K 3K 166960K 85 0
pinsyscall 38 76K 96K 166960K 1649 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 54 0
NDP 11 0K 1K 166960K 40 0
temp 48 8676K 8740K 166960K 16815 0
kqueue 15 24K 30K 166960K 115 0
SYN cache 2 16K 16K 166960K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 95 0 92 1 0 1 1 0 8 0
rtentry 136 143 0 39 4 0 4 4 0 8 0
unpcb 144 584 0 568 6 0 6 6 0 8 5
syncache 336 3 0 3 1 1 0 1 0 8 0
tcpcb 808 117 0 112 4 0 4 4 0 8 3
arp 88 21 0 3 1 0 1 1 0 8 0
ipq 40 1 0 0 1 0 1 1 0 8 0
ipqe 40 1 0 0 1 0 1 1 0 8 0
inpcb 344 818 0 807 22 13 9 13 0 8 7
nd6 104 31 0 9 1 0 1 1 0 8 0
pkpcb 40 4 0 4 2 1 1 1 0 8 1
kcovpl 48 9 0 1 1 0 1 1 0 8 0
mppekey 1024 2 0 2 1 0 1 1 0 8 1
ppxss 1072 11 0 11 1 0 1 1 0 8 1
pppxif 1384 1 0 1 1 0 1 1 0 8 1
pfstscr 40 2 0 1 1 0 1 1 0 8 0
pfrktable 1344 1 0 1 1 0 1 1 0 8 1
pfstitem 24 2 0 0 1 0 1 1 0 8 0
pfstkey 128 3 0 1 1 0 1 1 0 8 0
pfstate 384 2 0 1 1 0 1 1 0 8 0
rttmr 136 1 0 1 1 0 1 1 0 8 1
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 598 0 161 31 0 31 31 0 8 2
art_table 32 599 0 161 4 0 4 4 0 8 0
art_node 16 133 0 38 1 0 1 1 0 8 0
sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1
semapl 112 14 0 4 1 0 1 1 0 8 0
shmpl 112 82 0 1 3 0 3 3 0 8 0
dirhash 1024 25 0 8 3 0 3 3 0 8 0
dino2pl 256 2406 0 897 95 0 95 95 0 8 0
ffsino 248 2406 0 897 95 0 95 95 0 8 0
nchpl 144 3213 0 1527 63 0 63 63 0 8 0
uvmvnodes 80 2764 0 0 57 0 57 57 0 8 0
vnodes 216 2764 0 0 154 0 154 154 0 8 0
namei 1024 10969 0 10969 3 2 1 2 0 8 1
kstatmem 264 42 0 20 2 0 2 2 0 8 0
scsiplug 72 1 0 1 1 0 1 1 0 8 1
scxspl 216 9909 0 9909 6 2 4 4 1 8 4
plimitpl 152 124 0 107 1 0 1 1 0 8 0
sigapl 424 892 0 825 9 1 8 8 0 8 0
futexpl 64 7025 0 7020 1 0 1 1 0 8 0
knotepl 120 19703 0 19646 12 2 10 10 0 8 8
kqueuepl 184 193 0 179 3 0 3 3 0 8 2
pipepl 296 146 0 117 3 0 3 3 0 8 0
fdescpl 440 854 0 825 5 1 4 5 0 8 0
filepl 120 5038 0 4811 16 2 14 14 0 8 6
lockfpl 104 276 0 271 2 0 2 2 0 8 1
lockfspl 48 95 0 90 1 0 1 1 0 8 0
sessionpl 144 24 0 16 1 0 1 1 0 8 0
pgrppl 48 35 0 19 1 0 1 1 0 8 0
ucredpl 104 510 0 498 1 0 1 1 0 8 0
zombiepl 144 825 0 825 2 1 1 1 0 8 1
processpl 1112 892 0 825 5 0 5 5 0 8 0
procpl 656 1528 0 1448 8 0 8 8 0 8 1
sosppl 168 3 0 3 2 1 1 1 0 8 1
sockpl 528 1511 0 1480 21 11 10 13 0 8 7
mcl64k 65536 15 0 15 2 1 1 1 0 8 1
mcl16k 16384 4 0 4 2 1 1 1 0 8 1
mcl12k 12288 3 0 3 2 1 1 1 0 8 1
mcl9k 9216 2 0 2 1 0 1 1 0 8 1
mcl8k 8192 18 0 18 2 1 1 1 0 8 1
mcl4k 4096 3086 0 3034 14 6 8 13 0 8 0
mcl2k2 2112 5 0 5 2 1 1 1 0 8 1
mcl2k 2048 534 0 530 3 1 2 2 0 8 1
mtagpl 96 28 0 6 1 0 1 1 0 8 0
mbufpl 256 9218 0 9016 21 0 21 21 0 8 7
bufpl 280 3127 0 120 215 0 215 215 0 8 0
anonpl 24 149730 0 146344 60 3 57 57 0 187 32
amapchunkpl 152 21179 0 20685 42 16 26 32 0 158 5
amappl16 200 3115 0 3070 25 13 12 15 0 8 8
amappl15 192 4 0 4 1 1 0 1 0 8 0
amappl14 184 108 0 98 1 0 1 1 0 8 0
amappl13 176 5 0 5 1 1 0 1 0 8 0
amappl12 168 1476 0 1447 2 0 2 2 0 8 0
amappl11 160 47 0 37 1 0 1 1 0 8 0
amappl10 152 8 0 8 1 1 0 1 0 8 0
amappl9 144 247 0 247 1 1 0 1 0 8 0
amappl8 136 21 0 20 1 0 1 1 0 8 0
amappl7 128 98 0 88 1 0 1 1 0 8 0
amappl6 120 184 0 181 1 0 1 1 0 8 0
amappl5 112 119 0 112 1 0 1 1 0 8 0
amappl4 104 315 0 299 1 0 1 1 0 8 0
amappl3 96 4062 0 3949 3 0 3 3 0 8 0
amappl2 88 640 0 584 2 0 2 2 0 8 0
amappl1 80 9797 0 9252 13 1 12 13 0 8 0
amappl 88 5862 0 5696 4 0 4 4 0 92 0
dma65536 65536 2 0 2 1 1 0 1 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 84 0 1 2 0 2 2 0 8 0
uaddrrnd 24 854 0 825 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 854 0 825 1 0 1 1 0 8 0
vmmpekpl 168 7929 0 7893 2 0 2 2 0 8 0
vmmpepl 168 59163 0 57295 94 1 93 93 0 357 8
vmsppl 360 853 0 825 4 1 3 4 0 8 0
rwobjpl 32 20427 0 16712 31 0 31 31 0 8 0
pdppl 4096 1715 0 1650 105 38 67 83 0 8 2
pvpl 32 389264 0 380125 123 3 120 120 0 265 35
pmappl 216 853 0 825 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 292 0 54 7 0 7 7 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_group sys/net/if_ethersubr.c:1833 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_setsockopt sys/net/if_ethersubr.c:1981 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df sys/net/if_ethersubr.c:2047
sosetopt(ffff800001410c60,6,41,0) at sosetopt+0x11b sys/kern/uipc_socket.c:-1
sys_setsockopt(ffff80003c536020,ffff80003c535da0,ffff80003c535cf0) at sys_setsockopt+0x2b9 sys/kern/uipc_syscalls.c:1221
syscall(ffff80003c535da0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c535da0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe72624078c0, count: -5
ddb> machine ddbcpu 1
No such command
ddb> trace
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_group sys/net/if_ethersubr.c:1833 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df ether_frm_setsockopt sys/net/if_ethersubr.c:1981 [inline]
ether_frm_ctloutput(1,ffff800001410c60,6,41,0) at ether_frm_ctloutput+0x2df sys/net/if_ethersubr.c:2047
sosetopt(ffff800001410c60,6,41,0) at sosetopt+0x11b sys/kern/uipc_socket.c:-1
sys_setsockopt(ffff80003c536020,ffff80003c535da0,ffff80003c535cf0) at sys_setsockopt+0x2b9 sys/kern/uipc_syscalls.c:1221
syscall(ffff80003c535da0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c535da0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe72624078c0, 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 report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup