syzbot


uvm_fault: x86_send_ipi

Status: auto-closed as invalid on 2020/02/10 22:30
Reported-by: syzbot+06dbe8daf61512018095@syzkaller.appspotmail.com
First crash: 1836d, last: 1836d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: x86_send_ipi (2) 2 1647d 1659d 0/3 auto-closed as invalid on 2020/08/17 12:27

Sample crash report:
uvm_fault(0xfffffd807f00a170, 0x648, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at      x86_send_ipi+0x24:      lock orl        %r15d,0x648(%r14)
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
kernel page fault
uvm_fault(0xfffffd807f00a170, 0x648, 0, 2) -> e
x86_send_ipi(0,2) at x86_send_ipi+0x24 x86_atomic_setbits_u32 machine/atomic.h:292 [inline]
x86_send_ipi(0,2) at x86_send_ipi+0x24 sys/arch/amd64/amd64/ipi.c:48
end trace frame: 0xffff8000223790e0, count: 0
ddb{0}> trace
x86_send_ipi(0,2) at x86_send_ipi+0x24 x86_atomic_setbits_u32 machine/atomic.h:292 [inline]
x86_send_ipi(0,2) at x86_send_ipi+0x24 sys/arch/amd64/amd64/ipi.c:48
vm_intr_pending(ffff8000223792b0) at vm_intr_pending+0x225 sys/arch/amd64/amd64/vmm.c:681
VOP_IOCTL(fffffd806e1aa5b0,800c5606,ffff8000223792b0,3,fffffd807f7c6780,ffff800020ab0c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
vn_ioctl(fffffd8064a068e8,800c5606,ffff8000223792b0,ffff800020ab0c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
sys_ioctl(ffff800020ab0c70,ffff8000223793c8,ffff800022379410) at sys_ioctl+0x5b9
syscall(ffff800022379490) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800022379490) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc12eb5b2640, count: -7
ddb{0}> show registers
rdi               0xffffffff81249794    x86_send_ipi+0x24
rsi                            0x204
rbp               0xffff800022379080
rbx                              0x1
rdx                            0x205
rcx               0xffff800021952000
rax               0xffff800021952000
r8                0xffffffff81488c4b    vmmioctl+0x3b
r9                               0x7
r10               0x339066493818f343
r11               0x9988779b02308434
r12                                0
r13               0xffff800020add180
r14                                0
r15                              0x2
rip               0xffffffff81249794    x86_send_ipi+0x24
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff800022379050
ss                              0x10
x86_send_ipi+0x24:      lock orl        %r15d,0x648(%r14)
ddb{0}> show proc
PROC (syz-executor.0) pid=320750 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=86, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff800020ab1b40,0xffffffff8263b120
    process=0xffff800020add180 user=0xffff800022374000, vmspace=0xfffffd807f00a170
    estcpu=36, cpticks=0, pctcpu=0.0
    user=0, sys=0, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 82842   37448  85291      0  2           0                syz-executor.0
*82842  320750  85291      0  7   0x4000000                syz-executor.0
 20202   78558  32536      0  2           0                syz-executor.1
 20202  373488  32536      0  7   0x4000000                syz-executor.1
 85291  225356  29976      0  3        0x82  nanosleep     syz-executor.0
 32536  171865  29976      0  3        0x82  nanosleep     syz-executor.1
  2313  270226      1      0  3    0x100083  ttyin         getty
 63814  268758      0      0  3     0x14200  bored         sosplice
 29976  203904  18226      0  3        0x82  thrsleep      syz-fuzzer
 29976  147593  18226      0  3   0x4000082  nanosleep     syz-fuzzer
 29976    7123  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976  387584  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976  231181  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976    3048  18226      0  3   0x4000082  kqread        syz-fuzzer
 29976   97762  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976  217559  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976  437295  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 29976  473149  18226      0  3   0x4000082  thrsleep      syz-fuzzer
 18226  131922  29273      0  3    0x10008a  pause         ksh
 29273  388195  94123      0  3        0x92  select        sshd
 94123  246771      1      0  3        0x80  select        sshd
 51146  435598  83618     74  3    0x100092  bpf           pflogd
 83618  300905      1      0  3        0x80  netio         pflogd
  7896  305310  35265     73  3    0x100090  kqread        syslogd
 35265  297304      1      0  3    0x100082  netio         syslogd
 77694  230574      1     77  3    0x100090  poll          dhclient
 71242  414694      1      0  3        0x80  poll          dhclient
 80570  455850      0      0  2     0x14200                zerothread
 25358  107603      0      0  3     0x14200  aiodoned      aiodoned
  8291  185369      0      0  3     0x14200  syncer        update
 98595  130531      0      0  3     0x14200  cleaner       cleaner
 73640   96374      0      0  3     0x14200  reaper        reaper
 39615  340092      0      0  3     0x14200  pgdaemon      pagedaemon
  4049  467213      0      0  3     0x14200  bored         crynlk
 76469  438477      0      0  3     0x14200  bored         crypto
 44095  104332      0      0  3  0x40014200  acpi0         acpi0
 16932  410921      0      0  3  0x40014200                idle1
 96925  490126      0      0  3     0x14200  bored         softnet
 10728  451719      0      0  3     0x14200  bored         systqmp
 19052  271780      0      0  3     0x14200  bored         systq
 64142  425917      0      0  3  0x40014200  bored         softclock
 12814  175334      0      0  3  0x40014200                idle0
 22401  237660      0      0  3     0x14200  bored         smr
     1   79411      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 82842 (syz-executor.0) thread 0xffff800020ab0c70 (320750)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8263a9c8)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline]
