syzbot


uvm_fault: schedclock

Status: upstream: reported syz repro on 2023/09/03 03:58
Reported-by: syzbot+c0a2f5b539e2150f7cfa@syzkaller.appspotmail.com
First crash: 445d, last: 77d
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/10/08 05:51 14m retest repro openbsd report log
2024/07/30 05:24 15m retest repro openbsd report log
2024/05/21 05:07 15m retest repro openbsd report log
2024/03/12 04:50 15m retest repro openbsd report log

Sample crash report:
kernel: page fault trap, code=0
Stopped at      schedclock+0xa6:        movzbl  0x344(%rax),%eax
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> trace
schedclock(ffff80002a6ddab0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82cbcbd0,ffff80002a81d370,0) at statclock+0x1dd sys/kern/kern_clock.c:323
clockintr_dispatch(ffff80002a81d370) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:214
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 invpcid machine/cpufunc.h:175 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3373 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 sys/arch/amd64/amd64/pmap.c:519
end trace frame: 0x0, count: -6
ddb> show registers
rdi                             0x24
rsi                              0x1
rbp               0xffff80002a81d260
rbx                             0x24
rdx                       0x45e40a95
rcx                           0x23d9    __ALIGN_SIZE+0x13d9
rax                                0
r8                                 0
r9                                 0
r10                                0
r11               0xeda12b2e1f3681bd
r12                              0x1
r13                              0x1
r14               0xffff80002a6ddab0
r15                              0xc
rip               0xffffffff81d6d5b6    schedclock+0xa6
cs                               0x8
rflags                       0x10297    __ALIGN_SIZE+0xf297
rsp               0xffff80002a81d220
ss                              0x10
schedclock+0xa6:        movzbl  0x344(%rax),%eax
ddb> show proc
kernel: page fault trap, code=0
Faulted in DDB; continuing...
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
     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 10163   6409K    6413K 166960K     11242        0
            pcb    15     10K      10K 166960K        15        0
         rtable   234      6K       6K 166960K       350        0
             pf    29      8K       8K 166960K        29        0
         ifaddr    43     11K      11K 166960K        45        0
        ifgroup    50      2K       2K 166960K        50        0
       counters    30     17K      17K 166960K        30        0
       ioctlops     0      0K       2K 166960K        29        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1184     74K      74K 166960K      1222        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       1K 166960K         2        0
         VM map     2      1K       1K 166960K         2        0
            sem     2      0K       0K 166960K         2        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    17     61K      73K 166960K       154        0
           proc    55     58K      83K 166960K       470        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
       in_multi    99      7K       7K 166960K        99        0
    ether_multi     1      0K       0K 166960K         1        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    25    122K     122K 166960K        25        0
           exec     0      0K       1K 166960K       398        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   228     73K      75K 166960K      3464        0
       UVM aobj     3      2K       2K 166960K         3        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
            NDP    15      0K       2K 166960K        27        0
           temp     1   6748K    6828K 166960K      3995        0
         kqueue    12     18K      18K 166960K        25        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       36    0       33     1     0     1     1     0     8    0
