syzbot


protection_fault: __x86_indirect_thunk_r11 (2)

Status: upstream: reported on 2024/03/06 09:09
Reported-by: syzbot+96da3c3ca04921c53668@syzkaller.appspotmail.com
First crash: 80d, last: 5d07h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd protection_fault: __x86_indirect_thunk_r11 1 208d 208d 0/3 auto-obsoleted due to no activity on 2024/01/28 10:43

Sample crash report:
kernel: protection fault trap, code=0
Stopped at          __x86_indirect_thunk_r11+0x14:          ret
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> trace
__x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14
softclock_thread(ffff80002a58ca40) at softclock_thread+0xc3 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: -2
ddb> show registers
rdi               0xdead4110dead4110
rsi                                0
rbp               0xffff80002a599460
rbx                                0
rdx                                0
rcx               0xffffffff82cdeff0    cpu_info_full_primary+0x1ff0
rax                              0x9
r8                0xffffffffffffffff
r9                                 0
r10               0x67572af32df3dfab
r11               0xdead4110dead4110
r12               0xdead4110dead4110
r13               0xffffffff82cdeff0    cpu_info_full_primary+0x1ff0
r14               0xffff8000fffff240
r15               0xdead4110dead4110
rip               0xffffffff81581304    __x86_indirect_thunk_r11+0x14
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80002a599420
ss                              0x10
__x86_indirect_thunk_r11+0x14:          ret
ddb> show proc
PROC (softclock) tid=425009 pid=62207 tcnt=1 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
    runpri=50, usrpri=50, slppri=0, nice=20
    wchan=0x0, wmesg=, ps_single=0x0
    forw=0xffffffffffffffff, list=0xffff80002a58d1f0,0xffff80002a58c7c0
    process=0xffff8000fffff240 user=0xffff80002a594000, vmspace=0xffffffff82e60188
    estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 76109  360861    630      0  3   0x8000082  wait          syz-executor.1
 77849  389983    630      0  3   0x8000082  wait          syz-executor.5
 89438  307914    630      0  3   0x8000082  wait          syz-executor.7
 60270  219691    630      0  3   0x8000082  wait          syz-executor.3
 33162    9106    630      0  2   0x8000482                syz-executor.6
 70990   19620    630      0  3   0x8000082  wait          syz-executor.2
 62924  319574    630      0  3   0x8000082  wait          syz-executor.4
 32660   49360      1      0  3  0x18100083  ttyin         getty
 85817  167617      0      0  3     0x14200  bored         sosplice
   630   87508  56025      0  3  0x1a000082  wait          syz-fuzzer
   630  357956  56025      0  3  0x1e000082  nanoslp       syz-fuzzer
   630  339224  56025      0  3  0x1e000082  thrsleep      syz-fuzzer
   630  322728  56025      0  3  0x1e000082  wait          syz-fuzzer
   630  321035  56025      0  3  0x1e000082  thrsleep      syz-fuzzer
   630  507871  56025      0  3  0x1e000082  thrsleep      syz-fuzzer
   630  135977  56025      0  3  0x1e000082  wait          syz-fuzzer
   630   39042  56025      0  2  0x1e000002                syz-fuzzer
   630  230222  56025      0  3  0x1e000082  wait          syz-fuzzer
   630  362727  56025      0  3  0x1e000082  thrsleep      syz-fuzzer
   630  486907  56025      0  3  0x1e000082  wait          syz-fuzzer
   630  280226  56025      0  3  0x1e000082  wait          syz-fuzzer
   630  108650  56025      0  3  0x1e000082  wait          syz-fuzzer
   630  120292  56025      0  3  0x1e000082  wait          syz-fuzzer
 56025  410654  65121      0  3   0x810008a  sigsusp       ksh
 65121  497475  59520      0  3  0x1800009a  kqread        sshd
 59520  464224      1      0  3  0x18000088  kqread        sshd
 21771  491834  44803     73  2  0x19100010                syslogd
 44803  222095      1      0  3  0x18100082  sbwait        syslogd
 53391  393243      1      0  3  0x18100080  kqread        resolvd
 96187   44113      0      0  3     0x14200  bored         smr
 28018  288607      0      0  2     0x14200                zerothread
 93445  213162      0      0  3     0x14200  aiodoned      aiodoned
 81206  315907      0      0  3     0x14200  syncer        update
 83453    3536      0      0  3     0x14200  cleaner       cleaner
 98455  337899      0      0  2     0x14200                reaper
  7506  434131      0      0  3     0x14200  pgdaemon      pagedaemon
 20062  397986      0      0  3     0x14200  bored         viomb
 96048  418930      0      0  3  0x40014200  acpi0         acpi0
 35781  211182      0      0  3     0x14200  bored         softnet3
 75619  334696      0      0  3     0x14200  bored         softnet2
 94540  108168      0      0  3     0x14200  bored         softnet1
 65709   83317      0      0  2     0x14200                softnet0
 95909   99374      0      0  3     0x14200  bored         systqmp
 31199  299715      0      0  3     0x14200  bored         systq
