syzbot


uvm_fault: kcov_remote_enter

Status: auto-obsoleted due to no activity on 2023/06/25 20:12
Reported-by: syzbot+4273e3d879dea05c8b15@syzkaller.appspotmail.com
First crash: 725d, last: 608d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: kcov_remote_enter (2) 2 229d 241d 0/3 auto-obsoleted due to no activity on 2024/07/08 04:34

Sample crash report:
uvm_fault(0xffffffff82bcbd30, 0xffff8000211f3000, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at      kcov_remote_enter+0x112:        movq    $0,0(%rcx)
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*337633  13173      0           0          0    0  syz-executor.3
kcov_remote_enter(0,ffff8000fffeefd0) at kcov_remote_enter+0x112 sys/dev/kcov.c:672
timeout_run(ffff80002b423140) at timeout_run+0x80 sys/kern/kern_timeout.c:639
softclock_process_tick_timeout(ffff80002b423140,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:688
softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:711
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7fffffb660, 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> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: uvm_fault(0xffffffff82bcbd30, 0xffff8000211f3000, 0, 2) -> e
ddb> trace
kcov_remote_enter(0,ffff8000fffeefd0) at kcov_remote_enter+0x112 sys/dev/kcov.c:672
timeout_run(ffff80002b423140) at timeout_run+0x80 sys/kern/kern_timeout.c:639
softclock_process_tick_timeout(ffff80002b423140,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:688
softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:711
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7fffffb660, count: -6
ddb> show registers
rdi                              0x4
rsi               0xffff8000006b4a00
rbp               0xffff80002174a360
rbx                                0
rdx               0xffff80002b422858
rcx               0xffff8000211f3000
rax               0xfffffd8067767c60
r8                                 0
r9                                 0
r10               0x68e82c547c549444
r11               0x506a23b9f971a9f8
r12               0xffff80002b423080
r13               0xffffffff82b9dff0    cpu_info_full_primary+0x1ff0
r14               0xffff8000fffeefd0
r15                                0
rip               0xffffffff819ddc22    kcov_remote_enter+0x112
cs                               0x8
rflags                       0x10297    __ALIGN_SIZE+0xf297
rsp               0xffff80002174a340
ss                                 0
kcov_remote_enter+0x112:        movq    $0,0(%rcx)
ddb> show proc
PROC (syz-executor.3) pid=337633 stat=onproc
    flags process=0 proc=0
    pri=83, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff80002b422b10,0xffff80002b4238b8
    process=0xffff80002e8367e0 user=0xffff800021745000, vmspace=0xfffffd8069b5f570
    estcpu=36, cpticks=3, pctcpu=0.0
    user=1, sys=0, intr=1
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 94842  309179   8121      0  2           0                syz-executor.5
 13818   49342  57942      0  2           0                syz-executor.6
 13818  235818  57942      0  2   0x4000000                syz-executor.6
*13173  337633  12832      0  7           0                syz-executor.3
 13173  140941  12832      0  3   0x4000080  tunread       syz-executor.3
 54878  385321  13511      0  2           0                syz-executor.7
 54878   70551  13511      0  3   0x4000080  fsleep        syz-executor.7
 85560  504898  75826      0  2           0                syz-executor.0
 85560  368720  75826      0  2   0x4000000                syz-executor.0
 74899    4889   5665      0  2           0                syz-executor.2
 74899  364316   5665      0  3   0x4000080  fsleep        syz-executor.2
 57942  169194  71327      0  3        0x82  nanoslp       syz-executor.6
 75826  443912  71327      0  3        0x82  nanoslp       syz-executor.0
  8121  149688  71327      0  3        0x82  nanoslp       syz-executor.5
 12832  167771  71327      0  3        0x82  nanoslp       syz-executor.3
  5665  336429  71327      0  3        0x82  nanoslp       syz-executor.2
 91155  347456  71327      0  3        0x82  nanoslp       syz-executor.1
 13511  405272  71327      0  3        0x82  nanoslp       syz-executor.7
  2090  443418      0      0  3     0x14200  bored         sosplice
 93821  207441  71327      0  2         0x2                syz-executor.4
 71327  185570  28849      0  3        0x82  wait          syz-fuzzer
 71327   95764  28849      0  3   0x4000082  nanoslp       syz-fuzzer
 71327  208517  28849      0  3   0x4000082  thrsleep      syz-fuzzer
 71327  451175  28849      0  3   0x4000082  thrsleep      syz-fuzzer
 71327   77613  28849      0  3   0x4000082  wait          syz-fuzzer
 71327  245080  28849      0  3   0x4000082  wait          syz-fuzzer
 71327   32108  28849      0  3   0x4000082  thrsleep      syz-fuzzer
 71327  390228  28849      0  3   0x4000082  kqread        syz-fuzzer
 71327  242634  28849      0  3   0x4000082  wait          syz-fuzzer
 71327  297223  28849      0  3   0x4000082  wait          syz-fuzzer
 71327  346364  28849      0  3   0x4000082  thrsleep      syz-fuzzer
 71327   90587  28849      0  3   0x4000082  wait          syz-fuzzer
 71327  386523  28849      0  3   0x4000082  wait          syz-fuzzer
 71327  175139  28849      0  3   0x4000082  wait          syz-fuzzer
 28849  248414  12210      0  3    0x10008a  sigsusp       ksh
 12210  430332  17373      0  3        0x9a  kqread        sshd
  4916  430518      1      0  3    0x100083  ttyin         getty
 17373  378148      1      0  3        0x88  kqread        sshd
 51815  358782   9728     73  3   0x1100090  kqread        syslogd
  9728  184080      1      0  3    0x100082  netio         syslogd
 12813  270498      1      0  3    0x100080  kqread        resolvd
 60712  237627  32147     77  3    0x100092  kqread        dhcpleased
 80884  453075  32147     77  3    0x100092  kqread        dhcpleased
 32147  305830      1      0  3        0x80  kqread        dhcpleased
 19261  254247      0      0  3     0x14200  bored         smr
 93643  301318      0      0  2     0x14200                zerothread
 63318   35419      0      0  3     0x14200  aiodoned      aiodoned
 90301  382897      0      0  3     0x14200  syncer        update
 82302  289769      0      0  3     0x14200  cleaner       cleaner
 40318  307807      0      0  3     0x14200  reaper        reaper
 57530  109399      0      0  3     0x14200  pgdaemon      pagedaemon
 96706   10397      0      0  3     0x14200  bored         viomb
 85809  339355      0      0  3  0x40014200  acpi0         acpi0
 80239  168212      0      0  3     0x14200  bored         softnet
 26038  122761      0      0  3     0x14200  bored         softnet
 32896  412379      0      0  3     0x14200  bored         softnet
 30200    8373      0      0  3     0x14200  bored         softnet
 20923   66546      0      0  3     0x14200  bored         systqmp
 15993  314557      0      0  3     0x14200  bored         systq
 58403  122205      0      0  3  0x40014200  bored         softclock
 13423  279739      0      0  3  0x40014200                idle0
     1  324788      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10237   6488K    7235K  78643K     28801        0
            pcb    13     18K      22K  78643K      1076        0
         rtable   180     15K      16K  78643K      1744        0
         ifaddr    82     23K      24K  78643K       460        0
         sysctl     2      0K       0K  78643K         2        0
       counters    28     17K      17K  78643K       176        0
       ioctlops     0      0K       2K  78643K       472        0
            iov     0      0K      40K  78643K       554        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1498     94K      94K  78643K      6918        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K        36        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K      1388        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    16     57K      69K  78643K      5270        0
          sigio     0      0K       0K  78643K       134        0
           proc    58     59K      75K  78643K      1103        0
        subproc   104      6K       6K  78643K       338        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K       660        0
       in_multi    72      4K       6K  78643K       447        0
    ether_multi     1      0K       0K  78643K        53        0
            mrt     1      0K       0K  78643K         4        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   235   1049K    1049K  78643K       235        0
           exec     0      0K       1K  78643K      1096        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   290     87K     103K  78643K     34410        0
       UVM aobj   131      4K       4K  78643K       131        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       223        0
            NDP    13      0K       2K  78643K       128        0
           temp   133   5770K    6798K  78643K     82029        0
         kqueue    13     20K      28K  78643K       592        0
      SYN cache     2     16K      16K  78643K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      624    0      621    11    10     1     4     0     8    0
rtentry    112      381    0      306     4     0     4     4     0     8    0
unpcb      144     5016    0     5003    38    37     1     6     0     8    0
syncache   296       37    0       37     7     7     0     1     0     8    0
tcpqe       32      145    0      145     5     5     0     1     0     8    0
tcpcb      776     1756    0     1752    54    53     1    14     0     8    0
arp         88       63    0       51     1     0     1     1     0     8    0
ipq         40        5    0        4     2     1     1     1     0     8    0
ipqe        40        6    0        4     2     1     1     1     0     8    0
inpcb      336     6154    0     6147    79    72     7    13     0     8    6
nd6         48       85    0       68     1     0     1     1     0     8    0
pkpcb       40        3    0        3     1     1     0     1     0     8    0
kcovpl      48       26    0       18     1     0     1     1     0     8    0
mppekey    1024       4    0        4     1     1     0     1     0     8    0
ppxss      1160     100    0      100     6     5     1     1     0     8    1
pppxif     1360      16    0       16     4     3     1     1     0     8    1
pfstscr     40       81    0       74     1     0     1     1     0     8    0
pfosfp      40        3    0        2     1     0     1     1     0     8    0
pfosfpen   112        3    0        2     1     0     1     1     0     8    0
pfanchor   1280       8    0        0     1     0     1     1     0     8    0
pfstitem    24       55    0       41     1     0     1     1     0     8    0
pfstkey    128      127    0       89     2     0     2     2     0     8    0
pfstate    352       81    0       74     1     0     1     1     0     8    0
art_heap8  4096       4    0        3     4     3     1     2     0     8    0
art_heap4  256     1704    0     1341    37    14    23    29     0     8    0
art_table   32     1708    0     1344     4     0     4     4     0     8    0
art_node    16      380    0      315     1     0     1     1     0     8    0
sysvmsgpl   40       24    0       18     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112     1384    0     1374     1     0     1     1     0     8    0
shmpl      112      128    0        0     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     8176    0     6738    90     0    90    90     0     8    0
ffsino     240     8176    0     6738    85     0    85    85     0     8    0
nchpl      144    16656    0    15015    63     0    63    63     0     8    0
rtmask      32        3    0        3     1     1     0     1     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   59104    0    59104     7     6     1     2     0     8    1
vmpool     664       18    0       18     5     5     0     1     0     8    0
kstatmem   264      144    0      118     3     1     2     3     0     8    0
scxspl     216    42691    0    42691    21    20     1     8     0     8    1
plimitpl   152      456    0      441     1     0     1     1     0     8    0
sigapl     424     5590    0     5545     8     1     7     8     0     8    0
futexpl     64    61039    0    61037     3     2     1     1     0     8    0
knotepl    120    76204    0    76123    47    40     7    11     0     8    4
kqueuepl   184     2229    0     2220    17    16     1     4     0     8    0
pipepl     288     1538    0     1510    36    29     7    11     0     8    4
fdescpl    432     5512    0     5485     4     0     4     4     0     8    0
filepl     120    45253    0    45015    63    49    14    16     0     8    6
lockfpl    104     1178    0     1176     3     2     1     2     0     8    0
lockfspl    48      312    0      310     1     0     1     1     0     8    0
sessionpl  144       41    0       25     1     0     1     1     0     8    0
pgrppl      48       93    0       77     1     0     1     1     0     8    0
ucredpl    104     4626    0     4615     1     0     1     1     0     8    0
zombiepl   144     5546    0     5545     3     2     1     1     0     8    0
processpl  1008    5590    0     5545    10     3     7     9     0     8    0
procpl     696    12893    0    12830    13     5     8    10     0     8    0
sosppl     168       31    0       31     6     6     0     1     0     8    0
sockpl     456    11797    0    11774   244   233    11    28     0     8    8
mcl64k     65536    162    0      162    10     9     1     1     0     8    1
mcl16k     16384     90    0       90     9     9     0     1     0     8    0
mcl12k     12288    163    0      163    10     9     1     1     0     8    1
mcl9k      9216      62    0       62    12    12     0     1     0     8    0
mcl8k      8192     244    0      244    12    11     1     1     0     8    1
mcl4k      4096     726    0      725     7     6     1     1     0     8    0
mcl2k2     2112     131    0      131     8     7     1     1     0     8    1
mcl2k      2048   85918    0    85833    43    31    12    33     0     8    0
mtagpl      96     2530    0     2218    26     8    18    24     0     8    0
mbufpl     256   193635    0   193137   466   403    63   113     0     8    0
bufpl      288    12174    0     5780   457     0   457   457     0     8    0
anonpl      24  1050298    0  1035770   161    51   110   130     0   188    2
amapchunkpl 152  111298    0   110640    90    56    34    42     0   158    5
amappl16   200    10059    0     9470    61    26    35    45     0     8    3
amappl15   192       12    0       11     1     0     1     1     0     8    0
amappl14   184      222    0      210     2     1     1     2     0     8    0
amappl13   176        5    0        5     1     1     0     1     0     8    0
amappl12   168      625    0      623     1     0     1     1     0     8    0
amappl11   160       48    0       38     1     0     1     1     0     8    0
amappl10   152       57    0       47     1     0     1     1     0     8    0
amappl9    144      979    0      977     1     0     1     1     0     8    0
amappl8    136      233    0      169     3     0     3     3     0     8    0
amappl7    128      182    0      159     2     0     2     2     0     8    0
amappl6    120      255    0      244     2     1     1     2     0     8    0
amappl5    112      244    0      238     1     0     1     1     0     8    0
amappl4    104      703    0      674     2     1     1     2     0     8    0
amappl3     96    15025    0    14976     2     0     2     2     0     8    0
amappl2     88     6089    0     6020     3     1     2     3     0     8    0
amappl1     80   123464    0   122768    28    12    16    26     0     8    0
amappl      88    33622    0    33455     5     0     5     5     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      130    0        0     3     0     3     3     0     8    0
uaddrrnd    24     5530    0     5503     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     5530    0     5503     1     0     1     1     0     8    0
vmmpekpl   168    45501    0    45450     3     0     3     3     0     8    0
vmmpepl    168   504411    0   501729   257   115   142   156     0   357   16
vmsppl     344     5529    0     5503     3     0     3     3     0     8    0
rwobjpl     24   132285    0   124570    53     5    48    49     0     8    0
pdppl      4096   11066    0    11006   337   273    64    66     0     8    4
pvpl        32  2093000    0  2073220   402   209   193   359     0   265    1
pmappl     216     5529    0     5503     2     0     2     2     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1690    0      872    25     0    25    25     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
kcov_remote_enter(0,ffff8000fffeefd0) at kcov_remote_enter+0x112 sys/dev/kcov.c:672
timeout_run(ffff80002b423140) at timeout_run+0x80 sys/kern/kern_timeout.c:639
softclock_process_tick_timeout(ffff80002b423140,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:688
softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:711
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7fffffb660, count: -6
ddb> machine ddbcpu 1
No such command
ddb> trace
kcov_remote_enter(0,ffff8000fffeefd0) at kcov_remote_enter+0x112 sys/dev/kcov.c:672
timeout_run(ffff80002b423140) at timeout_run+0x80 sys/kern/kern_timeout.c:639
softclock_process_tick_timeout(ffff80002b423140,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:688
softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:711
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x7f7fffffb660, count: -6

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/27 20:11 openbsd 1e5b016c5082 f8f96aa9 .config console log report ci-openbsd-main uvm_fault: kcov_remote_enter
2023/02/26 10:40 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: kcov_remote_enter
2022/11/30 00:07 openbsd 77e4b1bd8000 579a3740 .config console log report ci-openbsd-main uvm_fault: kcov_remote_enter
* Struck through repros no longer work on HEAD.