syzbot


panic: rw_enter: solock locking against myself

Status: auto-obsoleted due to no activity on 2022/12/26 22:02
Reported-by: syzbot+f784cdc68e5300020799@syzkaller.appspotmail.com
First crash: 873d, last: 786d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: rw_enter: solock locking against myself (2) syz 3 318d 515d 0/3 auto-obsoleted due to no activity on 2024/04/07 19:27

Sample crash report:
panic: rw_enter: solock locking against myself
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 12723  66910  32767        0x10  0x4000000    0K syz-executor.0
  81792  44211  32767        0x10          0    1  syz-executor.2
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825e977d) at panic+0x177 sys/kern/subr_prf.c:198
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 rw_enter_diag sys/kern/kern_rwlock.c:183 [inline]
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 sys/kern/kern_rwlock.c:274
soisconnected(fffffd806a4c2400) at soisconnected+0x23f solock sys/kern/uipc_socket2.c:352 [inline]
soisconnected(fffffd806a4c2400) at soisconnected+0x23f sys/kern/uipc_socket2.c:112
unp_connect2(fffffd80744f9048,fffffd806a4c2400) at unp_connect2+0xc6
unp_connect(fffffd80744f9048,fffffd807d5c9b00,ffff8000ffff4d30) at unp_connect+0x46d sys/kern/uipc_usrreq.c:885
sys_connect(ffff8000ffff4d30,ffff8000243dcbe8,ffff8000243dcc30) at sys_connect+0x203 sys/kern/uipc_syscalls.c:419
syscall(ffff8000243dccb0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff8000243dccb0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8bb3d50bc70, count: 6
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: rw_enter: solock locking against myself
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825e977d) at panic+0x177 sys/kern/subr_prf.c:198
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 rw_enter_diag sys/kern/kern_rwlock.c:183 [inline]
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 sys/kern/kern_rwlock.c:274
soisconnected(fffffd806a4c2400) at soisconnected+0x23f solock sys/kern/uipc_socket2.c:352 [inline]
soisconnected(fffffd806a4c2400) at soisconnected+0x23f sys/kern/uipc_socket2.c:112
unp_connect2(fffffd80744f9048,fffffd806a4c2400) at unp_connect2+0xc6
unp_connect(fffffd80744f9048,fffffd807d5c9b00,ffff8000ffff4d30) at unp_connect+0x46d sys/kern/uipc_usrreq.c:885
sys_connect(ffff8000ffff4d30,ffff8000243dcbe8,ffff8000243dcc30) at sys_connect+0x203 sys/kern/uipc_syscalls.c:419
syscall(ffff8000243dccb0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff8000243dccb0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8bb3d50bc70, count: -9
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000243dc810
rbx               0xffffffff82963b8f    cpu_info_full_primary+0x2b8f
rdx                                0
rcx                                0
rax               0xffff8000ffff4d30
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x7d81925a6ee1d35e
r11               0xdfb82b6dd9e36fc4
r12               0xffffffff82963990    cpu_info_full_primary+0x2990
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff8215e0d8    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff8000243dc800
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.0) pid=12723 stat=onproc
    flags process=10<SUGID> proc=4000000<THREAD>
    pri=32, usrpri=80, nice=20
    forw=0xffffffffffffffff, list=0xffff8000ffff4fd0,0xffff8000ffff4560
    process=0xffff8000ffff3a48 user=0xffff8000243d7000, vmspace=0xfffffd806c5d8d00
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 66910  352045  59609  32767  2        0x10                syz-executor.0
 66910  488920  59609  32767  3   0x4000090  fsleep        syz-executor.0
*66910   12723  59609  32767  7   0x4000010                syz-executor.0
 66910  483517  59609  32767  3   0x4000090  fsleep        syz-executor.0
 59225  370581  12675  32767  2       0x490                syz-executor.5
 59225  232627  12675  32767  3   0x4000090  fsleep        syz-executor.5
 83580  289541  72296  32767  2        0x10                syz-executor.6
 83580  283603  72296  32767  3   0x4000090  fsleep        syz-executor.6
 44211   81792  63274  32767  7        0x10                syz-executor.2
 44211  114961  63274  32767  3   0x4000090  netio         syz-executor.2
 63274  252521  37395  32767  2       0x490                syz-executor.2
 37395  260016  81936      0  3        0x82  wait          syz-executor.2
 59609  342121  23232  32767  3        0x90  nanoslp       syz-executor.0
 23232  259081  81936      0  3        0x82  wait          syz-executor.0
 96907  434676  45636  32767  2        0x10                syz-executor.7
 45636  408433  81936      0  3        0x82  wait          syz-executor.7
 22184  311823   5548  32767  2        0x10                syz-executor.4
  5548  398766  81936      0  3        0x82  wait          syz-executor.4
 12675  391374  34534  32767  2       0x490                syz-executor.5
 34534  117412  81936      0  3        0x82  wait          syz-executor.5
 72296  249960   3538  32767  2       0x490                syz-executor.6
  3538   20773  81936      0  3        0x82  wait          syz-executor.6
 10546  289925  14063  32767  2       0x490                syz-executor.3
 14063  177160  81936      0  3        0x82  wait          syz-executor.3
  7577  503920      0      0  3     0x14200  bored         sosplice
 26048  226793  18839  32767  2       0x490                syz-executor.1
 18839  457302  81936      0  3        0x82  wait          syz-executor.1
 81936  513615   8672      0  3        0x82  kqread        syz-fuzzer
 81936  299368   8672      0  2   0x4000482                syz-fuzzer
 81936  405021   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936  195710   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  316359   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936  391965   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  426020   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936    2915   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  194977   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936  243915   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  498457   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936   85202   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  360219   8672      0  3   0x4000082  thrsleep      syz-fuzzer
 81936  205882   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  211133   8672      0  3   0x4000082  wait          syz-fuzzer
 81936  100631   8672      0  3   0x4000082  wait          syz-fuzzer
  8672  345160  53608      0  3    0x10008a  sigsusp       ksh
 53608  199743  33522      0  3        0x9a  kqread        sshd
 91037   29636      1      0  3    0x100083  ttyin         getty
 33522  468325      1      0  3        0x88  kqread        sshd
 63417  471758  12967     73  3   0x1100090  kqread        syslogd
 12967  477590      1      0  3    0x100082  netio         syslogd
 99979  348181      1      0  3    0x100080  kqread        resolvd
 93789   93643  84498     77  3    0x100092  kqread        dhcpleased
 94348  307614  84498     77  3    0x100092  kqread        dhcpleased
 84498  458289      1      0  3        0x80  kqread        dhcpleased
 22986  355208      0      0  3     0x14200  bored         smr
 19852  171305      0      0  2     0x14200                zerothread
 93241  102134      0      0  3     0x14200  aiodoned      aiodoned
 60695  425243      0      0  3     0x14200  syncer        update
 53092  196448      0      0  3     0x14200  cleaner       cleaner
 26815  311477      0      0  3     0x14200  reaper        reaper
 19241  121805      0      0  3     0x14200  pgdaemon      pagedaemon
 19723   10034      0      0  3     0x14200  bored         viomb
 79672  307795      0      0  3  0x40014200  acpi0         acpi0
 87222  381757      0      0  3  0x40014200                idle1
 22592  245743      0      0  3     0x14200  bored         softnet
 56298   52520      0      0  3     0x14200  bored         softnet
 99336  101091      0      0  3     0x14200  bored         softnet
 57228  268933      0      0  3     0x14200  bored         softnet
 25494   71723      0      0  3     0x14200  bored         systqmp
 38244  363181      0      0  3     0x14200  bored         systq
 95042  127739      0      0  2  0x40014200                softclock
 76470  390456      0      0  3  0x40014200                idle0
     1  120013      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 66910 (syz-executor.0) thread 0xffff8000ffff4d30 (12723)
exclusive rwlock solock r = 0 (0xfffffd80744f9060)
#0  witness_lock+0x44d
#1  unp_connect+0x390 sys/kern/uipc_usrreq.c:857
#2  sys_connect+0x203 sys/kern/uipc_syscalls.c:419
#3  syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#3  syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
#4  Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8066ec8c50)
#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+0x122c sys/ufs/ufs/ufs_lookup.c:582
#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 unp_connect+0x1ca sys/kern/uipc_usrreq.c:818
#13 sys_connect+0x203 sys/kern/uipc_syscalls.c:419
#14 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#14 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
#15 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ba6578)
#0  witness_lock+0x44d
#1  unp_connect+0x1c2 sys/kern/uipc_usrreq.c:818
#2  sys_connect+0x203 sys/kern/uipc_syscalls.c:419
#3  syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#3  syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
#4  Xsyscall+0x128
Process 96907 (syz-executor.7) thread 0xffff8000212597b0 (434676)
exclusive rrwlock inode r = 0 (0xfffffd807e2baa30)
#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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8066ec8b40)
#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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8  syscall+0x435 sys/arch/amd64/amd64/trap.c:585
#9  Xsyscall+0x128
Process 22184 (syz-executor.4) thread 0xffff8000ffff5270 (311823)
exclusive rrwlock inode r = 0 (0xfffffd807c4a3c48)
#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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8066ec85f0)
#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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8  syscall+0x435 sys/arch/amd64/amd64/trap.c:585
#9  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10217   6412K    6420K  78643K     11402        0
            pcb    13     16K      20K  78643K        19        0
         rtable   254      7K       7K  78643K      3761        0
         ifaddr    82     17K      17K  78643K       305        0
         sysctl     3      1K       1K  78643K         3        0
       counters    56     35K      35K  78643K       118        0
       ioctlops     0      0K       2K  78643K       489        0
            iov     1      4K      32K  78643K      6967        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1271     79K      79K  78643K      8527        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K       476        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K     14856        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    22     81K     121K  78643K     37088        0
          sigio     0      0K       0K  78643K       933        0
           proc    56     78K     115K  78643K      3673        0
        subproc   104      6K       6K  78643K       507        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K      8492        0
       in_multi    99      6K       6K  78643K       853        0
    ether_multi     1      0K       0K  78643K       141        0
            mrt     1      0K       0K  78643K         2        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   247   1102K    1102K  78643K       247        0
           exec     0      0K       2K  78643K      7756        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   376     88K     752K  78643K    228666        0
       UVM aobj   131      4K       4K  78643K       133        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K      1152        0
            NDP    11      0K       2K  78643K       120        0
           temp   124   4734K    4862K  78643K     90933        0
         kqueue    12     18K      28K  78643K      3537        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     3643    0     3640    44    41     3     4     0     8    2
rtentry    112      512    0      392     4     0     4     4     0     8    0
unpcb      144    35462    0    35443   288   282     6    10     0     8    5
syncache   296      408    0      408    70    70     0     1     0     8    0
sackhl      24        1    0        1     1     1     0     1     0     8    0
tcpqe       32      324    0      324    47    47     0     1     0     8    0
tcpcb      768    53809    0    53726  1141  1129    12    32     0     8    3
arp        120       90    0       71     1     0     1     1     0     8    0
ipq         40      117    0      117    20    20     0     1     0     8    0
ipqe        40      524    0      524    20    20     0     1     0     8    0
inpcb      368    75445    0    75433   617   609     8    19     0     8    6
nd6         48      167    0      134     1     0     1     1     0     8    0
kcovpl      48       39    0       31     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     2061    0     1576    41    10    31    32     0     8    0
art_table   32     2062    0     1576     5     1     4     5     0     8    0
art_node    16      511    0      401     1     0     1     1     0     8    0
sysvmsgpl   40       45    0        5     1     0     1     1     0     8    0
semupl     112        4    0        4     1     1     0     1     0     8    0
semapl     112    14854    0    14844     1     0     1     1     0     8    0
shmpl      112      130    0        2     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    51623    0    50085    97     0    97    97     0     8    0
ffsino     272    51624    0    50085   103     0   103   103     0     8    0
nchpl      144   102244    0   100609    63     0    63    63     0     8    0
uvmvnodes   80     5926    0        0   121     0   121   121     0     8    0
vnodes     216     5926    0        0   330     0   330   330     0     8    0
namei      1024  346449    0   346447     4     3     1     2     0     8    0
percpumem   16       71    0       31     1     0     1     1     0     8    0
kstatmem   264       84    0       62     2     0     2     2     0     8    0
scxspl     216   291125    0   291125    69    68     1     8     0     8    1
plimitpl   152     8366    0     8343    78    76     2     2     0     8    1
sigapl     424    37317    0    37264     7     0     7     7     0     8    0
futexpl     64   377957    0   377953     5     4     1     1     0     8    0
knotepl    120     1456    0        0    12     2    10    11     0     8    0
kqueuepl   216    11229    0    11221   182   177     5     8     0     8    4
pipepl     320    10335    0    10307   262   251    11    13     0     8    8
fdescpl    496    37299    0    37266     7     2     5     6     0     8    0
filepl     152   294612    0   294371   408   390    18    22     0     8    6
lockfpl    104     7637    0     7635     5     4     1     2     0     8    0
lockfspl    48     1740    0     1738     1     0     1     1     0     8    0
sessionpl  144       54    0       38     1     0     1     1     0     8    0
pgrppl      48     1912    0     1896     1     0     1     1     0     8    0
ucredpl    104    46291    0    46273     1     0     1     1     0     8    0
zombiepl   144    37266    0    37264     1     0     1     1     0     8    0
processpl  1064   37317    0    37264     5     1     4     5     0     8    0
procpl     672   112977    0   112903    31    23     8     9     0     8    0
sosppl     168      553    0      553    44    43     1     1     0     8    1
sockpl     488   115860    0   115823  1836  1821    15    42     0     8    8
mcl64k     65536     49    0        0     4     1     3     3     0     8    0
mcl16k     16384     73    0        0     5     3     2     3     0     8    0
mcl12k     12288     49    0        0     2     0     2     2     0     8    0
mcl9k      9216      41    0        0     2     0     2     2     0     8    0
mcl8k      8192      72    0        0     5     3     2     3     0     8    0
mcl4k      4096     129    0        0     7     4     3     5     0     8    0
mcl2k2     2112      18    0        0     2     0     2     2     0     8    0
mcl2k      2048     658    0        0    33    10    23    33     0     8    0
mtagpl      96        7    0        0     1     0     1     1     0     8    0
mbufpl     256    11385    0        0   611     0   611   611     0     8    0
bufpl      288    58149    0    51811   454     0   454   454     0     8    0
anonpl      24  7897593    0  7883913   391   279   112   136     0   186    0
amapchunkpl 152 1232432    0  1231743  2673  2641    32   679     0   158    0
amappl16   200   131358    0   130955   585   553    32    48     0     8    5
amappl15   192     3681    0     3676     2     1     1     1     0     8    0
amappl14   184      972    0      961     1     0     1     1     0     8    0
amappl13   176     6179    0     6175     1     0     1     1     0     8    0
amappl12   168    12925    0    12919     1     0     1     1     0     8    0
amappl11   160     2049    0     2031     1     0     1     1     0     8    0
amappl10   152     6295    0     6287     1     0     1     1     0     8    0
amappl9    144     1044    0     1034     1     0     1     1     0     8    0
amappl8    136     7183    0     7010    10     3     7     7     0     8    0
amappl7    128     5693    0     5670     1     0     1     1     0     8    0
amappl6    120      900    0      877     2     1     1     2     0     8    0
amappl5    112    29355    0    29339     1     0     1     1     0     8    0
amappl4    104     5125    0     5077     2     0     2     2     0     8    0
amappl3     96   133822    0   133755     9     6     3     3     0     8    0
amappl2     88    53875    0    53791    13    11     2     3     0     8    0
amappl1     80   893186    0   892409    25     7    18    21     0     8    0
amappl      88   225696    0   225503     7     1     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      132    0        2     3     0     3     3     0     8    0
uaddrrnd    24    37299    0    37266     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    37299    0    37266     1     0     1     1     0     8    0
vmmpekpl   168   305399    0   305323     4     0     4     4     0     8    0
vmmpepl    168  3723859    0  3720892   617   468   149   160     0   357    2
vmsppl     368    37298    0    37266     4     0     4     4     0     8    0
rwobjpl     56   938926    0   931224   152    38   114   115     0     8    0
pdppl      4096   74605    0    74532   778   697    81    93     0     8    8
pvpl        32 14776075    0 14756626   973   773   200   261     0   265   10
pmappl     248    37298    0    37266     4     1     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     2770    0     1342    42     0    42    42     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:437
panic(ffffffff825e977d) at panic+0x177 sys/kern/subr_prf.c:198
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 rw_enter_diag sys/kern/kern_rwlock.c:183 [inline]
rw_enter(fffffd80744f9050,1) at rw_enter+0x482 sys/kern/kern_rwlock.c:274
soisconnected(fffffd806a4c2400) at soisconnected+0x23f solock sys/kern/uipc_socket2.c:352 [inline]
soisconnected(fffffd806a4c2400) at soisconnected+0x23f sys/kern/uipc_socket2.c:112
unp_connect2(fffffd80744f9048,fffffd806a4c2400) at unp_connect2+0xc6
unp_connect(fffffd80744f9048,fffffd807d5c9b00,ffff8000ffff4d30) at unp_connect+0x46d sys/kern/uipc_usrreq.c:885
sys_connect(ffff8000ffff4d30,ffff8000243dcbe8,ffff8000243dcc30) at sys_connect+0x203 sys/kern/uipc_syscalls.c:419
syscall(ffff8000243dccb0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff8000243dccb0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8bb3d50bc70, count: -9
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020dd8ff0) 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(ffffffff82ba6370) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82ba6370) at __mp_lock+0x122 sys/kern/kern_lock.c:147
syscall(ffff800022db0320) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline]
syscall(ffff800022db0320) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffcefe0, count: 9
ddb{1}> trace
x86_ipi_db(ffff800020dd8ff0) 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(ffffffff82ba6370) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82ba6370) at __mp_lock+0x122 sys/kern/kern_lock.c:147
syscall(ffff800022db0320) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline]
syscall(ffff800022db0320) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffcefe0, count: -6

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/27 22:01 openbsd e99802964e37 87840e00 .config console log report ci-openbsd-setuid panic: rw_enter: solock locking against myself
2022/08/04 18:09 openbsd 73f52ef7130c 1c9013ac .config console log report ci-openbsd-setuid panic: rw_enter: solock locking against myself
2022/07/13 11:23 openbsd 1cc9250c5648 5d921b08 .config console log report ci-openbsd-setuid panic: rw_enter: solock locking against myself
2022/07/02 14:21 openbsd a4a82b864d54 1434eec0 .config console log report ci-openbsd-multicore panic: rw_enter: solock locking against myself
2022/07/02 07:13 openbsd a4a82b864d54 1434eec0 .config console log report ci-openbsd-multicore panic: rw_enter: solock locking against myself
* Struck through repros no longer work on HEAD.