syzbot


uvm_fault: rt_timer_timer

Status: auto-obsoleted due to no activity on 2024/06/10 22:45
Reported-by: syzbot+cb0b8edf09a565466582@syzkaller.appspotmail.com
First crash: 107d, last: 95d

Sample crash report:
login: uvm_fault(0xffffffff82e3e390, 0x17, 0, 2) -> e
kernel: page fault trap, code=2
Stopped at      rt_timer_timer+0x4f:    movq    %rax,0x18(%r15)
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*388781  80422      0     0x14000 0x40000200    0  softclock
rt_timer_timer(fffffd80717f7e58) at rt_timer_timer+0x4f sys/net/route.c:1657
timeout_run(fffffd80717f7e78) at timeout_run+0x8f sys/kern/kern_timeout.c:666
softclock_thread(ffff80002a57d7e8) at softclock_thread+0xc4 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: 12
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> show registers
rdi                              0x1
rsi                              0x9
rbp               0xffff80002a589b90
rbx                                0
rdx                                0
rcx               0xffffffff82e3f080    timeout_proc
rax               0xffffffffffffffff
r8                                 0
r9                                 0
r10                                0
r11               0xb6d0f5b1546872f8
r12               0xffffffff82dbbd08    ip_mtudisc_timeout_q
r13               0xffffffff82c69ff0    cpu_info_full_primary+0x1ff0
r14               0xfffffd80717f7e58
r15               0xffffffffffffffff
rip               0xffffffff81803a4f    rt_timer_timer+0x4f
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80002a589b60
ss                              0x10
rt_timer_timer+0x4f:    movq    %rax,0x18(%r15)
ddb> show proc
PROC (softclock) tid=388781 pid=80422 tcnt=1 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
    runpri=0, usrpri=50, slppri=0, nice=20
    wchan=0x0, wmesg=, ps_single=0x0
    forw=0xffffffffffffffff, list=0xffff80002a57da90,0xffff80002a57d550
    process=0xffff8000ffffe9e0 user=0xffff80002a584000, vmspace=0xffffffff82e3e390
    estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 78917  122008      1      0  3        0x80  fsleep        syz-executor.3
 78917  373663      1      0  3   0x4000080  netio         syz-executor.3
 78917  129650      1      0  3   0x4000000  inode         syz-executor.3
  7258   79337  55951      0  3        0x82  piperd        syz-executor.6
 33111  458059  55951      0  3        0x82  piperd        syz-executor.7
 87681  477621  55951      0  3        0x82  piperd        syz-executor.4
 22790  498644  55951      0  3        0x82  piperd        syz-executor.2
 38898  464873  55951      0  3        0x82  piperd        syz-executor.1
 44471  405685  55951      0  3        0x82  piperd        syz-executor.5
 24570  248630  55951      0  3        0x82  piperd        syz-executor.0
 76712  290810      0      0  3     0x14280  nfsidl        nfsio
 25141  436695      0      0  3     0x14280  nfsidl        nfsio
 12852  438487      0      0  3     0x14280  nfsidl        nfsio
 88680   32985      0      0  3     0x14280  nfsidl        nfsio
 98840  232940      0      0  3     0x14280  nfsidl        nfsio
  5642  229201      0      0  3     0x14280  nfsidl        nfsio
 91879  177670      0      0  3     0x14280  nfsidl        nfsio
 63727  123111      0      0  3     0x14280  nfsidl        nfsio
 99153   75479      0      0  3     0x14280  nfsidl        nfsio
 48212  100146      0      0  3     0x14280  nfsidl        nfsio
 94384  195927      0      0  3     0x14280  nfsidl        nfsio
 83700  221523      0      0  3     0x14280  nfsidl        nfsio
 71095  518511      0      0  3     0x14280  nfsidl        nfsio
 24716  257766      0      0  3     0x14280  nfsidl        nfsio
 51926   96204      0      0  3     0x14280  nfsidl        nfsio
 91311  444068      0      0  3     0x14280  nfsidl        nfsio
 65350   88552      0      0  3     0x14280  nfsidl        nfsio
 82302  243981      0      0  3     0x14280  nfsidl        nfsio
 74475   22812      0      0  3     0x14280  nfsidl        nfsio
 13006     763      0      0  3     0x14280  nfsidl        nfsio
 34983  385172      0      0  3     0x14200  acct          acct
 13346  390211      1      0  3        0x83  ttyin         login
  9460   76961      0      0  3     0x14200  bored         sosplice
 55951  228736  59346      0  3   0x2000082  wait          syz-fuzzer
 55951  415132  59346      0  3   0x6000082  thrsleep      syz-fuzzer
 55951  189297  59346      0  3   0x6000002  inode         syz-fuzzer
 55951  211200  59346      0  3   0x6000082  thrsleep      syz-fuzzer
 55951  288697  59346      0  3   0x6000082  wait          syz-fuzzer
 55951  298428  59346      0  3   0x6000082  wait          syz-fuzzer
 55951  127587  59346      0  3   0x6000082  thrsleep      syz-fuzzer
 55951   83884  59346      0  3   0x6000082  thrsleep      syz-fuzzer
 55951  410708  59346      0  3   0x6000082  kqread        syz-fuzzer
 55951  367412  59346      0  3   0x6000082  thrsleep      syz-fuzzer
 55951  388327  59346      0  3   0x6000082  wait          syz-fuzzer
 55951   75170  59346      0  3   0x6000082  wait          syz-fuzzer
 55951  244169  59346      0  3   0x6000082  wait          syz-fuzzer
 55951   24168  59346      0  3   0x6000082  wait          syz-fuzzer
 59346  187482  15273      0  3    0x10008a  sigsusp       ksh
 15273  280720  43290      0  3        0x9a  kqread        sshd
 43290  113416      1      0  3        0x88  kqread        sshd
 94668  421107  93994     73  3   0x1100090  kqread        syslogd
 93994   74786      1      0  3    0x100082  netio         syslogd
 26951  172109      1      0  3    0x100080  kqread        resolvd
 10237  341305  71937     77  3    0x100092  kqread        dhcpleased
   240  339879  71937     77  3    0x100092  kqread        dhcpleased
 71937   58658      1      0  3        0x80  kqread        dhcpleased
 56845  464254      0      0  3     0x14200  bored         smr
 40823  325460      0      0  3     0x14200  pgzero        zerothread
 73863  328086      0      0  3     0x14200  aiodoned      aiodoned
 58321  390002      0      0  3     0x14200  syncer        update
 77682   70482      0      0  3     0x14200  cleaner       cleaner
 92546  177687      0      0  3     0x14200  reaper        reaper
 74810   97582      0      0  3     0x14200  pgdaemon      pagedaemon
 65029  337770      0      0  3     0x14200  bored         viomb
 17266  155388      0      0  3  0x40014200  acpi0         acpi0
 85272  292080      0      0  3     0x14200  bored         softnet3
 74964  241816      0      0  3     0x14200  bored         softnet2
  7385  230385      0      0  3     0x14200  bored         softnet1
 64056  512798      0      0  3     0x14200  bored         softnet0
 94117  337268      0      0  3     0x14200  bored         systqmp
 37942  409520      0      0  3     0x14200  bored         systq
*80422  388781      0      0  7  0x40014200                softclock
 79841   82037      0      0  3  0x40014200                idle0
     1  259765      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 10177   6407K   14598K 166960K     23759        0
            pcb    15     20K      25K 166960K       776        0
         rtable   232     15K      15K 166960K      2468        0
             pf    31      9K       9K 166960K       264        0
         ifaddr    43     12K      12K 166960K       301        0
        ifgroup    54      2K       2K 166960K       437        0
         sysctl     3      0K       1K 166960K         8        0
       counters    31     17K      17K 166960K       134        0
       ioctlops     0      0K       2K 166960K       386        0
            iov     0      0K      32K 166960K       846        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1498     94K      94K 166960K      5350        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K       103        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      1K       1K 166960K       423        0
        dirhash    12      2K       2K 166960K        36        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    10     33K      77K 166960K      9552        0
          sigio     0      0K       0K 166960K       127        0
           proc    51     50K      92K 166960K      2035        0
        subproc   104      6K       8K 166960K       802        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       534        0
       in_multi    95      7K       7K 166960K       690        0
    ether_multi     1      0K       0K 166960K         4        0
            mrt     1      0K       0K 166960K         6        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    79    360K     360K 166960K        79        0
           exec     0      0K       1K 166960K      1663        0
     pfkey data     0      0K       0K 166960K         6        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   379    299K     301K 166960K     87461        0
       UVM aobj   131      4K       4K 166960K       131        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       1K 166960K       387        0
            NDP    12      0K       2K 166960K       229        0
           temp    75   6764K    7060K 166960K     76199        0
         kqueue    12     18K      26K 166960K       533        0
      SYN cache     2     16K      16K 166960K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      471    0      468     3     0     3     3     0     8    2
