Hello,
syzbot found the following issue on:
HEAD commit: 87dc1fa97379 Ensure known_hosts file exists when setting up.
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=129bac26580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link:
https://syzkaller.appspot.com/bug?extid=1a05a8e5ec38fbe7f5c9
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/1c045a249d73/disk-87dc1fa9.raw.xz
bsd.gdb:
https://storage.googleapis.com/syzbot-assets/9e3103286bbb/bsd-87dc1fa9.gdb.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/251305ab4812/kernel-87dc1fa9.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+1a05a8...@syzkaller.appspotmail.com
panic: mtx 0xffffffff83a7a510: locking against myself
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*492092 98793 32767 0x10 0 0 syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834103d3) at panic+0x1e5 sys/kern/subr_prf.c:198
mtx_enter(ffffffff83a7a510) at mtx_enter+0x512
witness_checkorder(ffff80000002ca60,9,0) at witness_checkorder+0x6ea sys/kern/subr_witness.c:903
mtx_enter(ffff80000002ca50) at mtx_enter+0x95 sys/kern/kern_lock.c:406
ioapic_hwmask(ffff80000002ca00,9) at ioapic_hwmask+0x83 sys/arch/amd64/amd64/ioapic.c:473
Xintr_ioapic_level9_untramp() at Xintr_ioapic_level9_untramp+0x22c
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 adopt sys/kern/subr_witness.c:1583 [inline]
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 sys/kern/subr_witness.c:1656
witness_checkorder(ffffffff83a85dc8,9,0) at witness_checkorder+0x11a6 sys/kern/subr_witness.c:1095
mtx_enter(ffffffff83a85db8) at mtx_enter+0x95 sys/kern/kern_lock.c:406
schedclock(ffff8000fffe74e0) at schedclock+0xac sys/kern/sched_bsd.c:542
statclock(ffffffff838fce08,ffff8000393d2300,0) at statclock+0x3f6 sys/kern/kern_clock.c:-1
clockintr_dispatch(ffff8000393d2300) at clockintr_dispatch+0x3f0 sys/kern/kern_clockintr.c:-1
lapic_clockintr(0,4000000000000000) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482
end trace frame: 0xffff8000393d2380, count: 0
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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: mtx 0xffffffff83a7a510: locking against myself
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834103d3) at panic+0x1e5 sys/kern/subr_prf.c:198
mtx_enter(ffffffff83a7a510) at mtx_enter+0x512
witness_checkorder(ffff80000002ca60,9,0) at witness_checkorder+0x6ea sys/kern/subr_witness.c:903
mtx_enter(ffff80000002ca50) at mtx_enter+0x95 sys/kern/kern_lock.c:406
ioapic_hwmask(ffff80000002ca00,9) at ioapic_hwmask+0x83 sys/arch/amd64/amd64/ioapic.c:473
Xintr_ioapic_level9_untramp() at Xintr_ioapic_level9_untramp+0x22c
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 adopt sys/kern/subr_witness.c:1583 [inline]
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 sys/kern/subr_witness.c:1656
witness_checkorder(ffffffff83a85dc8,9,0) at witness_checkorder+0x11a6 sys/kern/subr_witness.c:1095
mtx_enter(ffffffff83a85db8) at mtx_enter+0x95 sys/kern/kern_lock.c:406
schedclock(ffff8000fffe74e0) at schedclock+0xac sys/kern/sched_bsd.c:542
statclock(ffffffff838fce08,ffff8000393d2300,0) at statclock+0x3f6 sys/kern/kern_clock.c:-1
clockintr_dispatch(ffff8000393d2300) at clockintr_dispatch+0x3f0 sys/kern/kern_clockintr.c:-1
lapic_clockintr(0,4000000000000000) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
Xspllower() at Xspllower+0x1d
mtx_enter(ffffffff839852c8) at mtx_enter+0x4b4 sys/kern/kern_lock.c:487
pool_get(ffffffff839852c0,a) at pool_get+0x124 sys/kern/subr_pool.c:585
amap_alloc1(40,2,0) at amap_alloc1+0x330 sys/uvm/uvm_amap.c:-1
amap_alloc(40000,2,0) at amap_alloc+0xad sys/uvm/uvm_amap.c:-1
amap_copy(fffffd806ca4a210,fffffd806ca35c38,2,1,34a76724000,34a76724001) at amap_copy+0x6ac sys/uvm/uvm_amap.c:569
uvm_fault_check(ffff8000393d28f0,ffff8000393d2928,ffff8000393d2960,0) at uvm_fault_check+0x473 sys/uvm/uvm_fault.c:747
uvm_fault(fffffd806ca4a210,34a76724000,0,2) at uvm_fault+0x106 sys/uvm/uvm_fault.c:627
upageflttrap(ffff8000393d2a90,34a76724000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff8000393d2a90) at usertrap+0x430 sys/arch/amd64/amd64/trap.c:640
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x794af4476240, count: -26
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff8000393d1c10
rbx 0xffffffff838fce07 cpu_info_full_primary+0x2e07
rdx 0
rcx 0xffff8000fffe74e0
rax 0xffffffff838fbff0 cpu_info_full_primary+0x1ff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0x9847dec3aa358
r11 0x3e84e4bb7cb4784a
r12 0xffffffff838fcc08 cpu_info_full_primary+0x2c08
r13 0
r14 0
r15 0x1
rip 0xffffffff824ea0a5 db_enter+0x25
cs 0x8
rflags 0x46
rsp 0xffff8000393d1c00
ss 0
db_enter+0x25: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=492092 pid=98793 tcnt=1 stat=onproc
flags process=10<SUGID> proc=0
runpri=74, usrpri=74, slppri=16, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000fffe6a80,0xffff8000fffe7258
process=0xffff8000fffea1c8 user=0xffff8000393cd000, vmspace=0xfffffd806ca4a210
estcpu=24, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
6124 512666 18413 32767 2 0x10 syz-executor
6124 422021 18413 32767 3 0x4000090 msgwait syz-executor
*98793 492092 26008 32767 7 0x10 syz-executor
77598 327371 79486 32767 2 0x10 syz-executor
77598 440837 79486 32767 3 0x4000090 fsleep syz-executor
72659 71795 87008 32767 2 0x10 syz-executor
72659 138810 87008 32767 2 0x4000010 syz-executor
19801 365755 11108 32767 2 0x10 syz-executor
19801 329532 11108 32767 3 0x4000090 fsleep syz-executor
28725 154931 33245 32767 2 0x10 syz-executor
28725 497346 33245 32767 3 0x4000090 lockf syz-executor
12273 134218 18040 0 2 0x2 syz-executor
18413 91434 35682 32767 3 0x90 nanoslp syz-executor
79486 397929 98340 32767 3 0x90 nanoslp syz-executor
57993 217579 41222 32767 3 0x90 nanoslp syz-executor
26008 447612 10052 32767 3 0x90 nanoslp syz-executor
11108 92574 22939 32767 3 0x90 nanoslp syz-executor
33245 7669 55046 32767 3 0x90 nanoslp syz-executor
87008 154460 85052 32767 3 0x90 nanoslp syz-executor
35682 152610 18040 0 3 0x82 wait syz-executor
10052 14321 18040 0 3 0x82 wait syz-executor
41222 371363 18040 0 3 0x82 wait syz-executor
98340 3371 18040 0 3 0x82 wait syz-executor
85052 125429 18040 0 3 0x82 wait syz-executor
22939 338846 18040 0 3 0x82 wait syz-executor
55046 103945 18040 0 3 0x82 wait syz-executor
18040 476798 2891 0 3 0x82 kqread syz-executor
2891 10513 79483 0 3 0x10008a sigsusp ksh
79483 321706 1641 0 3 0x98 kqread sshd-session
1641 414053 23092 0 3 0x92 kqread sshd-session
93529 475736 1 0 3 0x100083 ttyin getty
23092 350370 1 0 3 0x88 kqread sshd
85483 57631 54313 73 3 0x1100090 kqread syslogd
54313 74832 1 0 3 0x100082 sbwait syslogd
89927 336265 1 0 3 0x100080 kqread resolvd
96868 404713 71444 77 3 0x100092 kqread dhcpleased
49205 214381 71444 77 3 0x100092 kqread dhcpleased
71444 508468 1 0 3 0x80 kqread dhcpleased
69887 151166 0 0 3 0x14200 bored smr
62620 480293 0 0 2 0x14200 zerothread
28446 290082 0 0 3 0x14200 aiodoned aiodoned
35197 133495 0 0 3 0x14200 syncer update
45972 91009 0 0 3 0x14200 cleaner cleaner
64720 131555 0 0 3 0x14200 reaper reaper
22005 269152 0 0 3 0x14200 pgdaemon pagedaemon
27221 130313 0 0 3 0x14200 bored viomb
64248 167809 0 0 3 0x40014200 acpi0 acpi0
9546 478476 0 0 3 0x40014200 idle1
8220 149954 0 0 3 0x14200 bored softnet1
42002 368818 0 0 3 0x14200 bored softnet0
40432 45062 0 0 3 0x14200 bored systqmp
59228 354798 0 0 3 0x14200 bored systq
52085 358683 0 0 3 0x14200 tmoslp softclockmp
90606 317280 0 0 3 0x40014200 tmoslp softclock
79546 69824 0 0 3 0x40014200 idle0
1 521248 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
CPU 0:
exclusive mutex amapchunkpl r = 0 (0xffffffff839852d8)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2 pool_get+0x124 sys/kern/subr_pool.c:585
#3 amap_alloc1+0x330 sys/uvm/uvm_amap.c:-1
#4 amap_alloc+0xad sys/uvm/uvm_amap.c:-1
#5 amap_copy+0x6ac sys/uvm/uvm_amap.c:569
#6 uvm_fault_check+0x473 sys/uvm/uvm_fault.c:747
#7 uvm_fault+0x106 sys/uvm/uvm_fault.c:627
#8 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
#9 usertrap+0x430 sys/arch/amd64/amd64/trap.c:640
#10 recall_trap+0x8
Process 98793 (syz-executor) thread 0xffff8000fffe74e0 (492092)
exclusive rwlock vmmaplk r = 0 (0xfffffd806ca4a310)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_read+0x3e8 sys/kern/kern_rwlock.c:413
#2 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1880
#3 uvm_fault_check+0x4f sys/uvm/uvm_fault.c:693
#4 uvm_fault+0x106 sys/uvm/uvm_fault.c:627
#5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
#6 usertrap+0x430 sys/arch/amd64/amd64/trap.c:640
#7 recall_trap+0x8
exclusive mutex amapchunkpl r = 0 (0xffffffff839852d8)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2 pool_get+0x124 sys/kern/subr_pool.c:585
#3 amap_alloc1+0x330 sys/uvm/uvm_amap.c:-1
#4 amap_alloc+0xad sys/uvm/uvm_amap.c:-1
#5 amap_copy+0x6ac sys/uvm/uvm_amap.c:569
#6 uvm_fault_check+0x473 sys/uvm/uvm_fault.c:747
#7 uvm_fault+0x106 sys/uvm/uvm_fault.c:627
#8 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
#9 usertrap+0x430 sys/arch/amd64/amd64/trap.c:640
#10 recall_trap+0x8
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11053 12016K 12034K 166960K 12147 0
pcb 17 12K 12K 166960K 17 0
rtable 217 6K 7K 166960K 362 0
pf 29 16K 16K 166960K 31 0
ifaddr 38 6K 7K 166960K 44 0
ifgroup 46 2K 2K 166960K 50 0
sysctl 1 1K 9K 166960K 6 0
counters 68 36K 37K 166960K 70 0
ioctlops 0 0K 4K 166960K 42 0
iov 0 0K 12K 166960K 12 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1288 81K 81K 166960K 1540 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 10 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 23 0
dirhash 12 2K 2K 166960K 18 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 23 85K 121K 166960K 527 0
sigio 0 0K 0K 166960K 5 0
proc 58 99K 147K 166960K 542 0
subproc 66 4K 4K 166960K 210 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 73 0
in_multi 88 6K 7K 166960K 114 0
ether_multi 1 0K 0K 166960K 3 0
mrt 0 0K 0K 166960K 16 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 79 360K 360K 166960K 79 0
exec 0 0K 1K 166960K 448 0
fusefs mount 1 32K 32K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 231 159K 205K 166960K 6345 0
UVM aobj 21 3K 3K 166960K 22 0
pinsyscall 44 88K 114K 166960K 1658 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 18 0
NDP 10 0K 2K 166960K 27 0
temp 42 9080K 9144K 166960K 5707 0
kqueue 13 20K 32K 166960K 108 0
SYN cache 2 16K 16K 166960K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 26 0 0 1 0 1 1 0 8 0
rtpcb 120 52 0 48 1 0 1 1 0 8 0
rtentry 176 114 0 14 6 0 6 6 0 8 0
unpcb 144 649 0 632 4 3 1 4 0 8 0
syncache 336 11 0 11 1 1 0 1 0 8 0
tcpqe 32 2 0 2 1 1 0 1 0 8 0
tcpcb 736 138 0 131 2 1 1 2 0 8 0
arp 136 19 0 2 1 0 1 1 0 8 0
ipq 40 8 0 0 1 0 1 1 0 8 0
ipqe 40 11 0 0 1 0 1 1 0 8 0
inpcb 328 432 0 420 7 5 2 7 0 8 1
ip6q 72 3 0 0 1 0 1 1 0 8 0
ip6af 40 2 0 0 1 0 1 1 0 8 0
nd6 152 26 0 5 1 0 1 1 0 8 0
kcovpl 48 23 0 16 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 469 0 59 30 2 28 30 0 8 0
art_table 40 470 0 59 5 0 5 5 0 8 0
art_node 32 114 0 23 1 0 1 1 0 8 0
sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0
semapl 112 21 0 11 1 0 1 1 0 8 0
shmpl 112 19 0 1 1 0 1 1 0 8 0
dirhash 1024 21 0 4 3 0 3 3 0 8 0
dino2pl 256 2070 0 591 93 0 93 93 0 8 0
ffsino 296 2070 0 591 114 0 114 114 0 8 0
nchpl 144 2749 0 1043 64 0 64 64 0 8 0
vnodes 216 2289 0 0 128 0 128 128 0 8 0
namei 1024 8952 0 8952 1 0 1 1 0 8 1
percpumem 16 50 0 1 1 0 1 1 0 8 0
kstatmem 264 24 0 2 2 0 2 2 0 8 0
scxspl 216 9119 0 9119 11 3 8 8 1 8 8
plimitpl 152 215 0 192 2 0 2 2 0 8 1
sigapl 424 795 0 743 7 0 7 7 0 8 1
knotepl 120 153 0 0 5 0 5 5 0 8 0
kqueuepl 224 127 0 118 1 0 1 1 0 8 0
pipepl 344 265 0 238 3 0 3 3 0 8 0
fdescpl 528 779 0 744 3 0 3 3 0 8 0
filepl 160 4041 0 3838 15 5 10 15 0 8 1
lockfpl 104 120 0 115 1 0 1 1 0 8 0
lockfspl 48 54 0 50 1 0 1 1 0 8 0
sessionpl 144 121 0 106 1 0 1 1 0 8 0
pgrppl 48 152 0 129 1 0 1 1 0 8 0
ucredpl 104 714 0 696 1 0 1 1 0 8 0
zombiepl 144 744 0 743 1 0 1 1 0 8 0
processpl 1232 795 0 743 5 0 5 5 0 8 1
procpl 664 1355 0 1298 7 1 6 7 0 8 1
sosppl 176 2 0 2 1 1 0 1 0 8 0
sockpl 752 1137 0 1104 16 12 4 16 0 8 0
mcl64k 65536 4 0 0 1 0 1 1 0 8 0
mcl16k 16384 2 0 0 1 0 1 1 0 8 0
mcl12k 12288 1 0 0 1 0 1 1 0 8 0
mcl9k 9216 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 2 0 0 1 0 1 1 0 8 0
mcl4k 4096 111 0 0 14 0 14 14 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 20 0 0 3 0 3 3 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 284 0 0 18 0 18 18 0 8 0
bufpl 280 2792 0 102 193 0 193 193 0 8 0
anonpl 32 9360 0 0 76 0 76 76 0 246 0
amapchunkpl 152 21154 0 20662 41 9 32 41 0 158 12
amappl16 200 2941 0 2918 18 6 12 14 0 8 8
amappl15 192 8 0 8 1 1 0 1 0 8 0
amappl14 184 398 0 397 1 0 1 1 0 8 0
amappl13 176 135 0 125 1 0 1 1 0 8 0
amappl12 168 1037 0 1003 2 0 2 2 0 8 0
amappl11 160 79 0 79 1 1 0 1 0 8 0
amappl10 152 59 0 49 1 0 1 1 0 8 0
amappl9 144 260 0 260 1 1 0 1 0 8 0
amappl8 136 95 0 94 1 0 1 1 0 8 0
amappl7 128 151 0 139 1 0 1 1 0 8 0
amappl6 120 157 0 156 1 0 1 1 0 8 0
amappl5 112 108 0 100 1 0 1 1 0 8 0
amappl4 104 290 0 274 1 0 1 1 0 8 0
amappl3 96 3689 0 3568 5 1 4 4 0 8 0
amappl2 88 628 0 573 2 0 2 2 0 8 0
amappl1 80 14221 0 13649 20 5 15 20 0 8 1
amappl 88 5503 0 5335 5 0 5 5 0 92 0
uvmvnodes 80 123 0 0 3 0 3 3 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 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 72 21 0 1 1 0 1 1 0 8 0
uaddrrnd 24 779 0 744 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 779 0 744 1 0 1 1 0 8 0
vmmpekpl 168 9686 0 9646 3 0 3 3 0 8 0
vmmpepl 168 62663 0 60702 114 12 102 114 0 357 14
vmsppl 488 778 0 743 7 2 5 6 0 8 0
rwobjpl 80 21536 0 20563 29 4 25 29 0 8 0
pdppl 4096 1565 0 1486 123 42 81 95 0 8 2
pvpl 32 15273 0 0 124 0 124 124 0 265 0
pmappl 256 778 0 743 4 1 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 299 0 49 8 0 8 8 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834103d3) at panic+0x1e5 sys/kern/subr_prf.c:198
mtx_enter(ffffffff83a7a510) at mtx_enter+0x512
witness_checkorder(ffff80000002ca60,9,0) at witness_checkorder+0x6ea sys/kern/subr_witness.c:903
mtx_enter(ffff80000002ca50) at mtx_enter+0x95 sys/kern/kern_lock.c:406
ioapic_hwmask(ffff80000002ca00,9) at ioapic_hwmask+0x83 sys/arch/amd64/amd64/ioapic.c:473
Xintr_ioapic_level9_untramp() at Xintr_ioapic_level9_untramp+0x22c
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 adopt sys/kern/subr_witness.c:1583 [inline]
itismychild(fffffd8004034b80,fffffd8004033300) at itismychild+0x3f1 sys/kern/subr_witness.c:1656
witness_checkorder(ffffffff83a85dc8,9,0) at witness_checkorder+0x11a6 sys/kern/subr_witness.c:1095
mtx_enter(ffffffff83a85db8) at mtx_enter+0x95 sys/kern/kern_lock.c:406
schedclock(ffff8000fffe74e0) at schedclock+0xac sys/kern/sched_bsd.c:542
statclock(ffffffff838fce08,ffff8000393d2300,0) at statclock+0x3f6 sys/kern/kern_clock.c:-1
clockintr_dispatch(ffff8000393d2300) at clockintr_dispatch+0x3f0 sys/kern/kern_clockintr.c:-1
lapic_clockintr(0,4000000000000000) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
Xspllower() at Xspllower+0x1d
mtx_enter(ffffffff839852c8) at mtx_enter+0x4b4 sys/kern/kern_lock.c:487
pool_get(ffffffff839852c0,a) at pool_get+0x124 sys/kern/subr_pool.c:585
amap_alloc1(40,2,0) at amap_alloc1+0x330 sys/uvm/uvm_amap.c:-1
amap_alloc(40000,2,0) at amap_alloc+0xad sys/uvm/uvm_amap.c:-1
amap_copy(fffffd806ca4a210,fffffd806ca35c38,2,1,34a76724000,34a76724001) at amap_copy+0x6ac sys/uvm/uvm_amap.c:569
uvm_fault_check(ffff8000393d28f0,ffff8000393d2928,ffff8000393d2960,0) at uvm_fault_check+0x473 sys/uvm/uvm_fault.c:747
uvm_fault(fffffd806ca4a210,34a76724000,0,2) at uvm_fault+0x106 sys/uvm/uvm_fault.c:627
upageflttrap(ffff8000393d2a90,34a76724000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff8000393d2a90) at usertrap+0x430 sys/arch/amd64/amd64/trap.c:640
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x794af4476240, count: -26
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
mtx_enter(ffffffff839852c8) at mtx_enter+0x377 sys/kern/kern_lock.c:454
pool_put(ffffffff839852c0,fffffd8068c58d10) at pool_put+0xa6 sys/kern/subr_pool.c:803
amap_free(fffffd806c8f2948) at amap_free+0x1c7 sys/uvm/uvm_amap.c:-1
uvm_unmap_detach(ffff8000393c69b0,0) at uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1359
uvm_map_teardown(fffffd806ca4a5e0) at uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536
exit1(ffff8000fffe7a10,0,0,1) at exit1+0x6fc sys/kern/kern_exit.c:260
sys_exit(ffff8000fffe7a10,ffff8000393c6b80,ffff8000393c6ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff8000393c6b80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000393c6b80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7bf4fb7a2f90, count: 3
ddb{1}> trace
x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
mtx_enter(ffffffff839852c8) at mtx_enter+0x377 sys/kern/kern_lock.c:454
pool_put(ffffffff839852c0,fffffd8068c58d10) at pool_put+0xa6 sys/kern/subr_pool.c:803
amap_free(fffffd806c8f2948) at amap_free+0x1c7 sys/uvm/uvm_amap.c:-1
uvm_unmap_detach(ffff8000393c69b0,0) at uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1359
uvm_map_teardown(fffffd806ca4a5e0) at uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536
exit1(ffff8000fffe7a10,0,0,1) at exit1+0x6fc sys/kern/kern_exit.c:260
sys_exit(ffff8000fffe7a10,ffff8000393c6b80,ffff8000393c6ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff8000393c6b80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000393c6b80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7bf4fb7a2f90, count: -12
---
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