#1  syscall+0x400 sys/arch/amd64/amd64/trap.c:555
#2  Xsyscall+0x128
Process 20202 (syz-executor.1) thread 0xffff800020ab1b40 (373488)
exclusive rrwlock inode r = 0 (0xfffffd805e693918)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  rw_enter+0x447 sys/kern/kern_rwlock.c:306
#2  rrw_enter+0x4f sys/kern/kern_rwlock.c:435
#3  ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140
#4  ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352
#5  ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392
#6  ufs_makeinode+0xaa sys/ufs/ufs/ufs_vnops.c:1832
#7  ufs_create+0x41 sys/ufs/ufs/ufs_vnops.c:152
#8  VOP_CREATE+0xc0 sys/kern/vfs_vops.c:113
#9  vn_open+0x2a4 sys/kern/vfs_vnops.c:122
#10 doopenat+0x28b sys/kern/vfs_syscalls.c:1157
#11 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#11 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#12 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd805e6931a8)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  rw_enter+0x447 sys/kern/kern_rwlock.c:306
#2  rrw_enter+0x4f sys/kern/kern_rwlock.c:435
#3  VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615
#4  vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5  vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419
#6  namei+0x63c sys/kern/vfs_lookup.c:249
#7  vn_open+0x1a6 sys/kern/vfs_vnops.c:113
#8  doopenat+0x28b sys/kern/vfs_syscalls.c:1157
#9  syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#9  syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#10 Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim Kern Lim
         devbuf  9618   6487K    9441K  78643K    111204        0        0
            pcb    13     10K      12K  78643K      6109        0        0
         rtable   106     13K      15K  78643K     20062        0        0
         ifaddr  1206    105K     111K  78643K      5898        0        0
       counters    39     33K      33K  78643K        39        0        0
       ioctlops     0      0K       4K  78643K      2748        0        0
            iov     0      0K      50K  78643K      5575        0        0
          mount     1      1K       1K  78643K         1        0        0
         vnodes  1224     77K      78K  78643K     55664        0        0
      UFS quota     1     32K      32K  78643K         1        0        0
      UFS mount     5     36K      36K  78643K         5        0        0
            shm     2      1K       9K  78643K       365        0        0
         VM map   273    136K     136K  78643K       365        0        0
            sem    12      0K       0K  78643K      9148        0        0
        dirhash    12      2K       2K  78643K        12        0        0
           ACPI  1808    196K     290K  78643K     12765        0        0
      file desc     6     17K      25K  78643K     27330        0        0
          sigio     0      0K       0K  78643K       455        0        0
           proc    62     63K      95K  78643K     11131        0        0
        subproc    32      2K       2K  78643K      3302        0        0
    NFS srvsock     1      0K       0K  78643K         1        0        0
     NFS daemon     1     16K      16K  78643K         1        0        0
    ip_moptions     0      0K       1K  78643K      2806        0        0
       in_multi    11      0K       2K  78643K      3631        0        0
    ether_multi     1      0K       0K  78643K       280        0        0
            mrt     5      0K       0K  78643K       186        0        0
    ISOFS mount     1     32K      32K  78643K         1        0        0
  MSDOSFS mount     1     16K      16K  78643K         1        0        0
           ttys   126    556K     556K  78643K       126        0        0
           exec     0      0K       1K  78643K      5659        0        0
     pfkey data     0      0K       4K  78643K        16        0        0
        pagedep     1      8K       8K  78643K         1        0        0
       inodedep     1     32K      32K  78643K         1        0        0
         newblk     1      0K       0K  78643K         1        0        0
        VM swap     7     26K      26K  78643K         7        0        0
       UVM amap   592   2182K    2184K  78643K     98011        0        0
       UVM aobj   130      4K       4K  78643K       132        0        0
        memdesc     1      4K       4K  78643K         1        0        0
    crypto data     1      1K       1K  78643K         1        0        0
    ip6_options     0      0K       2K  78643K      6083        0        0
            NDP    25      0K       1K  78643K      1576        0        0
           temp   189   3556K    4200K  78643K   1000654        0        0
         kqueue     0      0K       0K  78643K       535        0        0
      SYN cache     2     16K      16K  78643K         2        0        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64      679    0      676     1     0     1     1     0     8    0
plcache    128       20    0        0     1     0     1     1     0     8    0
rtpcb       80     2721    0     2719     1     0     1     1     0     8    0
rtentry    112     3164    0     3131     2     0     2     2     0     8    0
unpcb      120    17962    0    17926    10     8     2     2     0     8    0
syncache   264      144    0      144    66    66     0     1     0     8    0
tcpqe       32       49    0       49    32    32     0     1     0     8    0
tcpcb      544    13888    0    13884   167   166     1    14     0     8    0
ipq         40        4    0        4     4     4     0     1     0     8    0
ipqe        40        8    0        8     4     4     0     1     0     8    0
inpcb      280    50131    0    50124   200   197     3    10     0     8    2
rttmr       72       67    0       67    20    20     0     1     0     8    0
ip6q        72       11    0       11     9     8     1     1     0     8    1
ip6af       40       22    0       22     8     7     1     1     0     8    1
nd6         48      469    0      469    12    12     0     1     0     8    0
pkpcb       40      154    0      154    53    53     0     1     0     8    0
swfcl       56        6    0        0     1     0     1     1     0     8    0
ppxss      1128     722    0      722    82    81     1     1     0     8    1
pffrag     232      877    0      877    83    82     1     1     0   482    1
pffrnode    88      874    0      874    83    82     1     1     0     8    1
pffrent     40    32108    0    32108    83    82     1     1     0     8    1
pfosfp      40      846    0      423     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24     2431    0     2393     1     0     1     1     0     8    0
pfstkey    112     2433    0     2395     7     5     2     3     0     8    0
pfstate    328     2433    0     2395    25    18     7     8     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096      63    0       62    41    40     1     4     0     8    0
art_heap4  256    13139    0    12899   135   116    19    23     0     8    0
art_table   32    13202    0    12961     4     1     3     3     0     8    0
art_node    16     3163    0     3132     1     0     1     1     0     8    0
sysvmsgpl   40       51    0       43     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112     9146    0     9136     1     0     1     1     0     8    0
shmpl      112      130    0        2     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino1pl    128    42551    0    40913    53     0    53    53     0     8    0
ffsino     272    42551    0    40913   112     2   110   110     0     8    0
nchpl      144    84466    0    83904    62    41    21    61     0     8    0
uvmvnodes   72    11519    0        0   210     0   210   210     0     8    0
vnodes     208    11519    0        0   607     0   607   607     0     8    0
namei      1024  352091    0   352090    13    12     1     1     0     8    0
percpumem   16       30    0        0     1     0     1     1     0     8    0
vcpupl     1984     276    0        5    34     0    34    34     0     8    0
vmpool     552      363    0       92    21     1    20    20     0     8    0
scsiplug    64       46    0       46    35    35     0     1     0     8    0
scxspl     192   282369    0   282369   174   172     2     4     0     8    2
plimitpl   152     2094    0     2086     1     0     1     1     0     8    0
sigapl     432    26953    0    26937     7     5     2     3     0     8    0
futexpl     56   744016    0   744016     6     5     1     1     0     8    1
knotepl    112     7893    0     7874    25    24     1     3     0     8    0
kqueuepl   104    28671    0    28669    35    34     1     4     0     8    0
pipepl     160    24046    0    24025    56    54     2     3     0     8    1
fdescpl    488    26954    0    26937     3     0     3     3     0     8    0
filepl     152   321478    0   321374   223   217     6    14     0     8    1
lockfpl    104    10847    0    10846     1     0     1     1     0     8    0
lockfspl    48     3334    0     3333     1     0     1     1     0     8    0
sessionpl  112      211    0      200     1     0     1     1     0     8    0
pgrppl      48      554    0      543     1     0     1     1     0     8    0
ucredpl     96    27800    0    27788     1     0     1     1     0     8    0
zombiepl   144    26957    0    26957     9     8     1     1     0     8    1
processpl  896    26990    0    26957     8     4     4     5     0     8    0
procpl     632    86576    0    86532    15    10     5     5     0     8    1
srpgc       64      281    0      281    89    89     0     1     0     8    0
sosppl     128      894    0      894   106   105     1     1     0     8    1
sockpl     384    71669    0    71623   294   286     8    17     0     8    1
mcl64k     65536   2406    0        0   248   218    30    66     0     8    0
mcl16k     16384     99    0        0     9     6     3     3     0     8    0
mcl12k     12288     82    0        0     2     0     2     2     0     8    0
mcl9k      9216      49    0        0     3     1     2     2     0     8    0
mcl8k      8192      97    0        0    11     8     3     3     0     8    0
mcl4k      4096      65    0        0     7     4     3     3     0     8    0
mcl2k2     2112      17    0        0     2     0     2     2     0     8    0
mcl2k      2048     517    0        0    20     9    11    19     0     8    0
mtagpl      80      564    0        0     3     2     1     2     0     8    0
mbufpl     256     2772    0        0    57    11    46    56     0     8    0
bufpl      256    86462    0    74942   721     0   721   721     0     8    0
anonpl      16  3677880    0  3641019   775   622   153   165     0   124    3
amapchunkpl 152  210444    0   209656   374   336    38    43     0   158    5
amappl16   192   152536    0   150824   837   745    92    98     0     8    0
amappl15   184     5601    0     5601    25    25     0     1     0     8    0
amappl14   176     5332    0     5322     1     0     1     1     0     8    0
amappl13   168     3184    0     3182    20    19     1     1     0     8    0
amappl12   160     2784    0     2777     2     1     1     1     0     8    0
amappl11   152     4616    0     4600     1     0     1     1     0     8    0
amappl10   144     2872    0     2862     1     0     1     1     0     8    0
amappl9    136     6274    0     6270     1     0     1     1     0     8    0
amappl8    128     6041    0     5906     5     0     5     5     0     8    0
amappl7    120     3659    0     3650     1     0     1     1     0     8    0
amappl6    112     4074    0     4055     1     0     1     1     0     8    0
amappl5    104     4525    0     4509     1     0     1     1     0     8    0
amappl4     96    26087    0    26050     1     0     1     1     0     8    0
amappl3     88     6726    0     6715     1     0     1     1     0     8    0
amappl2     80   208953    0   208853    12     9     3     3     0     8    0
amappl1     72   627597    0   627146    25    15    10    20     0     8    0
amappl      80    90796    0    90589     5     0     5     5     0    84    0
dma4096    4096       1    0        1     1     1     0     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       17    0       17     1     1     0     1     0     8    0
aobjpl      64      131    0        2     3     0     3     3     0     8    0
uaddrrnd    24    27317    0    26937     3     0     3     3     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    27317    0    26937     3     0     3     3     0     8    0
vmmpekpl   168   191791    0   191726     5     1     4     4     0     8    0
vmmpepl    168  3539730    0  3535942  1377  1170   207   228     0   357   37
vmsppl     368    26953    0    26937     2     0     2     2     0     8    0
pdppl      4096   54641    0    54329    54    14    40    40     0     8    0
pvpl        32 12264406    0 12239464  1343  1126   217   276     0   265    2
pmappl     232    27316    0    27029    18     1    17    17     0     8    0
extentpl    40       41    0       26     1     0     1     1     0     8    0
phpool     112     1604    0      609    30     1    29    29     0     8    0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/12 22:29 openbsd f0c2caef18b3 048f2d49 .config console log report ci-openbsd-multicore
* Struck through repros no longer work on HEAD.