rtentry    112      725    0      619     4     0     4     4     0     8    0
unpcb      144     6244    0     6229    10     1     9    10     0     8    8
syncache   336       99    0       99     1     0     1     1     0     8    1
sackhl      24        1    0        1     1     0     1     1     0     8    1
tcpqe       32      375    0      375     1     0     1     1     0     8    1
tcpcb      808     2694    0     2686    16     6    10    13     0     8    8
arp         88      130    0      112     1     0     1     1     0     8    0
ipq         40        9    0        9     1     0     1     1     0     8    1
ipqe        40      143    0      143     1     0     1     1     0     8    1
inpcb      360     6612    0     6600    22    12    10    16     0     8    8
nd6        104      171    0      149     1     0     1     1     0     8    0
pkpcb       40       79    0       79     1     0     1     1     0     8    1
kcovpl      48       56    0       48     1     0     1     1     0     8    0
ppxss      1072      28    0       28     1     0     1     1     0     8    1
rttmr      136        1    0        1     1     0     1     1     0     8    1
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     2759    0     2317    60    30    30    30     0     8    2
art_table   32     2760    0     2317     4     0     4     4     0     8    0
art_node    16      705    0      609     1     0     1     1     0     8    0
sysvmsgpl   40       74    0       68     1     0     1     1     0     8    0
semupl     112        2    0        2     1     0     1     1     0     8    1
semapl     112      418    0      408     1     0     1     1     0     8    0
shmpl      112      128    0        0     4     0     4     4     0     8    0
dirhash    1024      33    0       16     3     0     3     3     0     8    0
dino2pl    256    13119    0    11637    93     0    93    93     0     8    0
ffsino     240    13119    0    11637    88     0    88    88     0     8    0
nchpl      144    25293    0    23659    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   81288    0    81285     3     0     3     3     0     8    2
vcpupl     2048      33    0        0     5     0     5     5     0     8    0
vmpool     664       36    0        3     3     0     3     3     0     8    0
kstatmem   264      230    0      206     2     0     2     2     0     8    0
scxspl     216    88055    0    88055     8     0     8     8     1     8    8
plimitpl   152      789    0      774     1     0     1     1     0     8    0
sigapl     424     9900    0     9841     8     0     8     8     0     8    0
futexpl     64   104981    0   104980     1     0     1     1     0     8    0
knotepl    120   105072    0   104992    11     0    11    11     0     8    8
kqueuepl   184     1424    0     1416     4     0     4     4     0     8    3
pipepl     288     1423    0     1395     7     0     7     7     0     8    5
fdescpl    432     9722    0     9701     4     0     4     4     0     8    0
filepl     120    47820    0    47584    20     7    13    17     0     8    5
lockfpl    104     2100    0     2098     2     0     2     2     0     8    1
lockfspl    48      819    0      817     1     0     1     1     0     8    0
sessionpl  144       72    0       56     1     0     1     1     0     8    0
pgrppl      48      154    0      138     1     0     1     1     0     8    0
ucredpl    104     6660    0     6644     1     0     1     1     0     8    0
zombiepl   144     9841    0     9841     1     0     1     1     0     8    1
processpl  1072    9900    0     9841     5     0     5     5     0     8    0
procpl     680    23221    0    23147    10     0    10    10     0     8    2
sosppl     168       54    0       54     1     0     1     1     0     8    1
sockpl     488    13480    0    13450   226   213    13    36     0     8    8
mcl64k     65536    304    0      304     1     0     1     1     0     8    1
mcl16k     16384    215    0      215     1     0     1     1     0     8    1
mcl12k     12288    260    0      260     1     0     1     1     0     8    1
mcl9k      9216     147    0      147     1     0     1     1     0     8    1
mcl8k      8192     718    0      718     1     0     1     1     0     8    1
mcl4k      4096    2250    0     2250     1     0     1     1     0     8    1
mcl2k2     2112      57    0       57     1     0     1     1     0     8    1
mcl2k      2048   87552    0    87496    28    13    15    20     0     8    7
mtagpl      96     1505    0     1315     7     0     7     7     0     8    2
mbufpl     256   209699    0   209318    90    58    32    56     0     8    5
bufpl      280    20757    0    14368   457     0   457   457     0     8    0
anonpl      24   928536    0   916110   156     0   156   156     0   188   51
amapchunkpl 152  284642    0   283924    65     0    65    65     0   158   28
amappl16   200    14619    0    14152    50    15    35    39     0     8    8
amappl15   192       73    0       72     1     0     1     1     0     8    0
amappl14   184      295    0      283     2     0     2     2     0     8    1
amappl13   176       15    0       14     1     0     1     1     0     8    0
amappl12   168    11068    0    11044     2     0     2     2     0     8    0
amappl11   160       64    0       54     1     0     1     1     0     8    0
amappl10   152       86    0       74     1     0     1     1     0     8    0
amappl9    144       94    0       94     1     0     1     1     0     8    1
amappl8    136      482    0      389     4     0     4     4     0     8    0
amappl7    128      279    0      254     2     0     2     2     0     8    0
amappl6    120      977    0      963     1     0     1     1     0     8    0
amappl5    112      218    0      210     1     0     1     1     0     8    0
amappl4    104      789    0      765     2     0     2     2     0     8    1
amappl3     96    55038    0    54979     3     0     3     3     0     8    0
amappl2     88    10781    0    10713     3     0     3     3     0     8    1
amappl1     80    46856    0    46360    22     2    20    22     0     8    8
amappl      88    86414    0    86202     7     0     7     7     0    92    0
dma4096    4096       1    0        1     1     0     1     1     0     8    1
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     0     1     1     0     8    1
dma128     128      253    0      253     1     0     1     1     0     8    1
dma64       64        6    0        6     1     0     1     1     0     8    1
dma32       32        7    0        7     1     0     1     1     0     8    1
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     9758    0     9704     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     9758    0     9704     1     0     1     1     0     8    0
vmmpekpl   168    71669    0    71605     4     0     4     4     0     8    0
vmmpepl    168   592620    0   590573   134     0   134   134     0   357   17
vmsppl     352     9757    0     9704     6     0     6     6     0     8    0
rwobjpl     24   138307    0   130759    48     0    48    48     0     8    0
pdppl      4096   19522    0    19441   548   459    89    97     0     8    8
pvpl        32  2740988    0  2723226   332     0   332   332     0   265  142
pmappl     216     9757    0     9704     4     0     4     4     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      960    0      566    13     0    13    13     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
rt_timer_timer(fffffd80717f7e58) at rt_timer_timer+0x4f sys/net/route.c:1657
timeout_run(fffffd80717f7e78) at timeout_run+0x8f sys/kern/kern_timeout.c:666
softclock_thread(ffff80002a57d7e8) at softclock_thread+0xc4 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: -3
ddb> machine ddbcpu 1
No such command
ddb> trace
rt_timer_timer(fffffd80717f7e58) at rt_timer_timer+0x4f sys/net/route.c:1657
timeout_run(fffffd80717f7e78) at timeout_run+0x8f sys/kern/kern_timeout.c:666
softclock_thread(ffff80002a57d7e8) at softclock_thread+0xc4 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: -3

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/12 22:44 openbsd 9d7a05f92003 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: rt_timer_timer
2024/03/02 09:09 openbsd ec6f9a749b05 25905f5d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: rt_timer_timer
2024/02/29 22:19 openbsd b0ca02faf19d 352ab904 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: rt_timer_timer
* Struck through repros no longer work on HEAD.