panic (2)

1 view
Skip to first unread message

syzbot

unread,
Nov 25, 2020, 11:02:18 PM11/25/20
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 612426fe Teach route(8) about the names of the IEEE80211_F..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=17c479b3500000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=cfb1a3afafb6aa636198

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cfb1a3...@syzkaller.appspotmail.com

ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
witness_checkorder(ffffffff826ab340,9,0) at witness_checkorder+0x1049
rw_enter_write(ffffffff826ab330) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:127
uvn_get(fffffd8069b71a78,0,ffff800023506b48,ffff800023506b2c,0,1) at uvn_get+0xeb uvm_vnode_lock sys/uvm/uvm_vnode.c:1501 [inline]
uvn_get(fffffd8069b71a78,0,ffff800023506b48,ffff800023506b2c,0,1) at uvn_get+0xeb sys/uvm/uvm_vnode.c:993
uvm_fault_lower(ffff800023506cc0,ffff800023506cf8,ffff800023506bc0,0,1) at uvm_fault_lower+0x706 sys/uvm/uvm_fault.c:1126
uvm_fault(fffffd8065d7ba20,20000000,0,1) at uvm_fault+0x16f sys/uvm/uvm_fault.c:956
kpageflttrap(ffff800023506e50,20000000) at kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265
kerntrap(ffff800023506e50) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
copyin() at copyin+0x53
sys_connect(ffff80002123ca58,ffff800023507018,ffff800023507060) at sys_connect+0x9b sys/kern/uipc_syscalls.c:362
syscall(ffff8000235070e0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000235070e0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf942abbeef0, count: -13
ddb{1}> show registers
rdi 0x3
rsi 0x40000 acpi_pdirpa+0x2be68
rbp 0xffff800023506930
rbx 0x3
rdx 0xffff800000ac3840
rcx 0x3
rax 0x3ffff acpi_pdirpa+0x2be67
r8 0xffffffff81520b5f witness_checkorder+0x101f
r9 0x5
r10 0x28f4c52e60adfe8d
r11 0x1645f9416a1a46cb
r12 0xffffffff82805c70 w_lodata+0x43ad0
r13 0xffffffff826ab340 netlock+0x10
r14 0xffffffff828040f0 w_lodata+0x41f50
r15 0xfffffd8002ccb600
rip 0xffffffff81e5c848 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800023506920
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.1) pid=82329 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff80002123dc48,0xffff80002123cf88
process=0xffff8000212358d0 user=0xffff800023502000, vmspace=0xfffffd8065d7ba20
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=0, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
46301 207686 25737 0 2 0 syz-executor.0
46301 503715 25737 0 2 0x4000000 syz-executor.0
35447 221611 89149 0 7 0 syz-executor.1
*35447 82329 89149 0 7 0x4000000 syz-executor.1
25737 265491 1080 0 3 0x82 nanosleep syz-executor.0
89149 192410 1080 0 3 0x82 nanosleep syz-executor.1
32367 66283 0 0 3 0x14200 acct acct
78786 478318 1 0 3 0x100083 ttyin getty
9825 182207 0 0 3 0x14200 bored sosplice
1080 431805 31689 0 3 0x82 thrsleep syz-fuzzer
1080 303232 31689 0 3 0x4000082 nanosleep syz-fuzzer
1080 77911 31689 0 3 0x4000082 thrsleep syz-fuzzer
1080 29156 31689 0 3 0x4000082 thrsleep syz-fuzzer
1080 303184 31689 0 3 0x4000082 thrsleep syz-fuzzer
1080 13981 31689 0 3 0x4000082 kqread syz-fuzzer
1080 342598 31689 0 3 0x4000082 thrsleep syz-fuzzer
1080 462740 31689 0 3 0x4000082 thrsleep syz-fuzzer
31689 263940 75784 0 3 0x10008a pause ksh
75784 194276 32135 0 3 0x92 select sshd
32135 455245 1 0 3 0x80 select sshd
56839 73839 51909 74 3 0x100092 bpf pflogd
51909 298817 1 0 3 0x80 netio pflogd
68047 130746 51969 73 3 0x100090 kqread syslogd
51969 271905 1 0 3 0x100082 netio syslogd
89385 173496 1 77 3 0x100090 poll dhclient
83911 257777 1 0 3 0x80 poll dhclient
84379 310139 0 0 3 0x14200 bored smr
62024 388727 0 0 2 0x14200 zerothread
47993 21448 0 0 3 0x14200 aiodoned aiodoned
26494 421413 0 0 3 0x14200 syncer update
24831 447294 0 0 3 0x14200 cleaner cleaner
86797 481368 0 0 3 0x14200 reaper reaper
76912 223282 0 0 3 0x14200 pgdaemon pagedaemon
40527 268243 0 0 3 0x14200 bored crynlk
45400 376373 0 0 3 0x14200 bored crypto
85064 279913 0 0 3 0x14200 bored viomb
82770 388359 0 0 3 0x40014200 acpi0 acpi0
69748 165424 0 0 3 0x40014200 idle1
67499 157387 0 0 3 0x14200 bored softnet
76021 255216 0 0 3 0x14200 bored systqmp
52343 179500 0 0 3 0x14200 bored systq
64366 202105 0 0 3 0x40014200 bored softclock
84502 377223 0 0 3 0x40014200 idle0
1 163978 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 35447 (syz-executor.1) thread 0xffff80002123ca58 (82329)
exclusive rrwlock inode r = 0 (0xfffffd806ed454d8)
#0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176
#1 rw_enter+0x446 sys/kern/kern_rwlock.c:311
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462
#3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614
#4 vn_lock+0x6c sys/kern/vfs_vnops.c:575
#5 uvn_get+0xd7 uvm_vnode_lock sys/uvm/uvm_vnode.c:1499 [inline]
#5 uvn_get+0xd7 sys/uvm/uvm_vnode.c:993
#6 uvm_fault_lower+0x706 sys/uvm/uvm_fault.c:1126
#7 uvm_fault+0x16f sys/uvm/uvm_fault.c:956
#8 kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265
#9 kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
#10 alltraps_kern_meltdown+0x7b
#11 copyin+0x53
#12 sys_connect+0x9b sys/kern/uipc_syscalls.c:362
#13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
#14 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b5548)
#0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176
#1 syscall+0x3fd mi_syscall sys/sys/syscall_mi.h:93 [inline]
#1 syscall+0x3fd sys/arch/amd64/amd64/trap.c:590
#2 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9593 6652K 7470K 78643K 17975 0
pcb 13 8K 8K 78643K 306 0
rtable 100 12K 15K 78643K 1266 0
ifaddr 102 18K 19K 78643K 480 0
sysctl 2 0K 1K 78643K 3 0
counters 45 34K 34K 78643K 195 0
ioctlops 0 0K 4K 78643K 1783 0
iov 0 0K 16K 78643K 226 0
mount 1 1K 1K 78643K 1 0
vnodes 1226 77K 78K 78643K 3768 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 26 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 1K 78643K 378 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1825 197K 290K 78643K 13109 0
file desc 6 17K 25K 78643K 6614 0
sigio 0 0K 0K 78643K 27 0
proc 62 63K 95K 78643K 1087 0
subproc 32 2K 2K 78643K 155 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 416 0
in_multi 30 2K 2K 78643K 404 0
ether_multi 1 0K 0K 78643K 81 0
mrt 0 0K 0K 78643K 12 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 67 307K 307K 78643K 67 0
exec 0 0K 2K 78643K 785 0
pfkey data 0 0K 1K 78643K 10 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 223 155K 156K 78643K 16772 0
UVM aobj 47 7K 7K 78643K 48 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 364 0
NDP 19 0K 0K 78643K 121 0
temp 159 3975K 4039K 78643K 44052 0
kqueue 3 4K 22K 78643K 367 0
SYN cache 2 16K 16K 78643K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 64 21 0 15 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 120 214 0 212 1 0 1 1 0 8 0
rtentry 112 169 0 135 2 0 2 2 0 8 0
unpcb 120 1483 0 1472 2 1 1 2 0 8 0
syncache 296 69 0 69 12 12 0 1 0 8 0
tcpqe 32 372 0 372 6 6 0 1 0 8 0
tcpcb 736 1150 0 1142 12 10 2 4 0 8 0
inpcb 296 2653 0 2644 11 9 2 2 0 8 1
rttmr 72 10 0 10 3 3 0 1 0 8 0
nd6 48 37 0 30 1 0 1 1 0 8 0
pkpcb 40 19 0 19 5 5 0 1 0 8 0
kcovpl 48 9 0 7 1 0 1 1 0 8 0
swfcl 56 10 0 0 1 0 1 1 0 8 0
ppxss 1128 31 0 30 1 0 1 1 0 8 0
pffrag 232 2 0 2 1 1 0 1 0 482 0
pffrnode 88 2 0 2 1 1 0 1 0 8 0
pffrent 40 8 0 8 3 3 0 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfrktable 1344 34 0 32 1 0 1 1 0 8 0
pfstitem 24 14 0 12 1 0 1 1 0 8 0
pfstkey 112 14 0 12 1 0 1 1 0 8 0
pfstate 328 14 0 12 2 1 1 2 0 8 0
pfrule 1360 138 0 118 3 1 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 842 0 657 20 8 12 14 0 8 0
art_table 32 843 0 657 2 0 2 2 0 8 0
art_node 16 166 0 138 1 0 1 1 0 8 0
sysvmsgpl 40 46 0 34 2 1 1 1 0 8 0
semupl 112 5 0 5 1 1 0 1 0 8 0
semapl 112 376 0 366 1 0 1 1 0 8 0
shmpl 112 45 0 1 2 0 2 2 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 9565 0 8154 92 3 89 90 0 8 0
ffsino 272 9565 0 8154 96 1 95 96 0 8 0
nchpl 144 17211 0 15624 60 0 60 60 0 8 0
uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0
vnodes 208 5926 0 0 312 0 312 312 0 8 0
namei 1024 43902 0 43902 1 0 1 1 0 8 1
percpumem 16 108 0 75 1 0 1 1 0 8 0
vcpupl 1984 12 0 0 2 0 2 2 0 8 0
vmpool 560 12 0 0 1 0 1 1 0 8 0
pfiaddrpl 120 8 0 8 1 1 0 1 0 8 0
scsiplug 72 10 0 10 3 3 0 1 0 8 0
scxspl 216 54697 0 54697 20 16 4 8 0 8 4
plimitpl 152 253 0 245 1 0 1 1 0 8 0
sigapl 424 6817 0 6782 4 0 4 4 0 8 0
futexpl 56 45358 0 45358 1 0 1 1 0 8 1
knotepl 112 606 0 586 2 1 1 2 0 8 0
kqueuepl 152 3519 0 3517 1 0 1 1 0 8 0
pipepl 304 366 0 355 11 9 2 2 0 8 0
fdescpl 496 6794 0 6777 3 0 3 3 0 8 0
filepl 152 23169 0 23065 7 2 5 6 0 8 0
lockfpl 104 713 0 712 1 0 1 1 0 8 0
lockfspl 48 304 0 303 1 0 1 1 0 8 0
sessionpl 144 26 0 15 1 0 1 1 0 8 0
pgrppl 48 34 0 23 1 0 1 1 0 8 0
ucredpl 96 2844 0 2835 1 0 1 1 0 8 0
zombiepl 144 6782 0 6782 1 0 1 1 0 8 1
processpl 1056 6817 0 6782 3 0 3 3 0 8 0
procpl 656 15488 0 15444 7 3 4 5 0 8 0
sosppl 168 51 0 51 4 4 0 1 0 8 0
sockpl 400 4380 0 4358 17 14 3 6 0 8 0
mcl64k 65536 25 0 0 3 0 3 3 0 8 0
mcl16k 16384 12 0 0 2 0 2 2 0 8 0
mcl12k 12288 17 0 0 2 0 2 2 0 8 0
mcl9k 9216 16 0 0 2 0 2 2 0 8 0
mcl8k 8192 17 0 0 3 1 2 3 0 8 0
mcl4k 4096 26 0 0 4 1 3 3 0 8 0
mcl2k2 2112 4 0 0 1 0 1 1 0 8 0
mcl2k 2048 354 0 0 22 1 21 21 0 8 0
mtagpl 96 274 0 0 7 0 7 7 0 8 0
mbufpl 256 903 0 0 44 0 44 44 0 8 0
bufpl 280 14014 0 7765 447 0 447 447 0 8 0
anonpl 16 557793 0 548225 103 64 39 57 0 124 0
amapchunkpl 152 29031 0 28778 48 36 12 24 0 158 0
amappl16 192 24640 0 24286 73 55 18 35 0 8 0
amappl15 184 1066 0 1064 1 0 1 1 0 8 0
amappl14 176 24 0 18 1 0 1 1 0 8 0
amappl13 168 1527 0 1524 1 0 1 1 0 8 0
amappl12 160 574 0 568 1 0 1 1 0 8 0
amappl11 152 1358 0 1343 1 0 1 1 0 8 0
amappl10 144 16 0 12 1 0 1 1 0 8 0
amappl9 136 2191 0 2191 2 2 0 1 0 8 0
amappl8 128 372 0 269 4 0 4 4 0 8 0
amappl7 120 2509 0 2499 1 0 1 1 0 8 0
amappl6 112 103 0 88 1 0 1 1 0 8 0
amappl5 104 6169 0 6149 1 0 1 1 0 8 0
amappl4 96 2206 0 2177 1 0 1 1 0 8 0
amappl3 88 2876 0 2868 1 0 1 1 0 8 0
amappl2 80 47036 0 46958 3 1 2 3 0 8 0
amappl1 72 212380 0 211878 31 21 10 19 0 8 0
amappl 80 15926 0 15844 2 0 2 2 0 84 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 64 47 0 1 1 0 1 1 0 8 0
uaddrrnd 24 6806 0 6777 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 6806 0 6777 1 0 1 1 0 8 0
vmmpekpl 168 37935 0 37895 3 0 3 3 0 8 0
vmmpepl 168 866521 0 864744 150 71 79 89 0 357 1
vmsppl 368 6805 0 6777 3 0 3 3 0 8 0
pdppl 4096 13619 0 13566 69 16 53 53 0 8 0
pvpl 32 2416596 0 2403568 284 166 118 149 0 265 12
pmappl 232 6805 0 6777 3 1 2 2 0 8 0
extentpl 40 57 0 39 1 0 1 1 0 8 0
phpool 112 398 0 58 10 0 10 10 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff8271aff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff828b5340) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff828b5340) at __mp_lock+0x122 sys/kern/kern_lock.c:147
intr_handler(ffff800021ecd250,ffff80000065a300) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532
Xintr_ioapic_edge4_untramp() at Xintr_ioapic_edge4_untramp+0x18f
end of kernel
end trace frame: 0x7f7ffffdc8c0, count: -6
ddb{0}> machine ddbcpu 1
Stopped at db_enter+0x18: addq $0x8,%rsp
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
witness_checkorder(ffffffff826ab340,9,0) at witness_checkorder+0x1049
rw_enter_write(ffffffff826ab330) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:127
uvn_get(fffffd8069b71a78,0,ffff800023506b48,ffff800023506b2c,0,1) at uvn_get+0xeb uvm_vnode_lock sys/uvm/uvm_vnode.c:1501 [inline]
uvn_get(fffffd8069b71a78,0,ffff800023506b48,ffff800023506b2c,0,1) at uvn_get+0xeb sys/uvm/uvm_vnode.c:993
uvm_fault_lower(ffff800023506cc0,ffff800023506cf8,ffff800023506bc0,0,1) at uvm_fault_lower+0x706 sys/uvm/uvm_fault.c:1126
uvm_fault(fffffd8065d7ba20,20000000,0,1) at uvm_fault+0x16f sys/uvm/uvm_fault.c:956
kpageflttrap(ffff800023506e50,20000000) at kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265
kerntrap(ffff800023506e50) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
copyin() at copyin+0x53
sys_connect(ffff80002123ca58,ffff800023507018,ffff800023507060) at sys_connect+0x9b sys/kern/uipc_syscalls.c:362
syscall(ffff8000235070e0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000235070e0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf942abbeef0, count: -13


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

syzbot

unread,
Nov 30, 2020, 6:01:15 AM11/30/20
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 592010ac Enable mvsw(4).
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=16f7f445500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=cfb1a3afafb6aa636198
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12b2ed79500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cfb1a3...@syzkaller.appspotmail.com

login: show panic
Password:
Login incorrect
login: show registers
Password:
Login incorrect
login: ps
Password:
Login incorrect
show malloc
login: Password:
Login incorrect
machine ddbcpu 0
login: Password:
Login incorrect
machine ddbcpu 1
login: Password:
Login incorrect

Anton Lindqvist

unread,
Dec 6, 2020, 2:45:09 AM12/6/20
to syzbot, syzkaller-o...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages