syzbot


uvm_fault: ktrops

Status: auto-closed as invalid on 2022/06/04 01:35
Reported-by: syzbot+e06b8353b8ef92799ff1@syzkaller.appspotmail.com
First crash: 991d, last: 991d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: ktrops (2) C 62 2d00h 419d 0/3 upstream: reported C repro on 2023/09/29 03:07

Sample crash report:
uvm_fault(0xfffffd807cf505f0, 0x7, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      ktrops+0x4a:    movq    0x8(%rbx),%r14
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*331107  27543      0           0  0x4000000    1K syz-executor.5
 459056  64428      0         0x2          0    0  syz-executor.4
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline]
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a sys/kern/kern_ktrace.c:547
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline]
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 sys/kern/kern_ktrace.c:494
sys_ktrace(ffff8000ffff4000,ffff800023103b28,ffff800023103b80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535
syscall(ffff800023103bf0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023103bf0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x171a0829a60, count: 10
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
*cpu1: uvm_fault(0xfffffd807cf505f0, 0x7, 0, 1) -> e
ddb{1}> trace
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline]
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a sys/kern/kern_ktrace.c:547
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline]
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 sys/kern/kern_ktrace.c:494
sys_ktrace(ffff8000ffff4000,ffff800023103b28,ffff800023103b80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535
syscall(ffff800023103bf0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023103bf0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x171a0829a60, count: -5
ddb{1}> show registers
rdi               0xffff800027b05000
rsi                           0x3018    __ALIGN_SIZE+0x2018
rbp               0xffff800023103910
rbx               0xffffffffffffffff
rdx               0xffff800027b05000
rcx                           0x3017    __ALIGN_SIZE+0x2017
rax               0xffffffff8240efbf    ktrops+0x3f
r8                0xfffffd806791b160
r9                0xfffffd807f7d87e0
r10               0x75fbb1db267f2355
r11               0xc47ac33eb9330ef8
r12               0xffffffffffffffff
r13               0xfffffd807f7d87e0
r14               0xffff8000ffff4000
r15                       0xdf78719c
rip               0xffffffff8240efca    ktrops+0x4a
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff800023103890
ss                              0x10
ktrops+0x4a:    movq    0x8(%rbx),%r14
ddb{1}> show proc
PROC (syz-executor.5) pid=331107 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=17, usrpri=75, nice=20
    forw=0xffffffffffffffff, list=0xffff8000ffff2fc8,0xffff8000ffff4d30
    process=0xffff8000230a0020 user=0xffff8000230fe000, vmspace=0xfffffd807cf505f0
    estcpu=25, cpticks=1, pctcpu=0.0
    user=0, sys=0, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
  2246  438667  15171      0  2           0                syz-executor.1
 60674    5996   2721      0  2           0                syz-executor.3
 60674  210869   2721      0  2   0x4000000                syz-executor.3
 27543  236178  58974      0  2           0                syz-executor.5
*27543  331107  58974      0  7   0x4000000                syz-executor.5
 45609   81728  11728      0  3        0x80  nanoslp       syz-executor.2
 45609  355393  11728      0  3   0x4000080  fsleep        syz-executor.2
 45609  440964  11728      0  3   0x4000080  fsleep        syz-executor.2
 11728  254706  87612      0  3        0x82  nanoslp       syz-executor.2
 64428  459056  87612      0  7         0x2                syz-executor.4
 26635  235736  87612      0  3        0x82  nanoslp       syz-executor.7
 15171  424253  87612      0  3        0x82  nanoslp       syz-executor.1
 65601  514289  87612      0  3        0x82  nanoslp       syz-executor.0
  2721   85665  87612      0  3        0x82  nanoslp       syz-executor.3
 41235  382638  87612      0  3        0x82  nanoslp       syz-executor.6
 71691  283847      0      0  3     0x14280  nfsidl        nfsio
 59575  295794      0      0  3     0x14280  nfsidl        nfsio
 29942    3185      0      0  3     0x14280  nfsidl        nfsio
 74872  413366      0      0  3     0x14280  nfsidl        nfsio
 55298  242983      0      0  3     0x14280  nfsidl        nfsio
 74312  203343      0      0  3     0x14280  nfsidl        nfsio
 15480  316861      0      0  3     0x14280  nfsidl        nfsio
 26154  324417      0      0  3     0x14280  nfsidl        nfsio
 21546  391069      0      0  3     0x14280  nfsidl        nfsio
 27988  149474      0      0  3     0x14280  nfsidl        nfsio
 80908  166303      0      0  3     0x14280  nfsidl        nfsio
 53380  326468      0      0  3     0x14280  nfsidl        nfsio
 29144   75440      0      0  3     0x14280  nfsidl        nfsio
 24291  100559      0      0  3     0x14280  nfsidl        nfsio
 70522   75873      0      0  3     0x14280  nfsidl        nfsio
 96113  480990      0      0  3     0x14280  nfsidl        nfsio
 83025  179058      0      0  3     0x14280  nfsidl        nfsio
  3214  126679      0      0  3     0x14280  nfsidl        nfsio
 10206  218920      0      0  3     0x14280  nfsidl        nfsio
 75347  343240      0      0  3     0x14280  nfsidl        nfsio
 60598  521799      0      0  3     0x14200  acct          acct
 81081  381881      0      0  3     0x14200  bored         sosplice
 58974   59448  87612      0  3        0x82  nanoslp       syz-executor.5
 87612  206106  10886      0  3        0x82  nanoslp       syz-fuzzer
 87612  383843  10886      0  3   0x4000082  nanoslp       syz-fuzzer
 87612   49829  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 87612   17084  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 87612  183669  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 87612  147766  10886      0  3   0x4000082  kqread        syz-fuzzer
 87612  261315  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 87612  330102  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 87612  260371  10886      0  3   0x4000082  thrsleep      syz-fuzzer
 10886  510807  74974      0  3    0x10008a  sigsusp       ksh
 74974  417266   2700      0  3        0x9a  kqread        sshd
 71900  411453      1      0  3    0x100083  ttyin         getty
  2700  456630      1      0  3        0x88  kqread        sshd
 72036  267867  63797     74  3   0x1100092  bpf           pflogd
 63797   39051      1      0  3        0x80  netio         pflogd
 30131  444774  50681     73  3   0x1100090  kqread        syslogd
 50681  286376      1      0  3    0x100082  netio         syslogd
 60468  356121      1      0  3    0x100080  kqread        resolvd
  1331  317179  24609     77  3    0x100092  kqread        dhcpleased
 96844  369035  24609     77  3    0x100092  kqread        dhcpleased
 24609  142641      1      0  3        0x80  kqread        dhcpleased
 78337   11118      0      0  3     0x14200  bored         smr
 77249  189439      0      0  2     0x14200                zerothread
  9641  267523      0      0  3     0x14200  aiodoned      aiodoned
 11951  355589      0      0  3     0x14200  syncer        update
 63184  434670      0      0  3     0x14200  cleaner       cleaner
 65336  360260      0      0  3     0x14200  reaper        reaper
 28702  418845      0      0  3     0x14200  pgdaemon      pagedaemon
 83874   66673      0      0  3     0x14200  bored         viomb
 64011  493481      0      0  3  0x40014200  acpi0         acpi0
 65504   88184      0      0  3  0x40014200                idle1
 51124  258467      0      0  2     0x14200                softnet
 73819   16873      0      0  3     0x14200  bored         systqmp
 83568  428902      0      0  3     0x14200  bored         systq
 92545   70112      0      0  3  0x40014200  bored         softclock
 27453   71977      0      0  3  0x40014200                idle0
     1  143193      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 27543 (syz-executor.5) thread 0xffff8000ffff4000 (331107)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82a135e0)
#0  witness_lock+0x44d
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x3d3 sys/kern/sched_bsd.c:416
#3  sleep_finish+0x198 sys/kern/kern_synch.c:437
#4  tsleep+0x12c sys/kern/kern_synch.c:158
#5  biowait+0x91 sys/kern/vfs_bio.c:1271
#6  bwrite+0x21b sys/kern/vfs_bio.c:772
#7  ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113
#8  ffs_truncate+0xcec
#9  ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84
#10 VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:505
#11 vrele+0xd2 sys/kern/vfs_subr.c:824
#12 ktrsettrace+0xb3 sys/kern/kern_ktrace.c:124
#13 ktrops+0x1a4 sys/kern/kern_ktrace.c:550
#14 doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline]
#14 doktrace+0x514 sys/kern/kern_ktrace.c:494
#15 sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535
#16 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#16 syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#17 Xsyscall+0x128
Process 64428 (syz-executor.4) thread 0xffff80002e35fa40 (459056)
exclusive rrwlock inode r = 0 (0xfffffd807391ef88)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:461
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:534
#4  ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140
#5  ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347
#6  ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#7  ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162
#8  VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404
#9  domkdirat+0x121 sys/kern/vfs_syscalls.c:3101
#10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806e458b40)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:461
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:534
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:579
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413
#6  namei+0x36a sys/kern/vfs_lookup.c:245
#7  domkdirat+0x75 sys/kern/vfs_syscalls.c:3086
#8  syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#8  syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10255   6628K    7306K  78643K     22233        0
            pcb    13     18K      20K  78643K      1162        0
         rtable   268     17K      19K  78643K      2712        0
         ifaddr    96     23K      26K  78643K      1975        0
         sysctl     3      1K       1K  78643K         3        0
       counters    56     35K      36K  78643K       538        0
       ioctlops     0      0K       8K  78643K      7755        0
            iov     0      0K      20K  78643K      1087        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1413     88K      89K  78643K      8447        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K        61        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K      1171        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    15     53K      93K  78643K      9990        0
          sigio     0      0K       0K  78643K       740        0
           proc    71     87K     148K  78643K      1825        0
        subproc   104      6K       7K  78643K       548        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K       346        0
       in_multi    95      6K       6K  78643K       835        0
    ether_multi     1      0K       0K  78643K        69        0
            mrt     0      0K       0K  78643K        24        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   427   1897K    1897K  78643K       427        0
           exec     0      0K       2K  78643K      2260        0
     pfkey data     0      0K       1K  78643K         4        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   491    759K     759K  78643K    129039        0
       UVM aobj   131      4K       4K  78643K       139        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       305        0
            NDP    12      0K       1K  78643K       373        0
           temp   157   4757K    5389K  78643K    105121        0
         kqueue    12     18K      26K  78643K       398        0
      SYN cache     2      8K      16K  78643K         3        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      876    0      872    13    12     1     3     0     8    0
rtentry    112      685    0      584     4     0     4     4     0     8    0
unpcb      136    16907    0    16892   143   142     1     9     0     8    0
syncache   296       35    0       35    14    14     0     1     0     8    0
tcpqe       32        7    0        7     3     3     0     1     0     8    0
tcpcb      736     3701    0     3697   138   137     1    13     0     8    0
arp        120       96    0       78     1     0     1     1     0     8    0
inpcb      304    13836    0    13829   205   201     4    11     0     8    3
rttmr       72        7    0        7     3     3     0     1     0     8    0
nd6         48      167    0      144     1     0     1     1     0     8    0
pkpcb       40       16    0       16     4     4     0     1     0     8    0
kcovpl      48       42    0       34     1     0     1     1     0     8    0
ppxss      1248     145    0      145    13    13     0     1     0     8    0
pfstscr     40        8    0        8     4     4     0     1     0     8    0
pffrag     232       95    0       94     8     7     1     1     0   482    0
pffrnode    88       95    0       94     8     7     1     1     0     8    0
pffrent     40      914    0      913    12    11     1     1     0     8    0
pfosfp      40     1439    0     1014     5     0     5     5     0     8    0
pfosfpen   112     1439    0      723    21     0    21    21     0     8    0
pfrktable  1344     299    0      279     7     5     2     3     0     8    0
pftag       88      109    0      106     1     0     1     1     0     8    0
pfqueue    264       75    0       75     3     3     0     1     0     8    0
pfstitem    24       24    0       22     1     0     1     1     0     8    0
pfstkey    112       32    0       30     1     0     1     1     0     8    0
pfstate    320       26    0       24     2     1     1     2     0     8    0
pfrule     1360    1295    0     1077    25     6    19    19     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     3056    0     2609    45    17    28    31     0     8    0
art_table   32     3057    0     2609     4     0     4     4     0     8    0
art_node    16      676    0      585     1     0     1     1     0     8    0
sysvmsgpl   40        5    0        4     2     1     1     1     0     8    0
semapl     112     1168    0     1158     1     0     1     1     0     8    0
shmpl      112      136    0        8     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    16514    0    15041    93     0    93    93     0     8    0
ffsino     272    16514    0    15041    99     0    99    99     0     8    0
nchpl      144    28932    0    27303    63     0    63    63     0     8    0
uvmvnodes   80     5926    0        0   121     0   121   121     0     8    0
vnodes     224     5926    0        0   349     0   349   349     0     8    0
namei      1024  117388    0   117387     6     5     1     2     0     8    0
percpumem   16      281    0      241     1     0     1     1     0     8    0
vcpupl     2048     101    0        0    13     0    13    13     0     8    0
vmpool     560      110    0        9     8     0     8     8     0     8    0
pfiaddrpl  120      110    0       82     1     0     1     1     0     8    0
scsiplug    72        7    0        7     1     1     0     1     0     8    0
scxspl     216    73355    0    73355    25    24     1     8     0     8    1
plimitpl   152      786    0      771     1     0     1     1     0     8    0
sigapl     424    10255    0    10189     8     0     8     8     0     8    0
futexpl     64    89609    0    89607     4     3     1     1     0     8    0
knotepl    120      352    0        0     9     1     8     9     0     8    0
kqueuepl   216     1857    0     1849    51    50     1     8     0     8    0
pipepl     336     3126    0     3098   106   103     3    10     0     8    0
fdescpl    496    10219    0    10191     5     1     4     5     0     8    0
filepl     152    99295    0    99053   210   198    12    25     0     8    1
lockfpl    104     2127    0     2125     5     4     1     2     0     8    0
lockfspl    48      599    0      597     1     0     1     1     0     8    0
sessionpl  144       58    0       41     1     0     1     1     0     8    0
pgrppl      48      142    0      125     1     0     1     1     0     8    0
ucredpl     96    28214    0    28199     1     0     1     1     0     8    0
zombiepl   144    10192    0    10189     1     0     1     1     0     8    0
processpl  1064   10255    0    10189     5     0     5     5     0     8    0
procpl     672    30266    0    30188    33    25     8     9     0     8    0
srpgc       96       41    0       41    12    12     0     1     0     8    0
sosppl     168      102    0      102    20    20     0     1     0     8    0
sockpl     480    31653    0    31627   909   899    10    35     0     8    6
mcl64k     65536     34    0        0     4     1     3     3     0     8    0
mcl16k     16384     27    0        0     4     2     2     3     0     8    0
mcl12k     12288     33    0        0     2     0     2     2     0     8    0
mcl9k      9216      25    0        0     2     0     2     2     0     8    0
mcl8k      8192      49    0        0     4     1     3     3     0     8    0
mcl4k      4096      34    0        0     3     0     3     3     0     8    0
mcl2k2     2112       8    0        0     1     0     1     1     0     8    0
mcl2k      2048     227    0        0    17     3    14    17     0     8    0
mtagpl      96      621    0        0    12     3     9    11     0     8    0
mbufpl     256     1543    0        0    52     1    51    52     0     8    0
bufpl      288    17751    0    11415   453     0   453   453     0     8    0
anonpl      24  2911182    0  2893958   247   111   136   147     0   186    0
amapchunkpl 152  320100    0   319253   106    69    37    49     0   158    0
amappl16   200    27589    0    26930   168   132    36    46     0     8    1
amappl15   192     3017    0     3010     1     0     1     1     0     8    0
amappl14   184      236    0      231     1     0     1     1     0     8    0
amappl13   176      682    0      677     1     0     1     1     0     8    0
amappl12   168     2691    0     2690     2     1     1     1     0     8    0
amappl11   160      691    0      674     1     0     1     1     0     8    0
amappl10   152     1347    0     1336     1     0     1     1     0     8    0
amappl9    144      842    0      840     1     0     1     1     0     8    0
amappl8    136     2751    0     2646     4     0     4     4     0     8    0
amappl7    128     1618    0     1606     1     0     1     1     0     8    0
amappl6    120      679    0      652     2     1     1     2     0     8    0
amappl5    112     7981    0     7964     1     0     1     1     0     8    0
amappl4    104     3087    0     3051     5     3     2     2     0     8    1
amappl3     96     3959    0     3945     1     0     1     1     0     8    0
amappl2     88     4197    0     4143     3     1     2     3     0     8    0
amappl1     80   187023    0   186454    21     7    14    19     0     8    0
amappl      88   127857    0   127557    10     2     8     8     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      138    0        8     3     0     3     3     0     8    0
uaddrrnd    24    10329    0    10200     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    10329    0    10200     1     0     1     1     0     8    0
vmmpekpl   168    86177    0    86095     5     0     5     5     0     8    0
vmmpepl    168   937477    0   934705   347   207   140   149     0   357    3
vmsppl     368    10328    0    10200    14     2    12    12     0     8    0
rwobjpl     56   234206    0   226415   120     7   113   114     0     8    0
pdppl      4096   20665    0    20501   737   567   170   170     0     8    6
pvpl        32  4866693    0  4845239   513   302   211   246     0   265    0
pmappl     248    10328    0    10200    10     1     9     9     0     8    0
extentpl    40       58    0       38     1     0     1     1     0     8    0
phpool     112     1820    0      847    29     0    29    29     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffffffff82944ff0) 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+0x28 kd_curproc sys/dev/kcov.c:577 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148
__mp_lock(ffffffff82a133d8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82a133d8) at __mp_lock+0x133 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82a133d8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416
sleep_finish(ffff8000278b24b0,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437
tsleep(fffffd80678a26e0,11,ffffffff82635661,0) at tsleep+0x12c sys/kern/kern_synch.c:158
getblk(fffffd807efc87e0,ca940,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1031
bread(fffffd807efc87e0,ca940,4000,ffff8000278b2758) at bread+0x3a bio_doread sys/kern/vfs_bio.c:436 [inline]
bread(fffffd807efc87e0,ca940,4000,ffff8000278b2758) at bread+0x3a sys/kern/vfs_bio.c:481
ffs_update(fffffd806e458aa8,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91
ufs_mkdir(ffff8000278b2950) at ufs_mkdir+0x433 sys/ufs/ufs/ufs_vnops.c:1197
VOP_MKDIR(fffffd807d4d0510,ffff8000278b2ab0,ffff8000278b2ae0,ffff8000278b29e0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404
end trace frame: 0xffff8000278b2b80, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff82944ff0) 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+0x28 kd_curproc sys/dev/kcov.c:577 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148
__mp_lock(ffffffff82a133d8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82a133d8) at __mp_lock+0x133 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82a133d8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416
sleep_finish(ffff8000278b24b0,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437
tsleep(fffffd80678a26e0,11,ffffffff82635661,0) at tsleep+0x12c sys/kern/kern_synch.c:158
getblk(fffffd807efc87e0,ca940,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1031
bread(fffffd807efc87e0,ca940,4000,ffff8000278b2758) at bread+0x3a bio_doread sys/kern/vfs_bio.c:436 [inline]
bread(fffffd807efc87e0,ca940,4000,ffff8000278b2758) at bread+0x3a sys/kern/vfs_bio.c:481
ffs_update(fffffd806e458aa8,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91
ufs_mkdir(ffff8000278b2950) at ufs_mkdir+0x433 sys/ufs/ufs/ufs_vnops.c:1197
VOP_MKDIR(fffffd807d4d0510,ffff8000278b2ab0,ffff8000278b2ae0,ffff8000278b29e0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404
domkdirat(ffff80002e35fa40,ffffff9c,7f7ffffc0200,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3101
syscall(ffff8000278b2c60) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000278b2c60) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffc0270, count: -17
ddb{0}> machine ddbcpu 1
Stopped at      ktrops+0x4a:    movq    0x8(%rbx),%r14
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline]
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a sys/kern/kern_ktrace.c:547
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline]
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 sys/kern/kern_ktrace.c:494
sys_ktrace(ffff8000ffff4000,ffff800023103b28,ffff800023103b80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535
syscall(ffff800023103bf0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023103bf0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x171a0829a60, count: 10
ddb{1}> trace
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline]
ktrops(ffff8000ffff4000,ffffffffffffffff,0,df78719c,fffffd806791b160,fffffd807f7d87e0) at ktrops+0x4a sys/kern/kern_ktrace.c:547
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline]
doktrace(fffffd806791b160,4,5f78719c,0,ffff8000ffff4000) at doktrace+0x514 sys/kern/kern_ktrace.c:494
sys_ktrace(ffff8000ffff4000,ffff800023103b28,ffff800023103b80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535
syscall(ffff800023103bf0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023103bf0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x171a0829a60, count: -5

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/06 01:34 openbsd 8043fa601940 7bdd8b2c .config console log report ci-openbsd-multicore uvm_fault: ktrops
* Struck through repros no longer work on HEAD.