*62207  425009      0      0  7  0x40014200                softclock
 32773  513416      0      0  3  0x40014200                idle0
     1  505827      0      0  3   0x8080082  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 10170   6420K   10824K 166960K     12972        0
            pcb    17     15K      16K 166960K       686        0
         rtable   219     14K      15K 166960K      5626        0
             pf    29      8K      10K 166960K       565        0
         ifaddr    41     12K      13K 166960K       794        0
        ifgroup    50      2K       2K 166960K       992        0
         sysctl     4      1K       2K 166960K        10        0
       counters    30     17K      17K 166960K       272        0
       ioctlops     0      0K       2K 166960K       377        0
            iov     0      0K      28K 166960K       221        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1391     87K      87K 166960K      4974        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K      13K 166960K       129        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K       502        0
        dirhash    12      2K       3K 166960K        99        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    10     33K     105K 166960K      5910        0
          sigio     0      0K       0K 166960K        67        0
           proc    53     42K     116K 166960K      5215        0
        subproc   104      6K       8K 166960K      2353        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       864        0
       in_multi    88      6K       7K 166960K      1975        0
    ether_multi     1      0K       0K 166960K        59        0
            mrt     1      0K       0K 166960K        13        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    97    440K     440K 166960K        97        0
           exec     0      0K       1K 166960K      2947        0
     pfkey data     0      0K       0K 166960K         4        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   276    109K     124K 166960K     45929        0
       UVM aobj   131      8K       8K 166960K       140        0
     pinsyscall    24     48K     100K 166960K     11356        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       261        0
            NDP    11      0K       2K 166960K       585        0
           temp    78   6812K   14748K 166960K    207181        0
         kqueue     6     10K      26K 166960K       538        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      731    0      730     1     0     1     1     0     8    0
