syzbot


assert "!_kernel_lock_held()" failed in uvm_map.c

Status: auto-obsoleted due to no activity on 2023/02/20 01:52
Reported-by: syzbot+217dd7c1b8bcbd3b5e5f@syzkaller.appspotmail.com
First crash: 892d, last: 730d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "!_kernel_lock_held()" failed in uvm_map.c (2) 13 423d 640d 3/3 fixed on 2023/10/30 23:05

Sample crash report:
ppanic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_map.c", line 2539
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 418139  79242  32767        0x10          0    0  syz-executor.0
*393388  31216      0     0x14000      0x200    1  reaper
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825b348f) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8262b17a,ffffffff82657db2,9eb,ffffffff825e88cb) at __assert+0x25 sys/kern/subr_prf.c:157
uvm_map_teardown(fffffd8066632018) at uvm_map_teardown+0x308 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd8066632018) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: 9
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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu0: vop_generic_badop
 cpu1: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_map.c", line 2539
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825b348f) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8262b17a,ffffffff82657db2,9eb,ffffffff825e88cb) at __assert+0x25 sys/kern/subr_prf.c:157
uvm_map_teardown(fffffd8066632018) at uvm_map_teardown+0x308 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd8066632018) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: -6
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000212399b0
rbx               0xffff800020dd9b8f
rdx                                0
rcx                                0
rax               0xffff8000212337a8
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x507a3234d4331e78
r11               0x5cebb1a3ecb80df3
r12               0xffff800020dd9990
r13                                0
r14               0xffffffff829c0990    cpu_info_full_primary+0x2990
r15                              0x1
rip               0xffffffff81faf658    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff8000212399a0
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (reaper) pid=393388 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
    pri=4, usrpri=54, nice=20
    forw=0xffffffffffffffff, list=0xffff800021233a48,0xffff800021232d38
    process=0xffff8000ffffd4c8 user=0xffff800021234000, vmspace=0xffffffff82baa7f0
    estcpu=4, cpticks=21, pctcpu=1.0
    user=0, sys=2, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 72163   84705  72148  32767  2        0x10                syz-executor.3
 52783  306716  57988  32767  2        0x10                syz-executor.7
 88984  483356  50503  32767  2        0x10                syz-executor.4
 16119  162779  30469  32767  2        0x10                syz-executor.5
 16119  493583  30469  32767  3   0x4000090  fsleep        syz-executor.5
 96829  297001  40258  32767  3        0x90  nanoslp       syz-executor.2
 40258  133412  92175      0  3        0x82  wait          syz-executor.2
 15076  237322  68695  32767  2        0x10                syz-executor.6
 68695  115687  92175      0  3        0x82  wait          syz-executor.6
 58512   98954      0      0  3     0x14200  bored         sosplice
 50503  162181  54401  32767  3        0x90  nanoslp       syz-executor.4
 54401   69412  92175      0  3        0x82  wait          syz-executor.4
 57988   57384  48075  32767  3        0x90  nanoslp       syz-executor.7
 30469  331070  74517  32767  3        0x90  nanoslp       syz-executor.5
 48075  330064  92175      0  3        0x82  wait          syz-executor.7
 72148    9054  94477  32767  3        0x90  nanoslp       syz-executor.3
 74517  369087  92175      0  3        0x82  wait          syz-executor.5
 94477  406576  92175      0  3        0x82  wait          syz-executor.3
 58975   77464  25422  32767  3        0x10  biowait       syz-executor.1
 25422   66591  92175      0  3        0x82  wait          syz-executor.1
 79242  418139  79936  32767  7        0x10                syz-executor.0
 79936  379451  92175      0  3        0x82  wait          syz-executor.0
 92175  224167  47699      0  3        0x82  thrsleep      syz-fuzzer
 92175  438776  47699      0  3   0x4000082  nanoslp       syz-fuzzer
 92175   83066  47699      0  3   0x4000082  thrsleep      syz-fuzzer
 92175  110246  47699      0  3   0x4000082  thrsleep      syz-fuzzer
 92175  382626  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  474543  47699      0  3   0x4000082  thrsleep      syz-fuzzer
 92175  440892  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  248953  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  402134  47699      0  3   0x4000082  thrsleep      syz-fuzzer
 92175  270733  47699      0  3   0x4000082  wait          syz-fuzzer
 92175   53298  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  130746  47699      0  3   0x4000082  wait          syz-fuzzer
 92175   70984  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  105456  47699      0  3   0x4000082  wait          syz-fuzzer
 92175  308708  47699      0  3   0x4000082  kqread        syz-fuzzer
 47699  419327  67759      0  3    0x10008a  sigsusp       ksh
 67759  288613  48018      0  3        0x9a  kqread        sshd
 55694  404115      1      0  3    0x100083  ttyin         getty
 48018  382888      1      0  3        0x88  kqread        sshd
 98261   56182  66243     73  3   0x1100090  kqread        syslogd
 66243  238175      1      0  3    0x100082  netio         syslogd
 84882  445708      1      0  3    0x100080  kqread        resolvd
 66215  103310  27194     77  3    0x100092  kqread        dhcpleased
 83062  297103  27194     77  3    0x100092  kqread        dhcpleased
 27194  322434      1      0  3        0x80  kqread        dhcpleased
 61596  244097      0      0  3     0x14200  bored         smr
 95320  101815      0      0  2     0x14200                zerothread
 76894  366295      0      0  3     0x14200  aiodoned      aiodoned
 58129   41586      0      0  3     0x14200  syncer        update
 80399   26809      0      0  3     0x14200  cleaner       cleaner
