corrupted report (3)

0 views
Skip to first unread message

syzbot

unread,
Nov 16, 2019, 7:21:09 PM11/16/19
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: d8449269 Provide exact lock assertions for rwlocks when wi..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=15f3225ae00000
kernel config: https://syzkaller.appspot.com/x/.config?x=26ca0a9c07f16a3a
dashboard link: https://syzkaller.appspot.com/bug?extid=d0c02839a50337061666

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+d0c028...@syzkaller.appspotmail.com

kernel: protection fault trap, code=0
Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d
ddb{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
in_delmulti(7fffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:894
in_purgeaddr(ffff800000a49200) at in_purgeaddr+0x156 sys/netinet/in.c:740
in_ifdetach(ffff800000adb800) at in_ifdetach+0x74 sys/netinet/in.c:949
if_detach(ffff800000adb800) at if_detach+0x140 sys/net/if.c:1151
tun_clone_destroy(ffff800000adb800) at tun_clone_destroy+0x1c7
sys/net/if_tun.c:278
spec_close(ffff800023bcd8f0) at spec_close+0x311 sys/kern/spec_vnops.c:555
VOP_CLOSE(fffffd806e1e9278,7,fffffd807f7c68a0,ffff800020ace020) at
VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175
vn_closefile(fffffd8070a5dbe0,ffff800020ace020) at vn_closefile+0xd8
vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd8070a5dbe0,ffff800020ace020) at vn_closefile+0xd8
sys/kern/vfs_vnops.c:610
fdrop(fffffd8070a5dbe0,ffff800020ace020) at fdrop+0xc2
sys/kern/kern_descrip.c:1273
closef(fffffd8070a5dbe0,ffff800020ace020) at closef+0x11d
sys/kern/kern_descrip.c:1257
fdfree(ffff800020ace020) at fdfree+0x101 sys/kern/kern_descrip.c:1189
exit1(ffff800020ace020,1,1) at exit1+0x32f sys/kern/kern_exit.c:196
postsig(ffff800020ace020,1) at postsig+0x4e3 sigexit
sys/kern/kern_sig.c:1499 [inline]
postsig(ffff800020ace020,1) at postsig+0x4e3 sys/kern/kern_sig.c:1431
userret(ffff800020ace020) at userret+0x199 sys/kern/kern_sig.c:1889
Xsyscall() at Xsyscall+0x156
end of kernel
end trace frame: 0x7f7ffffcf970, count: -15
ddb{1}> show registers
rdi 0x2
rsi 0
rbp 0xffff800023bcd720
rbx 0
rdx 0xffff800020ace020
rcx 0
rax 0
r8 0xffffffff81567223 rt_ifa_purge+0x153
r9 0x5
r10 0x2f
r11 0x3285a9a498752f7c
r12 0
r13 0x3
r14 0x7fffffffffffffff
r15 0x1
rip 0xffffffff81fffe7d in_delmulti+0x8d
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800023bcd6c0
ss 0x10
in_delmulti+0x8d: movl 0xc(%r14),%r15d
ddb{1}> show proc
PROC (syz-executor.1) pid=352245 stat=onproc
flags process=a<EXEC,EXITING> proc=2000<WEXIT>
pri=81, usrpri=81, nice=20
forw=0xffffffffffffffff, list=0xffff800020a5e280,0xffff800020ace798
process=0xffff800020add880 user=0xffff800023bc8000,
vmspace=0xfffffd807f008000
estcpu=36, cpticks=3, pctcpu=0.39
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
16250 77878 1 0 3 0x3000 suspend syz-executor.0
16250 187544 1 0 2 0x4081000 syz-executor.0
47844 246705 0 0 3 0x14200 bored sosplice
67104 309719 7176 0 2 0x81082 syz-fuzzer
67104 231616 7176 0 3 0x4003002 suspend syz-fuzzer
67104 6912 7176 0 2 0x4081082 syz-fuzzer
67104 451287 7176 0 2 0x4081082 syz-fuzzer
67104 284528 7176 0 2 0x4081082 syz-fuzzer
67104 483955 7176 0 2 0x4081082 syz-fuzzer
7176 250834 1 0 3 0x100082 nanosleep ksh
65467 352295 1 0 3 0 biowait sshd
64634 295139 65387 74 2 0x100092 pflogd
65387 128360 1 0 3 0x80 netio pflogd
28733 394991 45321 73 2 0x100010 syslogd
45321 52 1 0 3 0x100082 netio syslogd
24695 138681 1 77 2 0x100090 dhclient
11641 460784 1 0 3 0x80 poll dhclient
50882 506750 0 0 2 0x14200 zerothread
84671 15415 0 0 3 0x14200 aiodoned aiodoned
23910 299543 0 0 3 0x14200 syncer update
18206 425141 0 0 3 0x14200 cleaner cleaner
49949 454338 0 0 7 0x14200 reaper
53053 164366 0 0 3 0x14200 pgdaemon pagedaemon
28197 229317 0 0 3 0x14200 bored crynlk
27613 458661 0 0 3 0x14200 bored crypto
14762 435904 0 0 3 0x40014200 acpi0 acpi0
47705 59025 0 0 3 0x40014200 idle1
66979 183670 0 0 2 0x14200 softnet
92208 311454 0 0 2 0x14200 systqmp
95151 203915 0 0 3 0x14200 bored systq
11990 502514 0 0 3 0x40014200 bored softclock
3715 110432 0 0 3 0x40014200 idle0
19550 18377 0 0 3 0x14200 bored smr
1 330314 0 0 2 0x2 init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 65467 (sshd) thread 0xffff800020ac1648 (352295)
exclusive rrwlock inode r = 0 (0xfffffd806dcae918)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x447 sys/kern/kern_rwlock.c:306
#2 rrw_enter+0x4f sys/kern/kern_rwlock.c:451
#3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5 vget+0x1c3 sys/kern/vfs_subr.c:672
#6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119
#7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1323
#8 ufs_lookup+0x14b4 sys/ufs/ufs/ufs_lookup.c:487
#9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#11 namei+0x63c sys/kern/vfs_lookup.c:249
#12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1785
#13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806f864c58)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x447 sys/kern/kern_rwlock.c:306
#2 rrw_enter+0x4f sys/kern/kern_rwlock.c:451
#3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5 vget+0x1c3 sys/kern/vfs_subr.c:672
#6 cache_lookup+0x2bb sys/kern/vfs_cache.c:224
#7 ufs_lookup+0x1bc sys/ufs/ufs/ufs_lookup.c:162
#8 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#9 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#10 namei+0x63c sys/kern/vfs_lookup.c:249
#11 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1785
#12 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#12 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#13 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim
devbuf 9535 6494K 7460K 78643K 13241 0 0
pcb 13 8K 8K 78643K 256 0 0
rtable 102 3K 4K 78643K 746 0 0
ifaddr 120 19K 20K 78643K 304 0 0
counters 39 33K 33K 78643K 39 0 0
ioctlops 0 0K 4K 78643K 1550 0 0
iov 0 0K 24K 78643K 326 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1228 77K 77K 78643K 2056 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 15 0 0
VM map 14 7K 7K 78643K 17 0 0
sem 12 1K 1K 78643K 56 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1809 196K 290K 78643K 12766 0 0
file desc 4 9K 25K 78643K 843 0 0
sigio 0 0K 0K 78643K 90 0 0
proc 54 51K 83K 78643K 706 0 0
subproc 23 1K 2K 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 97 0 0
in_multi 103 4K 5K 78643K 189 0 0
ether_multi 1 0K 0K 78643K 15 0 0
mrt 0 0K 0K 78643K 5 0 0
ISOFS mount 1 32K 32K 78643K 1 0 0
MSDOSFS mount 1 16K 16K 78643K 1 0 0
ttys 66 291K 291K 78643K 66 0 0
exec 0 0K 1K 78643K 366 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 128 120K 120K 78643K 4013 0 0
UVM aobj 86 8K 8K 78643K 86 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 211 0 0
NDP 13 0K 0K 78643K 64 0 0
temp 140 3555K 4195K 78643K 43501 0 0
kqueue 0 0K 0K 78643K 4 0 0
SYN cache 2 16K 16K 78643K 2 0 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg
Idle
arp 64 31 0 25 1 0 1 1 0
8 0
plcache 128 20 0 0 1 0 1 1 0
8 0
rtpcb 80 101 0 99 1 0 1 1 0
8 0
rtentry 112 119 0 78 2 0 2 2 0
8 0
unpcb 120 587 0 575 3 2 1 2 0
8 0
syncache 264 6 0 6 2 2 0 1 0
8 0
tcpqe 32 18 0 18 1 1 0 1 0
8 0
tcpcb 544 582 0 578 6 5 1 2 0
8 0
inpcb 280 2499 0 2494 5 4 1 3 0
8 0
rttmr 72 1 0 1 1 1 0 1 0
8 0
ip6q 72 1 0 1 1 1 0 1 0
8 0
ip6af 40 3 0 3 1 1 0 1 0
8 0
nd6 48 13 0 10 1 0 1 1 0
8 0
pkpcb 40 20 0 20 3 3 0 1 0
8 0
swfcl 56 2 0 0 1 0 1 1 0
8 0
ppxss 1128 28 0 28 7 7 0 1 0
8 0
pffrag 232 17 0 17 3 3 0 1 0
482 0
pffrnode 88 17 0 17 3 3 0 1 0
8 0
pffrent 40 717 0 717 3 3 0 1 0
8 0
pfosfp 40 846 0 423 5 0 5 5 0
8 0
pfosfpen 112 1428 0 714 21 0 21 21 0
8 0
pfstitem 24 144 0 59 1 0 1 1 0
8 0
pfstkey 112 144 0 59 3 0 3 3 0
8 0
pfstate 328 144 0 59 8 0 8 8 0
8 0
pfrule 1360 21 0 16 2 1 1 2 0
8 0
art_heap8 4096 2 0 0 2 0 2 2 0
8 0
art_heap4 256 468 0 251 15 1 14 15 0
8 0
art_table 32 470 0 251 2 0 2 2 0
8 0
art_node 16 118 0 78 1 0 1 1 0
8 0
sysvmsgpl 40 29 0 15 1 0 1 1 0
8 0
semupl 112 3 0 3 1 1 0 1 0
8 0
semapl 112 54 0 44 1 0 1 1 0
8 0
shmpl 112 84 0 0 3 0 3 3 0
8 0
dirhash 1024 17 0 0 3 0 3 3 0
8 0
dino1pl 128 2708 0 1296 46 0 46 46 0
8 0
ffsino 272 2708 0 1296 95 0 95 95 0
8 0
nchpl 144 4216 0 3749 61 41 20 61 0
8 0
uvmvnodes 72 3381 0 0 62 0 62 62 0
8 0
vnodes 208 3381 0 0 178 0 178 178 0
8 0
namei 1024 13716 0 13716 2 1 1 1 0
8 1
percpumem 16 30 0 0 1 0 1 1 0
8 0
vcpupl 1984 12 0 0 2 0 2 2 0
8 0
vmpool 552 15 0 3 1 0 1 1 0
8 0
scxspl 192 13088 0 13087 15 14 1 6 0
8 0
plimitpl 152 94 0 86 1 0 1 1 0
8 0
sigapl 432 1049 0 1037 4 1 3 3 0
8 1
futexpl 56 21166 0 21166 1 0 1 1 0
8 1
knotepl 112 156 0 137 1 0 1 1 0
8 0
kqueuepl 104 184 0 182 1 0 1 1 0
8 0
pipepl 160 628 0 616 7 6 1 2 0
8 0
fdescpl 488 1050 0 1037 3 0 3 3 0
8 0
filepl 152 9537 0 9457 10 5 5 7 0
8 0
lockfpl 104 315 0 314 1 0 1 1 0
8 0
lockfspl 48 110 0 109 1 0 1 1 0
8 0
sessionpl 112 25 0 14 1 0 1 1 0
8 0
pgrppl 48 32 0 21 1 0 1 1 0
8 0
ucredpl 96 1173 0 1164 1 0 1 1 0
8 0
zombiepl 144 1040 0 1034 1 0 1 1 0
8 0
processpl 896 1067 0 1034 5 0 5 5 0
8 0
procpl 632 2925 0 2882 5 0 5 5 0
8 0
srpgc 64 10 0 10 4 4 0 1 0
8 0
sosppl 128 29 0 29 3 3 0 1 0
8 0
sockpl 384 3209 0 3190 13 9 4 7 0
8 1
mcl64k 65536 261 0 0 33 0 33 33 0
8 0
mcl16k 16384 4 0 0 1 0 1 1 0
8 0
mcl12k 12288 7 0 0 1 0 1 1 0
8 0
mcl9k 9216 4 0 0 1 0 1 1 0
8 0
mcl8k 8192 14 0 0 2 0 2 2 0
8 0
mcl4k 4096 17 0 0 3 0 3 3 0
8 0
mcl2k2 2112 4 0 0 1 0 1 1 0
8 0
mcl2k 2048 160 0 0 19 0 19 19 0
8 0
mtagpl 80 28 0 0 1 0 1 1 0
8 0
mbufpl 256 457 0 0 25 0 25 25 0
8 0
bufpl 256 8631 0 1573 442 0 442 442 0
8 0
anonpl 16 231376 0 211543 112 13 99 104 0
124 5
amapchunkpl 152 7463 0 7311 20 10 10 12 0
158 1
amappl16 192 10652 0 9457 134 62 72 74 0 8
11
amappl14 176 453 0 447 1 0 1 1 0
8 0
amappl13 168 126 0 125 1 0 1 1 0
8 0
amappl12 160 11 0 8 2 1 1 1 0
8 0
amappl11 152 128 0 112 1 0 1 1 0
8 0
amappl10 144 206 0 200 1 0 1 1 0
8 0
amappl9 136 671 0 666 1 0 1 1 0
8 0
amappl8 128 244 0 208 2 0 2 2 0
8 0
amappl7 120 246 0 238 1 0 1 1 0
8 0
amappl6 112 128 0 117 1 0 1 1 0
8 0
amappl5 104 182 0 168 1 0 1 1 0
8 0
amappl4 96 959 0 930 2 1 1 2 0
8 0
amappl3 88 913 0 904 1 0 1 1 0
8 0
amappl2 80 7322 0 7252 3 0 3 3 0
8 0
amappl1 72 33735 0 33335 27 15 12 20 0
8 1
amappl 80 3309 0 3258 2 0 2 2 0
84 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
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 64 85 0 0 2 0 2 2 0
8 0
uaddrrnd 24 1065 0 1036 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 1065 0 1036 1 0 1 1 0
8 0
vmmpekpl 168 12680 0 12643 2 0 2 2 0
8 0
vmmpepl 168 146059 0 143777 202 46 156 157 0 357
43
vmsppl 368 1049 0 1035 2 0 2 2 0
8 0
pdppl 4096 2137 0 2088 8 0 8 8 0
8 0
pvpl 32 484085 0 461984 245 16 229 239 0 265
20
pmappl 232 1064 0 1038 2 0 2 2 0
8 0
extentpl 40 46 0 29 1 0 1 1 0
8 0
phpool 112 662 0 10 19 0 19 19 0
8 0
ddb{1}> serialport: VM disconnected.


---
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.

Anton Lindqvist

unread,
Nov 17, 2019, 9:10:36 AM11/17/19
to syzbot, syzkaller-o...@googlegroups.com
#syz dup: uvm_fault: in_delmulti
Reply all
Reply to author
Forward
0 new messages