rtentry    112      111    0        1     4     0     4     4     0     8    0
unpcb      144       33    0       20     1     0     1     1     0     8    0
syncache   336        5    0        5     1     0     1     1     0     8    1
tcpqe       32       66    0       66     1     0     1     1     0     8    1
tcpcb      808        8    0        5     1     0     1     1     0     8    0
arp         88       18    0        0     1     0     1     1     0     8    0
inpcb      360       58    0       52     1     0     1     1     0     8    0
nd6        104       24    0        0     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      453    0        0    29     0    29    29     0     8    0
art_table   32      454    0        0     4     0     4     4     0     8    0
art_node    16      110    0       10     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dirhash: pool(0xffffffff82e47b28:dirhash): free list modified: page 0xffff80002a616000; item ordinal 0; addr 0xffff80002a617800 (p 0xfffffd80700b8000); offset 0x0=0x0
pool(dirhash): free list modified: page 0xffff80002a616000; item ordinal 0; addr 0xffff80002a617800 (p 0xfffffd80700b8000); offset 0x0=0x0
dirhash: pool(0xffffffff82e47b28:dirhash): page inconsistency: page 0xffff80002a616000; item ordinal 1; addr 0xdf548e803d558902
dino2pl    256     1526    0       82    91     0    91    91     0     8    0
ffsino     240     1526    0       82    86     0    86    86     0     8    0
nchpl      144     1835    0      148    64     0    64    64     0     8    0
uvmvnodes   80     1570    0        0    33     0    33    33     0     8    0
vnodes     216     1570    0        0    88     0    88    88     0     8    0
namei      1024    6377    0     6377     3     0     3     3     0     8    3
namei: pool(0xffffffff82daa728:namei): free list modified: page 0xffff80002a66c000; item ordinal 0; addr 0xffff80002a66c800 (p 0xfffffd806d266000); offset 0x0=0x0
pool(namei): free list modified: page 0xffff80002a66c000; item ordinal 0; addr 0xffff80002a66c800 (p 0xfffffd806d266000); offset 0x0=0x0
namei: pool(0xffffffff82daa728:namei): page inconsistency: page 0xffff80002a66c000; item ordinal 1; addr 0x3e4931dba0bbd001
namei: pool(0xffffffff82daa728:namei): free list modified: page 0xffff80002a5e6000; item ordinal 0; addr 0xffff80002a5e7400 (p 0xfffffd807f7e4000); offset 0x0=0x0
pool(namei): free list modified: page 0xffff80002a5e6000; item ordinal 0; addr 0xffff80002a5e7400 (p 0xfffffd807f7e4000); offset 0x0=0x0
namei: pool(0xffffffff82daa728:namei): page inconsistency: page 0xffff80002a5e6000; item ordinal 1; addr 0x93bd8c54d2d5107e
namei: pool(0xffffffff82daa728:namei): free list modified: page 0xffff80002a6c6000; item ordinal 0; addr 0xffff80002a6c7000 (p 0xfffffd806d266000); offset 0x0=0x0
pool(namei): free list modified: page 0xffff80002a6c6000; item ordinal 0; addr 0xffff80002a6c7000 (p 0xfffffd806d266000); offset 0x0=0x0
namei: pool(0xffffffff82daa728:namei): page inconsistency: page 0xffff80002a6c6000; item ordinal 1; addr 0x1d1312161d1aba91
kstatmem   264       22    0        0     2     0     2     2     0     8    0
scxspl     216     7980    0     7980     3     0     3     3     1     8    3
plimitpl   152       34    0       19     1     0     1     1     0     8    0
sigapl     424      453    0      409     6     0     6     6     0     8    1
futexpl     64      442    0      438     1     0     1     1     0     8    0
knotepl    120     3667    0     3589     4     0     4     4     0     8    0
kqueuepl   184       21    0       13     1     0     1     1     0     8    0
pipepl     288      139    0      111     3     0     3     3     0     8    0
fdescpl    432      437    0      409     4     0     4     4     0     8    0
filepl     120     1748    0     1612     5     0     5     5     0     8    0
lockfpl    104        6    0        4     1     0     1     1     0     8    0
lockfspl    48        4    0        2     1     0     1     1     0     8    0
sessionpl  144       25    0        9     1     0     1     1     0     8    0
pgrppl      48       25    0        9     1     0     1     1     0     8    0
ucredpl    104       67    0       56     1     0     1     1     0     8    0
zombiepl   144      409    0      409     1     0     1     1     0     8    1
processpl  1072     453    0      409     4     0     4     4     0     8    1
processpl: pool(0xffffffff82d710b0:processpl): page inconsistency: page 0x0; at page head addr 0xffff80002a7b7f90 (p 0xffff80002a7b4000)
procpl     680      506    0      444     7     0     7     7     0     8    1
procpl: pool(0xffffffff82d70f08:procpl): free list modified: page 0xffff80002a6be000; item ordinal 0; addr 0xffff80002a6bfd40 (p 0xfffffd806b954000); offset 0x0=0x0
pool(procpl): free list modified: page 0xffff80002a6be000; item ordinal 0; addr 0xffff80002a6bfd40 (p 0xfffffd806b954000); offset 0x0=0x0
procpl: pool(0xffffffff82d70f08:procpl): page inconsistency: page 0xffff80002a6be000; item ordinal 1; addr 0x6b621a66bbfae649
procpl: pool(0xffffffff82d70f08:procpl): free list modified: page 0xffff80002a668000; item ordinal 0; addr 0xffff80002a6687f8 (p 0xfffffd8069902000); offset 0x0=0x0
pool(procpl): free list modified: page 0xffff80002a668000; item ordinal 0; addr 0xffff80002a6687f8 (p 0xfffffd8069902000); offset 0x0=0x0
procpl: pool(0xffffffff82d70f08:procpl): page inconsistency: page 0xffff80002a668000; item ordinal 1; addr 0x98bb0eb423c71339
sockpl     488      127    0      105     4     0     4     4     0     8    1
mcl8k      8192       4    0        4     1     0     1     1     0     8    1
mcl4k      4096      10    0       10     1     0     1     1     0     8    1
mcl2k      2048   11783    0    11752    29    16    13    29     0     8    8
mtagpl      96        4    0        4     1     0     1     1     0     8    1
mbufpl     256    19275    0    19150    15     3    12    15     0     8    4
bufpl      280     5315    0      139   370     0   370   370     0     8    0
anonpl      24   226644    0   222026    56     0    56    56     0   188   23
amapchunkpl 152   12472    0    11934    27     0    27    27     0   158    2
amappl16   200     6461    0     6359    10     0    10    10     0     8    1
amappl15   192       23    0       22     1     0     1     1     0     8    0
amappl14   184      159    0      148     2     0     2     2     0     8    1
amappl13   176       11    0       10     1     0     1     1     0     8    0
amappl12   168     1068    0     1041     2     0     2     2     0     8    0
amappl11   160       59    0       48     1     0     1     1     0     8    0
amappl10   152       43    0       34     1     0     1     1     0     8    0
amappl9    144      125    0      125     1     0     1     1     0     8    1
amappl8    136      138    0      112     2     0     2     2     0     8    1
amappl7    128      176    0      160     2     0     2     2     0     8    0
amappl6    120      254    0      248     1     0     1     1     0     8    0
amappl5    112      146    0      138     1     0     1     1     0     8    0
amappl4    104      437    0      415     2     0     2     2     0     8    1
amappl3     96     2865    0     2794     3     0     3     3     0     8    1
amappl2     88      893    0      825     3     0     3     3     0     8    0
amappl1     80    10591    0    10090    22     2    20    22     0     8    8
amappl      88     2984    0     2825     5     0     5     5     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        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24      437    0      409     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      437    0      409     1     0     1     1     0     8    0
vmmpekpl   168     9892    0     9861     2     0     2     2     0     8    0
vmmpepl    168    49566    0    47905   112     0   112   112     0   357   38
vmsppl     352      436    0      409     3     0     3     3     0     8    0
rwobjpl     24    23042    0    20494    20     0    20    20     0     8    1
pdppl      4096     880    0      818    82    14    68    68     0     8    6
pvpl        32   437998    0   428588   363    15   348   363     0   265  265
pmappl     216      436    0      409     2     0     2     2     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      356    0       33    10     0    10    10     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
schedclock(ffff80002a6ddab0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82cbcbd0,ffff80002a81d370,0) at statclock+0x1dd sys/kern/kern_clock.c:323
clockintr_dispatch(ffff80002a81d370) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:214
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 invpcid machine/cpufunc.h:175 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3373 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 sys/arch/amd64/amd64/pmap.c:519
end trace frame: 0x0, count: -6
ddb> machine ddbcpu 1
No such command
ddb> trace
schedclock(ffff80002a6ddab0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82cbcbd0,ffff80002a81d370,0) at statclock+0x1dd sys/kern/kern_clock.c:323
clockintr_dispatch(ffff80002a81d370) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:214
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 invpcid machine/cpufunc.h:175 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3373 [inline]
pmap_kenter_pa(0,0,0) at pmap_kenter_pa+0x192 sys/arch/amd64/amd64/pmap.c:519
end trace frame: 0x0, count: -6
ddb> 

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/27 04:47 openbsd 53ff252d078f 05e69c83 .config console log report syz [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/09/05 12:13 openbsd ebe65f64a6a1 464ac2ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/03/31 13:13 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/03/29 17:03 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/02/27 04:00 openbsd 53ff252d078f 05e69c83 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/02/09 16:58 openbsd 06bc238730aa 77b23aa1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/01/28 07:31 openbsd a847d16f3e06 cc4a4020 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2024/01/21 13:59 openbsd 1b9db5f20e8d 9bd8dcda .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2023/10/29 19:33 openbsd c8ef2279606a 3c418d72 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2023/10/10 05:29 openbsd ab096723d8be c9be5398 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
2023/09/03 03:58 openbsd a514d4594e28 696ea0d2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: schedclock
* Struck through repros no longer work on HEAD.