*31216  393388      0      0  7     0x14200                reaper
 43386  399290      0      0  3     0x14200  pgdaemon      pagedaemon
 18825  306677      0      0  3     0x14200  bored         viomb
 43398  127244      0      0  3  0x40014200  acpi0         acpi0
  2280  494957      0      0  3  0x40014200                idle1
 26319  394797      0      0  3     0x14200  bored         softnet
 91995  358411      0      0  3     0x14200  bored         softnet
 47161  177754      0      0  3     0x14200  bored         softnet
 28757     221      0      0  3     0x14200  bored         softnet
 51218  114027      0      0  3     0x14200  bored         systqmp
 94418   90126      0      0  3     0x14200  bored         systq
 84918  262862      0      0  3  0x40014200  bored         softclock
 42220  379110      0      0  3  0x40014200                idle0
     1  386530      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
CPU 1:
exclusive sched_lock &sched_lock r = 1 (0xffffffff82a10170)
#0  witness_lock+0x44d
#1  wakeup_n+0x37
#2  sched_idle+0x232 sys/kern/kern_sched.c:163
#3  proc_trampoline+0x1c
Process 15076 (syz-executor.6) thread 0xffff800022d83ce8 (237322)
exclusive rrwlock inode r = 0 (0xfffffd8069155a30)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140
#5  ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353
#6  ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#7  ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150
#8  VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#9  domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#10 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#10 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8066b1b4e8)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412
#6  namei+0x36a sys/kern/vfs_lookup.c:244
#7  domkdirat+0x75 sys/kern/vfs_syscalls.c:3097
#8  syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8  syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#9  Xsyscall+0x128
Process 58975 (syz-executor.1) thread 0xffff8000ffff5500 (77464)
exclusive rrwlock inode r = 0 (0xfffffd8069155e70)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vget+0x1fc sys/kern/vfs_subr.c:676
#6  ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119
#7  ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1324
#8  ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487
#9  VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:560
#11 namei+0x36a sys/kern/vfs_lookup.c:244
#12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848
#13 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#13 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd80689d9808)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412
#6  namei+0x36a sys/kern/vfs_lookup.c:244
#7  dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848
#8  syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8  syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#9  Xsyscall+0x128
Process 79242 (syz-executor.0) thread 0xffff8000ffff4540 (418139)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a10958)
#0  witness_lock+0x44d
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x3bb sys/kern/sched_bsd.c:415
#3  sleep_finish+0x180 sys/kern/kern_synch.c:417
#4  tsleep+0x12c sys/kern/kern_synch.c:155
#5  biowait+0x91 sys/kern/vfs_bio.c:1268
#6  bwrite+0x21b sys/kern/vfs_bio.c:769
#7  ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113
#8  ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1220
#9  VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#10 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#11 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#11 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#12 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8066b1bd68)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vget+0x1fc sys/kern/vfs_subr.c:676
#6  ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119
#7  ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1324
#8  ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#9  ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150
#10 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#11 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#12 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#12 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#13 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806be40e78)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412
#6  namei+0x36a sys/kern/vfs_lookup.c:244
#7  domkdirat+0x75 sys/kern/vfs_syscalls.c:3097
#8  syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8  syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10194   6409K    6420K  78643K     11296        0
            pcb    13     10K      12K  78643K        15        0
         rtable   236      6K       6K  78643K       603        0
         ifaddr    82     16K      16K  78643K       112        0
       counters    60     35K      35K  78643K        68        0
       ioctlops     0      0K       2K  78643K        42        0
            iov     0      0K      12K  78643K       160        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1271     79K      79K  78643K      1363        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K        11        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K       157        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    22     81K     121K  78643K      1019        0
           proc    56     78K     127K  78643K       607        0
        subproc   104      6K       6K  78643K       156        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K        36        0
       in_multi    99      6K       7K  78643K       158        0
    ether_multi     1      0K       0K  78643K         4        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    73    334K     334K  78643K        73        0
           exec     0      0K       1K  78643K       488        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     8     62K      64K  78643K        10        0
       UVM amap   277     84K      85K  78643K      8050        0
       UVM aobj    83      3K       3K  78643K        83        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K        18        0
            NDP    11      0K       2K  78643K        39        0
           temp   123   4698K    4762K  78643K      6294        0
         kqueue    12     18K      24K  78643K       100        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
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120       62    0       59     1     0     1     1     0     8    0
rtentry    112      157    0       46     4     0     4     4     0     8    0
unpcb      144      869    0      856     9     6     3     6     0     8    2
syncache   296       15    0       15     2     2     0     1     0     8    0
tcpqe       32       83    0       83     2     2     0     1     0     8    0
tcpcb      776      601    0      594    10     8     2    10     0     8    0
arp        120       26    0        8     1     0     1     1     0     8    0
inpcb      368      812    0      803    10     8     2    10     0     8    0
nd6         48       38    0       13     1     0     1     1     0     8    0
kcovpl      48       12    0        4     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      632    0      178    29     0    29    29     0     8    0
art_table   32      633    0      178     4     0     4     4     0     8    0
art_node    16      156    0       55     1     0     1     1     0     8    0
semapl     112      155    0      145     1     0     1     1     0     8    0
shmpl      112       80    0        0     3     0     3     3     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     2435    0     1003    90     0    90    90     0     8    0
ffsino     272     2435    0     1003    96     0    96    96     0     8    0
nchpl      144     3802    0     2173    63     0    63    63     0     8    0
uvmvnodes   80     2600    0        0    54     0    54    54     0     8    0
vnodes     216     2600    0        0   145     0   145   145     0     8    0
namei      1024   12423    0    12421     2     1     1     2     0     8    0
percpumem   16       46    0        4     1     0     1     1     0     8    0
kstatmem   264       30    0        8     2     0     2     2     0     8    0
scxspl     216    11586    0    11585     9     8     1     8     0     8    0
plimitpl   152      264    0      241     4     2     2     2     0     8    1
sigapl     424     1292    0     1240     7     0     7     7     0     8    0
futexpl     64     6614    0     6613     1     0     1     1     0     8    0
knotepl    120      177    0        0     6     1     5     6     0     8    0
kqueuepl   216      269    0      261     5     4     1     5     0     8    0
pipepl     320      344    0      316     6     3     3     6     0     8    0
fdescpl    496     1274    0     1241     7     1     6     6     0     8    0
filepl     152     6406    0     6172    18     6    12    16     0     8    2
lockfpl    104       62    0       60     1     0     1     1     0     8    0
lockfspl    48       27    0       25     1     0     1     1     0     8    0
sessionpl  144       27    0       11     1     0     1     1     0     8    0
pgrppl      48      126    0      110     1     0     1     1     0     8    0
ucredpl    104      603    0      585     1     0     1     1     0     8    0
zombiepl   144     1241    0     1240     1     0     1     1     0     8    0
processpl  1064    1292    0     1240     5     1     4     5     0     8    0
procpl     672     2738    0     2671     9     1     8     8     0     8    1
sosppl     168       19    0       19     3     3     0     1     0     8    0
sockpl     488     1754    0     1729    36    24    12    24     0     8    8
mcl64k     65536      6    0        0     1     0     1     1     0     8    0
mcl16k     16384      7    0        0     1     0     1     1     0     8    0
mcl12k     12288      8    0        0     1     0     1     1     0     8    0
mcl9k      9216       3    0        0     1     0     1     1     0     8    0
mcl8k      8192      13    0        0     2     0     2     2     0     8    0
mcl4k      4096       8    0        0     1     0     1     1     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048     367    0        0    45     0    45    45     0     8    0
mtagpl      96        2    0        0     1     0     1     1     0     8    0
mbufpl     256      472    0        0    27     0    27    27     0     8    0
bufpl      288     4925    0      126   343     0   343   343     0     8    0
anonpl      24   285826    0   273448   108     6   102   102     0   186    7
amapchunkpl 152   22494    0    21786    32     1    31    31     0   158    0
amappl16   200     4135    0     3828    31     0    31    31     0     8   14
amappl15   192        4    0        4     1     1     0     1     0     8    0
amappl14   184      140    0      128     1     0     1     1     0     8    0
amappl13   176        3    0        3     1     1     0     1     0     8    0
amappl12   168      433    0      432     1     0     1     1     0     8    0
amappl11   160       43    0       33     1     0     1     1     0     8    0
amappl10   152       56    0       43     1     0     1     1     0     8    0
amappl9    144      948    0      947     1     0     1     1     0     8    0
amappl8    136      186    0      132     2     0     2     2     0     8    0
amappl7    128       62    0       45     1     0     1     1     0     8    0
amappl6    120      298    0      283     2     1     1     2     0     8    0
amappl5    112      106    0       96     1     0     1     1     0     8    0
amappl4    104      505    0      481     1     0     1     1     0     8    0
amappl3     96     3070    0     3016     2     0     2     2     0     8    0
amappl2     88     1641    0     1568     3     1     2     3     0     8    0
amappl1     80    30111    0    29397    22     5    17    21     0     8    0
amappl      88     7727    0     7527     6     0     6     6     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      72       82    0        0     2     0     2     2     0     8    0
uaddrrnd    24     1274    0     1240     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1274    0     1240     1     0     1     1     0     8    0
vmmpekpl   168    14648    0    14580     4     0     4     4     0     8    0
vmmpepl    168   122657    0   120125   155    19   136   140     0   357   15
vmsppl     368     1273    0     1240     4     0     4     4     0     8    0
rwobjpl     56    36496    0    32440    63     1    62    62     0     8    0
pdppl      4096    2555    0     2480   143    62    81    93     0     8    6
pvpl        32   615144    0   596857   254    40   214   254     0   265   39
pmappl     248     1273    0     1240     4     1     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      801    0       73    21     0    21    21     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffffffff829bfff0) 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
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 kd_curproc sys/dev/kcov.c:577 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 sys/dev/kcov.c:148
__mp_lock(ffffffff82a10750) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82a10750) at __mp_lock+0x133 sys/kern/kern_lock.c:147
intr_handler(ffff80002131c2b0,ffff80000006ba00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532
Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f
Xspllower() at Xspllower+0x19
cnputc(70) at cnputc+0x4b sys/dev/cons.c:218
db_putchar(70) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
db_printf(ffffffff8262d69c) at db_printf+0x85 sys/kern/subr_prf.c:498
panic(ffffffff825a8718) at panic+0xd7 sys/kern/subr_prf.c:216
vop_generic_badop(ffff80002131c6d8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133
end trace frame: 0xffff80002131c720, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff829bfff0) 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
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 kd_curproc sys/dev/kcov.c:577 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 sys/dev/kcov.c:148
__mp_lock(ffffffff82a10750) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82a10750) at __mp_lock+0x133 sys/kern/kern_lock.c:147
intr_handler(ffff80002131c2b0,ffff80000006ba00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532
Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f
Xspllower() at Xspllower+0x19
cnputc(70) at cnputc+0x4b sys/dev/cons.c:218
db_putchar(70) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
db_printf(ffffffff8262d69c) at db_printf+0x85 sys/kern/subr_prf.c:498
panic(ffffffff825a8718) at panic+0xd7 sys/kern/subr_prf.c:216
vop_generic_badop(ffff80002131c6d8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133
VOP_STRATEGY(fffffd80754935f0,fffffd807b238240) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628
bwrite(fffffd807b238240) at bwrite+0x1f0 sys/kern/vfs_bio.c:760
VOP_BWRITE(fffffd807b238240) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640
ufs_mkdir(ffff80002131c970) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236
VOP_MKDIR(fffffd807129c520,ffff80002131cad0,ffff80002131cb00,ffff80002131ca00) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
domkdirat(ffff8000ffff4540,ffffff9c,7f7ffffe8690,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
syscall(ffff80002131cc80) at syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002131cc80) at syscall+0x438 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffe8700, count: -22
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825b348f) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8262b17a,ffffffff82657db2,9eb,ffffffff825e88cb) at __assert+0x25 sys/kern/subr_prf.c:157
uvm_map_teardown(fffffd8066632018) at uvm_map_teardown+0x308 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd8066632018) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: 9
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825b348f) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8262b17a,ffffffff82657db2,9eb,ffffffff825e88cb) at __assert+0x25 sys/kern/subr_prf.c:157
uvm_map_teardown(fffffd8066632018) at uvm_map_teardown+0x308 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd8066632018) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: -6

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/22 01:51 openbsd e4010951843c 1c576c23 .config console log report ci-openbsd-setuid assert "!_kernel_lock_held()" failed in uvm_map.c
2022/11/20 08:33 openbsd 9e4d76890748 5bb70014 .config console log report ci-openbsd-setuid assert "!_kernel_lock_held()" failed in uvm_map.c
2022/11/15 23:12 openbsd 6197d1caec9a bfcab33d .config console log report ci-openbsd-setuid assert "!_kernel_lock_held()" failed in uvm_map.c
2022/08/20 06:41 openbsd 24b6f6bc8d78 26a13b38 .config console log report ci-openbsd-multicore assert "!_kernel_lock_held()" failed in uvm_map.c
2022/06/22 12:40 openbsd 25daa3f3c228 0fc5c330 .config console log report ci-openbsd-setuid assert "!_kernel_lock_held()" failed in uvm_map.c
2022/06/13 20:55 openbsd db879ab8e4d2 0f087040 .config console log report ci-openbsd-multicore assert "!_kernel_lock_held()" failed in uvm_map.c
* Struck through repros no longer work on HEAD.