rtentry    112     2032    0     1933     4     0     4     4     0     8    0
unpcb      144     3363    0     3357     7     0     7     7     0     8    6
syncache   336       10    0       10     1     0     1     1     0     8    1
sackhl      24        3    5        3     1     0     1     1     0     8    1
tcpqe       32       48    0       48     1     0     1     1     0     8    1
tcpcb      808     1434    0     1429     8     0     8     8     0     8    7
arp         88      389    0      372     1     0     1     1     0     8    0
ipq         40       15    0       15     1     0     1     1     0     8    1
ipqe        40      190    0      190     1     0     1     1     0     8    1
inpcb      352     5173    0     5168    15     6     9    13     0     8    8
nd6        104      532    0      510     1     0     1     1     0     8    0
pkpcb       40       23    0       23     1     0     1     1     0     8    1
kcovpl      48      181    0      173     1     0     1     1     0     8    0
ppxss      1072      44    0       44     1     0     1     1     0     8    1
rttmr      136        2    0        2     1     0     1     1     0     8    1
pool(rttmr): free list modified: page 0xfffffd807d5f2000; item ordinal 0; addr 0xfffffd807d5f2d48 (p 0xfffffd807d5f2000); offset 0x10=0xffffffff
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     8007    0     7600   130   101    29    32     0     8    2
art_table   32     8008    0     7600     5     0     5     5     0     8    1
art_node    16     2023    0     1935     1     0     1     1     0     8    0
sysvmsgpl   40       17    0       10     1     0     1     1     0     8    0
semupl     112        1    0        1     1     0     1     1     0     8    1
semapl     112      500    0      490     1     0     1     1     0     8    0
shmpl      112      137    0        9     4     0     4     4     0     8    0
dirhash    1024      75    0       58     3     0     3     3     0     8    0
dino2pl    256     8181    0     6652    96     0    96    96     0     8    0
ffsino     240     8181    0     6652    91     0    91    91     0     8    0
nchpl      144    15094    0    14540    67    34    33    67     0     8    8
uvmvnodes   80     9717    0        0   199     0   199   199     0     8    0
vnodes     216     9717    0        0   540     0   540   540     0     8    0
namei      1024   67127    0    67127     3     0     3     3     0     8    3
vcpupl     3904      13    0        1     2     0     2     2     0     8    0
vmpool     664       24    0       12     2     0     2     2     0     8    1
kstatmem   264      506    0      484     2     0     2     2     0     8    0
scsiplug    72        3    0        3     1     0     1     1     0     8    1
scxspl     216   110496    0   110496     8     0     8     8     1     8    8
plimitpl   152      875    0      859     1     0     1     1     0     8    0
sigapl     424     5891    0     5848     9     0     9     9     0     8    3
futexpl     64    72732    0    72732     1     0     1     1     0     8    1
knotepl    120    23988    0    23922    11     0    11    11     0     8    8
kqueuepl   184     1203    0     1198     4     0     4     4     0     8    3
pipepl     288     1360    0     1332     5     0     5     5     0     8    2
fdescpl    432     5852    0     5834     5     0     5     5     0     8    1
filepl     120    35042    0    34827    14     0    14    14     0     8    6
lockfpl    104     1233    0     1232     1     0     1     1     0     8    0
lockfspl    48      529    0      528     1     0     1     1     0     8    0
sessionpl  144      190    0      175     1     0     1     1     0     8    0
pgrppl      48      327    0      312     1     0     1     1     0     8    0
ucredpl    104     4574    0     4566     1     0     1     1     0     8    0
zombiepl   144     5857    0     5848     1     0     1     1     0     8    0
processpl  1072    5891    0     5848     5     0     5     5     0     8    0
procpl     656    10331    0    10263     9     0     9     9     0     8    1
sosppl     168        9    0        9     1     0     1     1     0     8    1
sockpl     504     9333    0     9321    60    50    10    31     0     8    8
mcl64k     65536     15    0       15     1     0     1     1     0     8    1
mcl16k     16384      1    0        1     1     0     1     1     0     8    1
mcl12k     12288      2    0        2     1     0     1     1     0     8    1
mcl8k      8192     113    0      113     1     0     1     1     0     8    1
mcl4k      4096      19    0       19     1     0     1     1     0     8    1
mcl2k2     2112       1    0        1     1     0     1     1     0     8    1
mcl2k      2048   54822    0    54711    48    26    22    35     0     8    7
mtagpl      96       25    0       25     1     0     1     1     0     8    1
mbufpl     256   152254    0   152042    51    31    20    27     0     8    5
bufpl      280    18391    0     8673   695     0   695   695     0     8    0
anonpl      24   744874    0   734185   112     0   112   112     0   188   47
amapchunkpl 152  146014    0   145057    47     0    47    47     0   158   10
amappl16   200    14220    0    14073    45    21    24    32     0     8    8
amappl15   192       16    0       16     1     0     1     1     0     8    1
amappl14   184      650    0      642     2     0     2     2     0     8    1
amappl13   176       34    0       33     1     0     1     1     0     8    0
amappl12   168     8862    0     8835     2     0     2     2     0     8    0
amappl11   160       49    0       44     1     0     1     1     0     8    0
amappl10   152      221    0      209     1     0     1     1     0     8    0
amappl9    144      152    0      152     1     0     1     1     0     8    1
amappl8    136      540    0      509     2     0     2     2     0     8    0
amappl7    128       91    0       78     1     0     1     1     0     8    0
amappl6    120     2627    0     2611     2     0     2     2     0     8    0
amappl5    112      805    0      796     1     0     1     1     0     8    0
amappl4    104     1710    0     1678     2     0     2     2     0     8    0
amappl3     96    26653    0    26564     3     0     3     3     0     8    0
amappl2     88     6703    0     6646     4     0     4     4     0     8    2
amappl1     80    37580    0    37177    22     5    17    22     0     8    7
amappl      88    43896    0    43699     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      139    0        9     3     0     3     3     0     8    0
uaddrrnd    24     5876    0     5839     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     5876    0     5839     1     0     1     1     0     8    0
vmmpekpl   168    47300    0    47237     4     0     4     4     0     8    0
vmmpepl    168   410054    0   408320   119     0   119   119     0   357   41
vmsppl     344     5875    0     5838     5     0     5     5     0     8    0
rwobjpl     24   102750    0    91940    67     0    67    67     0     8    1
pdppl      4096   11758    0    11688   621   551    70    90     0     8    0
pvpl        32  2299981    0  2286112   399    45   354   399     0   265  202
pmappl     216     5875    0     5838     3     0     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1125    0      759    12     0    12    12     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
__x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14
softclock_thread(ffff80002a58ca40) at softclock_thread+0xc3 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: -2
ddb> machine ddbcpu 1
No such command
ddb> trace
__x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14
softclock_thread(ffff80002a58ca40) at softclock_thread+0xc3 sys/kern/kern_timeout.c:814
end trace frame: 0x0, count: -2

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/20 06:51 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/05/17 18:45 openbsd fea1e5fd692c c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/04/24 07:28 openbsd e6c7c102cf5d 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/04/23 06:19 openbsd 19e99d061340 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/04/21 19:29 openbsd 8a9424f8c5c9 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/04/21 11:12 openbsd 8a9424f8c5c9 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/04/02 15:05 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/30 13:47 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/26 19:17 openbsd c2de78a730b8 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/20 16:53 openbsd 10309c388f04 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/17 17:54 openbsd d108608d837e 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/10 09:13 openbsd c8df64f9c06b 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/06 11:37 openbsd cf53fb485466 f39a7eed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
2024/03/06 09:08 openbsd cf53fb485466 f39a7eed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: __x86_indirect_thunk_r11
* Struck through repros no longer work on HEAD.