syzbot


panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk (2)

Status: auto-closed as invalid on 2022/02/06 07:34
Reported-by: syzbot+5d46687b7076bfb8622f@syzkaller.appspotmail.com
First crash: 1170d, last: 1109d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk 11 1318d 1482d 0/3 auto-closed as invalid on 2021/07/12 06:42

Sample crash report:
panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
  90704  71752      0           0          0    1  syz-executor.1
*252819  20575      0           0          0    0K syz-executor.0
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824767b0) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff8293e670,1,0) at witness_checkorder+0x11eb sys/kern/subr_witness.c:833
rw_enter_read(ffffffff8293e660) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112
uvmfault_lookup(ffff800021288270,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1701
uvm_fault_check(ffff800021288270,ffff8000212882a8,ffff8000212882d0) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674
uvm_fault(ffffffff8293e658,ffff800024490000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:601
kpageflttrap(ffff800021288400,ffff800024490ff8) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264
kerntrap(ffff800021288400) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
memcpy() at memcpy+0x15
timeout_run(ffff8000211ef088) at timeout_run+0xd6 timeout_sync_leave sys/kern/kern_timeout.c:207 [inline]
timeout_run(ffff8000211ef088) at timeout_run+0xd6 sys/kern/kern_timeout.c:680
softclock_process_tick_timeout(ffff8000211ef088,0) at softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:756
end trace frame: 0xffff800021288640, 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: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824767b0) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff8293e670,1,0) at witness_checkorder+0x11eb sys/kern/subr_witness.c:833
rw_enter_read(ffffffff8293e660) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112
uvmfault_lookup(ffff800021288270,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1701
uvm_fault_check(ffff800021288270,ffff8000212882a8,ffff8000212882d0) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674
uvm_fault(ffffffff8293e658,ffff800024490000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:601
kpageflttrap(ffff800021288400,ffff800024490ff8) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264
kerntrap(ffff800021288400) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
memcpy() at memcpy+0x15
timeout_run(ffff8000211ef088) at timeout_run+0xd6 timeout_sync_leave sys/kern/kern_timeout.c:207 [inline]
timeout_run(ffff8000211ef088) at timeout_run+0xd6 sys/kern/kern_timeout.c:680
softclock_process_tick_timeout(ffff8000211ef088,0) at softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:756
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
__mp_lock(ffffffff828a8868) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
__mp_lock(ffffffff828a8868) at __mp_lock+0x120 sys/kern/kern_lock.c:147
uvm_fault(fffffd80085962e0,2963c307000,0,1) at uvm_fault+0x192 sys/uvm/uvm_fault.c:623
upageflttrap(ffff8000212889c0,2963c307000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
usertrap(ffff8000212889c0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7f7ffffe6c90, count: -21
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800021287ed0
rbx               0xffffffff827cfbff    cpu_info_full_primary+0x2bff
rdx                             0x8b
rcx                              0x2
rax                             0x5e
r8                0xffffffff81e1ced4    kprintf+0x144
r9                               0x1
r10               0xfe615acfbb96dab3
r11               0xf6a93dc360df6186
r12               0xffffffff827cfa00    cpu_info_full_primary+0x2a00
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81c4e228    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff800021287ec0
ss                                 0
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.0) pid=252819 stat=onproc
    flags process=0 proc=0
    pri=79, usrpri=79, nice=20
    forw=0xffffffffffffffff, list=0xffff8000211eed28,0xffff8000211ef518
    process=0xffff8000211f25c0 user=0xffff800021283000, vmspace=0xfffffd80085962e0
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 71752   90704  87206      0  7           0                syz-executor.1
*20575  252819   8134      0  7           0                syz-executor.0
 20575  184170   8134      0  3   0x4000080  fsleep        syz-executor.0
 87206  444780  94670      0  3        0x82  nanoslp       syz-executor.1
  8134  111732  94670      0  2       0x482                syz-executor.0
 94670  388330  97666      0  3        0x82  thrsleep      syz-fuzzer
 94670  431867  97666      0  2   0x4000482                syz-fuzzer
 94670  106366  97666      0  3   0x4000082  kqread        syz-fuzzer
 94670  258772  97666      0  3   0x4000082  thrsleep      syz-fuzzer
 94670   44340  97666      0  3   0x4000082  thrsleep      syz-fuzzer
 94670  151895  97666      0  3   0x4000082  thrsleep      syz-fuzzer
 94670  142487  97666      0  2   0x4000482                syz-fuzzer
 94670  410673  97666      0  3   0x4000082  thrsleep      syz-fuzzer
 97666  133605  89182      0  3    0x10008a  sigsusp       ksh
 89182  523332  19219      0  3        0x9a  kqread        sshd
 65218  470672      1      0  3    0x100083  ttyin         getty
 19219   36588      1      0  3        0x88  kqread        sshd
 93009  200408  95533     74  3    0x100092  bpf           pflogd
 95533  400066      1      0  3        0x80  netio         pflogd
 44890  280273  53708     73  3    0x100090  kqread        syslogd
 53708  437866      1      0  3    0x100082  netio         syslogd
 83438  260759      1      0  3    0x100080  kqread        resolvd
 80741  123788  80601     77  3    0x100092  kqread        dhcpleased
 62195   56111  80601     77  3    0x100092  kqread        dhcpleased
 80601  495483      1      0  3        0x80  kqread        dhcpleased
 59808   44792      0      0  3     0x14200  bored         smr
 46557  251213      0      0  2     0x14200                zerothread
  8224  394570      0      0  3     0x14200  aiodoned      aiodoned
 58080  281452      0      0  3     0x14200  syncer        update
 57210  228980      0      0  3     0x14200  cleaner       cleaner
 94282  315912      0      0  3     0x14200  reaper        reaper
 45879   80324      0      0  3     0x14200  pgdaemon      pagedaemon
 29542  349206      0      0  3     0x14200  bored         viomb
 73383  179457      0      0  3  0x40014200  acpi0         acpi0
  4174  319899      0      0  3  0x40014200                idle1
 55562  165056      0      0  3     0x14200  bored         softnet
 30859   81983      0      0  3     0x14200  bored         systqmp
 35897  405855      0      0  3     0x14200  bored         systq
 17403  493019      0      0  3  0x40014200  bored         softclock
 89674  412914      0      0  3  0x40014200                idle0
     1  117600      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
CPU 0:
exclusive mutex /syzkaller/managers/multicore/kernel/sys/dev/kcov.c:125 r = 0 (0xffffffff827a5f08)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  mtx_enter_try+0x100
#2  mtx_enter+0x4b sys/kern/kern_lock.c:266
#3  kcov_remote_leave+0x1f sys/dev/kcov.c:674
#4  timeout_run+0xd6 timeout_sync_leave sys/kern/kern_timeout.c:207 [inline]
#4  timeout_run+0xd6 sys/kern/kern_timeout.c:680
#5  softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
#6  softclock+0x11a sys/kern/kern_timeout.c:756
#7  softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#8  Xsoftclock+0x1f
#9  __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
#9  __mp_lock+0x120 sys/kern/kern_lock.c:147
#10 uvm_fault+0x192 sys/uvm/uvm_fault.c:623
#11 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#12 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#13 recall_trap+0x8
shared mutex timeout r = 0 (0xffffffff8281c460)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  timeout_run+0xb7 sys/kern/kern_timeout.c:674
#2  softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
#3  softclock+0x11a sys/kern/kern_timeout.c:756
#4  softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#5  Xsoftclock+0x1f
#6  __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
#6  __mp_lock+0x120 sys/kern/kern_lock.c:147
#7  uvm_fault+0x192 sys/uvm/uvm_fault.c:623
#8  upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#9  usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#10 recall_trap+0x8
Process 20575 (syz-executor.0) thread 0xffff8000211ee548 (252819)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828a8a70)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90
#2  Xsoftclock+0x1f
#3  __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
#3  __mp_lock+0x120 sys/kern/kern_lock.c:147
#4  uvm_fault+0x192 sys/uvm/uvm_fault.c:623
#5  upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#6  usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#7  recall_trap+0x8
shared rwlock vmmaplk r = 0 (0xfffffd80085962f8)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1701
#2  uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674
#3  uvm_fault+0x102 sys/uvm/uvm_fault.c:601
#4  upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#5  usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#6  recall_trap+0x8
exclusive mutex /syzkaller/managers/multicore/kernel/sys/dev/kcov.c:125 r = 0 (0xffffffff827a5f08)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  mtx_enter_try+0x100
#2  mtx_enter+0x4b sys/kern/kern_lock.c:266
#3  kcov_remote_leave+0x1f sys/dev/kcov.c:674
#4  timeout_run+0xd6 timeout_sync_leave sys/kern/kern_timeout.c:207 [inline]
#4  timeout_run+0xd6 sys/kern/kern_timeout.c:680
#5  softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
#6  softclock+0x11a sys/kern/kern_timeout.c:756
#7  softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#8  Xsoftclock+0x1f
#9  __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
#9  __mp_lock+0x120 sys/kern/kern_lock.c:147
#10 uvm_fault+0x192 sys/uvm/uvm_fault.c:623
#11 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#12 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#13 recall_trap+0x8
shared mutex timeout r = 0 (0xffffffff8281c460)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  timeout_run+0xb7 sys/kern/kern_timeout.c:674
#2  softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
#3  softclock+0x11a sys/kern/kern_timeout.c:756
#4  softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#5  Xsoftclock+0x1f
#6  __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
#6  __mp_lock+0x120 sys/kern/kern_lock.c:147
#7  uvm_fault+0x192 sys/uvm/uvm_fault.c:623
#8  upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
#9  usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
#10 recall_trap+0x8
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10117   6420K    6428K  78643K     11219        0
            pcb    13      8K       8K  78643K        17        0
         rtable   106      3K       3K  78643K       172        0
         ifaddr    44     10K      10K  78643K        45        0
       counters    44     34K      34K  78643K        44        0
       ioctlops     0      0K       4K  78643K      1483        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         5        0
         vnodes  1217     77K      77K  78643K      1222        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       1K  78643K         2        0
         VM map     2      1K       1K  78643K         2        0
            sem     2      0K       0K  78643K         2        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12598        0
      file desc     6     17K      25K  78643K      6411        0
           proc    67     87K     111K  78643K       334        0
        subproc    32      2K       2K  78643K        34        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
       in_multi    33      2K       2K  78643K        33        0
    ether_multi     1      0K       0K  78643K         1        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    31    148K     148K  78643K        31        0
           exec     0      0K       2K  78643K       408        0
            tdb     3      0K       0K  78643K         3        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   358     44K      45K  78643K     76335        0
       UVM aobj     3      2K       2K  78643K         3        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
            NDP     6      0K       0K  78643K        10        0
           temp    66   4199K    4263K  78643K     15125        0
         kqueue    12     18K      18K  78643K        22        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120       21    0       18     1     0     1     1     0     8    0
rtentry    112       45    0        1     2     0     2     2     0     8    0
unpcb      120       42    0       27     1     0     1     1     0     8    0
syncache   296        4    0        4     1     1     0     1     0     8    0
tcpqe       32     1191    0     1191     4     4     0     2     0     8    0
tcpcb      736        8    0        4     1     0     1     1     0     8    0
arp        120        6    0        0     1     0     1     1     0     8    0
inpcb      304       42    0       35     1     0     1     1     0     8    0
nd6         48        6    0        0     1     0     1     1     0     8    0
kcovpl      48        2    0        0     1     0     1     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
pfstitem    24       12    0       10     1     0     1     1     0     8    0
pfstkey    112       12    0       10     1     0     1     1     0     8    0
pfstate    320       12    0       10     1     0     1     1     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      188    0        0    12     0    12    12     0     8    0
art_table   32      189    0        0     2     0     2     2     0     8    0
art_node    16       44    0        4     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     7818    0     6407    89     0    89    89     0     8    0
ffsino     272     7818    0     6407    95     0    95    95     0     8    0
nchpl      144    14437    0    12817    61     0    61    61     0     8    0
uvmvnodes   72     5926    0        0   108     0   108   108     0     8    0
vnodes     224     5926    0        0   349     0   349   349     0     8    0
namei      1024   30246    0    30246     2     1     1     1     0     8    1
percpumem   16       34    0        0     1     0     1     1     0     8    0
scxspl     216    43494    0    43494    10     9     1     8     0     8    1
plimitpl   152       17    0        8     1     0     1     1     0     8    0
sigapl     424     6660    0     6627     4     0     4     4     0     8    0
futexpl     56    22663    0    22662     1     0     1     1     0     8    0
knotepl    112       62    0        0     2     0     2     2     0     8    0
kqueuepl   216     6515    0     6504     2     0     2     2     0     8    1
pipepl     336       89    0       79     2     0     2     2     0     8    1
fdescpl    496     6646    0     6627     3     0     3     3     0     8    0
filepl     152    14189    0    14075     6     0     6     6     0     8    1
lockfpl    104       10    0        8     1     0     1     1     0     8    0
lockfspl    48        6    0        4     1     0     1     1     0     8    0
sessionpl  144       18    0        7     1     0     1     1     0     8    0
pgrppl      48       18    0        7     1     0     1     1     0     8    0
ucredpl     96       66    0       54     1     0     1     1     0     8    0
zombiepl   144     6627    0     6627     2     1     1     1     0     8    1
processpl  1072    6660    0     6627     3     0     3     3     0     8    0
procpl     672    13132    0    13091     5     1     4     4     0     8    0
sockpl     480      105    0       80     4     0     4     4     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl12k     12288      7    0        0     1     0     1     1     0     8    0
mcl8k      8192       5    0        0     1     0     1     1     0     8    0
mcl4k      4096       7    0        0     1     0     1     1     0     8    0
mcl2k2     2112       3    0        0     1     0     1     1     0     8    0
mcl2k      2048     318    0        0    39     0    39    39     0     8    0
mtagpl      96        1    0        0     1     0     1     1     0     8    0
mbufpl     256      376    0        0    23     0    23    23     0     8    0
bufpl      280    10039    0     3710   453     0   453   453     0     8    0
anonpl      24  1628971    0  1591306   251     5   246   248     0   186    0
amapchunkpl 152  180686    0   179036    69     3    66    68     0   158    0
amappl16   200     9447    0     8500    51     1    50    50     0     8    0
amappl15   192       76    0       70     1     0     1     1     0     8    0
amappl14   184        1    0        1     1     1     0     1     0     8    0
amappl13   176       30    0       29     1     0     1     1     0     8    0
amappl12   168        8    0        6     1     0     1     1     0     8    0
amappl11   160     3267    0     3245     1     0     1     1     0     8    0
amappl10   152       18    0       12     1     0     1     1     0     8    0
amappl9    144     3557    0     3553     1     0     1     1     0     8    0
amappl8    136      423    0      375     2     0     2     2     0     8    0
amappl7    128       58    0       49     1     0     1     1     0     8    0
amappl6    120     3254    0     3243     1     0     1     1     0     8    0
amappl5    112     6589    0     6566     1     0     1     1     0     8    0
amappl4    104     3773    0     3745     1     0     1     1     0     8    0
amappl3     96      179    0      162     1     0     1     1     0     8    0
amappl2     88      358    0      322     2     1     1     2     0     8    0
amappl1     80   111603    0   111149    15     5    10    13     0     8    0
amappl      88    75993    0    75694     7     0     7     7     0    92    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        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24     6646    0     6627     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     6646    0     6627     1     0     1     1     0     8    0
vmmpekpl   168    28431    0    28411     2     0     2     2     0     8    0
vmmpepl    168   732224    0   729724   148    37   111   144     0   357    2
vmsppl     368     6645    0     6627     2     0     2     2     0     8    0
rwobjpl     56   122409    0   120555    27     0    27    27     0     8    0
pdppl      4096   13300    0    13254    70    24    46    50     0     8    0
pvpl        32  3565716    0  3524319   364     8   356   363     0   265    0
pmappl     224     6645    0     6627     2     0     2     2     0     8    0
extentpl    40       58    0       40     1     0     1     1     0     8    0
phpool     112      347    0       28    10     0    10    10     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824767b0) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff8293e670,1,0) at witness_checkorder+0x11eb sys/kern/subr_witness.c:833
rw_enter_read(ffffffff8293e660) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112
uvmfault_lookup(ffff800021288270,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1701
uvm_fault_check(ffff800021288270,ffff8000212882a8,ffff8000212882d0) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674
uvm_fault(ffffffff8293e658,ffff800024490000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:601
kpageflttrap(ffff800021288400,ffff800024490ff8) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264
kerntrap(ffff800021288400) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
memcpy() at memcpy+0x15
timeout_run(ffff8000211ef088) at timeout_run+0xd6 timeout_sync_leave sys/kern/kern_timeout.c:207 [inline]
timeout_run(ffff8000211ef088) at timeout_run+0xd6 sys/kern/kern_timeout.c:680
softclock_process_tick_timeout(ffff8000211ef088,0) at softclock_process_tick_timeout+0x196 sys/kern/kern_timeout.c:725
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:756
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
__mp_lock(ffffffff828a8868) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
__mp_lock(ffffffff828a8868) at __mp_lock+0x120 sys/kern/kern_lock.c:147
uvm_fault(fffffd80085962e0,2963c307000,0,1) at uvm_fault+0x192 sys/uvm/uvm_fault.c:623
upageflttrap(ffff8000212889c0,2963c307000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181
usertrap(ffff8000212889c0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7f7ffffe6c90, count: -21
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
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(ffffffff828a8868) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff828a8868) at __mp_lock+0x122 sys/kern/kern_lock.c:147
syscall(ffff80002269ce00) at syscall+0x42d mi_syscall sys/sys/syscall_mi.h:93 [inline]
syscall(ffff80002269ce00) at syscall+0x42d sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd70e0, count: 9
ddb{1}> trace
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
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(ffffffff828a8868) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff828a8868) at __mp_lock+0x122 sys/kern/kern_lock.c:147
syscall(ffff80002269ce00) at syscall+0x42d mi_syscall sys/sys/syscall_mi.h:93 [inline]
syscall(ffff80002269ce00) at syscall+0x42d sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd70e0, count: -6

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/08 07:33 openbsd 4043f3371cf0 4c1be0be .config console log report ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk
2021/09/08 19:52 openbsd 413a7a136984 e2776ee4 .config console log report ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) kmmaplk
* Struck through repros no longer work on HEAD.