syzbot


uvm_fault: x86_ipi_db (3)

Status: auto-closed as invalid on 2021/05/25 04:20
Reported-by: syzbot+78df8d9308d9b49bef58@syzkaller.appspotmail.com
First crash: 1196d, last: 1179d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: x86_ipi_db (6) 1 995d 995d 0/3 closed as invalid on 2021/08/26 17:38
openbsd uvm_fault: x86_ipi_db (2) 1 1229d 1229d 0/3 closed as invalid on 2021/01/29 06:54
openbsd uvm_fault: x86_ipi_db (8) 209 1d19h 819d 0/3 upstream: reported on 2022/02/19 02:28
openbsd uvm_fault: x86_ipi_db (5) 1 1000d 1000d 0/3 closed as invalid on 2021/08/23 05:23
openbsd uvm_fault: x86_ipi_db (7) 4 869d 869d 3/3 fixed on 2021/12/30 22:14
openbsd uvm_fault: x86_ipi_db 1 1232d 1232d 0/3 closed as invalid on 2021/01/03 08:45
openbsd uvm_fault: x86_ipi_db (4) 1 1014d 1014d 0/3 closed as invalid on 2021/08/08 05:33

Sample crash report:
uvm_fault(fffffd806a5d7a20,20001000,0,2) at uvm_fault+0x23e sys/uvm/uvm_fault.c:628
kpageflttrap(ffff8000216b1520,20001280) at kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265
kerntrap(ffff8000216b1520) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
copyout() at copyout+0x53
syscall(ffff8000216b1750) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000216b1750) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc34d0bbf460, count: -15
ddb{0}> show registers
rdi               0xffff8000254d0000
rsi                           0x3af9    __ALIGN_SIZE+0x2af9
rbp               0xffff8000216b0ea0
rbx                              0x3
rdx               0xffff8000254d0000
rcx                           0x3af8    __ALIGN_SIZE+0x2af8
rax               0xffffffff82097e57    db_enter+0x17
r8                0xffffffff81631b01    witness_checkorder+0x1061
r9                               0x5
r10               0xbbf44ddc8e0b4323
r11               0xadf1c5b96a28970c
r12                                0
r13               0xfffffd806b004098
r14                                0
r15               0xfffffd8002ce0600
rip               0xffffffff82097e58    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff8000216b0e90
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.0) pid=117733 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=32, usrpri=78, nice=20
    forw=0xffffffffffffffff, list=0xffff800021279500,0xffff800021279a50
    process=0xffff800024325968 user=0xffff8000216ac000, vmspace=0xfffffd806a5d7a20
    estcpu=28, cpticks=0, pctcpu=0.0
    user=0, sys=0, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 88884  430823  48550      0  2           0                syz-executor.0
*88884  117733  48550      0  7   0x4000000                syz-executor.0
 88884  388810  48550      0  3   0x4000080  fsleep        syz-executor.0
 20171  281086  51672      0  7           0                syz-executor.1
 20171  148311  51672      0  3   0x4000080  piperd        syz-executor.1
 20171  153603  51672      0  2   0x4000080                syz-executor.1
 48550  523663  72106      0  3        0x82  nanoslp       syz-executor.0
 51672  368341  72106      0  3        0x82  nanoslp       syz-executor.1
 61965   85854      0      0  3     0x14280  nfsidl        nfsio
 99363  498354      0      0  3     0x14280  nfsidl        nfsio
 90621  347129      0      0  3     0x14280  nfsidl        nfsio
 81605   31688      0      0  3     0x14280  nfsidl        nfsio
 87081  292716      0      0  3     0x14280  nfsidl        nfsio
 99128   19183      0      0  3     0x14280  nfsidl        nfsio
 34956  240102      0      0  3     0x14280  nfsidl        nfsio
 51987  443279      0      0  3     0x14280  nfsidl        nfsio
 64284  411183      0      0  3     0x14280  nfsidl        nfsio
 91327    5783      0      0  3     0x14280  nfsidl        nfsio
 28942  145084      0      0  3     0x14280  nfsidl        nfsio
 41489  449929      0      0  3     0x14280  nfsidl        nfsio
 52492  126999      0      0  3     0x14280  nfsidl        nfsio
 56313   98994      0      0  3     0x14280  nfsidl        nfsio
 89296  108818      0      0  3     0x14280  nfsidl        nfsio
 38434   83316      0      0  3     0x14280  nfsidl        nfsio
 67901  388418      0      0  3     0x14280  nfsidl        nfsio
 95249  378646      0      0  3     0x14280  nfsidl        nfsio
 56410  344539      0      0  3     0x14280  nfsidl        nfsio
  3203  510499      0      0  3     0x14280  nfsidl        nfsio
 66883  227273      0      0  3     0x14200  bored         sosplice
 72106   25293  81427      0  3        0x82  thrsleep      syz-fuzzer
 72106  330148  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 72106  504916  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 72106  108554  81427      0  3   0x4000082  kqread        syz-fuzzer
 72106   43697  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 72106  116981  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 72106  316638  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 72106  401205  81427      0  3   0x4000082  thrsleep      syz-fuzzer
 81427  412776  76747      0  3    0x10008a  sigsusp       ksh
 76747  206314  66228      0  3        0x92  select        sshd
 55318   33353      1      0  3    0x100083  ttyin         getty
 66228  337475      1      0  3        0x80  select        sshd
 64375  177881  15102     74  3    0x100092  bpf           pflogd
 15102  146327      1      0  3        0x80  netio         pflogd
 38771  255499  66832     73  3    0x100090  kqread        syslogd
 66832  249485      1      0  3    0x100082  netio         syslogd
 51711  263748      1     77  3    0x100090  poll          dhclient
 12519  319126      1      0  3        0x80  poll          dhclient
 92742  163401      0      0  3     0x14200  bored         smr
 21382  354889      0      0  2     0x14200                zerothread
 27016   27274      0      0  3     0x14200  aiodoned      aiodoned
 90147  159719      0      0  3     0x14200  syncer        update
 18588  477311      0      0  3     0x14200  cleaner       cleaner
 73276   30628      0      0  3     0x14200  reaper        reaper
  5804  519314      0      0  3     0x14200  pgdaemon      pagedaemon
 62851  198583      0      0  3     0x14200  bored         crynlk
 81906  236235      0      0  3     0x14200  bored         crypto
 14621  213278      0      0  3     0x14200  bored         viomb
 59948  253586      0      0  3  0x40014200  acpi0         acpi0
 56659   96095      0      0  3  0x40014200                idle1
 68763  501603      0      0  3     0x14200  bored         softnet
 50314  291239      0      0  3     0x14200  bored         systqmp
 11622  369138      0      0  3     0x14200  bored         systq
 75909  120024      0      0  3  0x40014200  bored         softclock
 65274  154637      0      0  3  0x40014200                idle0
     1  193897      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 88884 (syz-executor.0) thread 0xffff8000212797a0 (117733)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff827d30c8)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  kpageflttrap+0x1f1 sys/arch/amd64/amd64/trap.c:265
#2  kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
#3  alltraps_kern_meltdown+0x7b
#4  copyout+0x53
#5  syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#5  syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
#6  Xsyscall+0x128
exclusive rwlock fdlock r = 0 (0xfffffd807ccb2638)
#0  witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1  dopipe+0xe0
#2  syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#2  syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
#3  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf  9572   6474K    7338K  78643K     21273        0
            pcb    13      8K       8K  78643K       513        0
         rtable   108      3K       4K  78643K      1489        0
         ifaddr    90     17K      17K  78643K       433        0
         sysctl     2      0K       0K  78643K        10        0
       counters    46     34K      34K  78643K       168        0
       ioctlops     0      0K       4K  78643K      1762        0
            iov     0      0K      32K  78643K       475        0
          mount     1      1K       1K  78643K         1        0
         vnodes  1235     78K      78K  78643K      4835        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K        74        0
         VM map     2      1K       1K  78643K         2        0
            sem    11      1K       1K  78643K        13        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12598        0
      file desc     6     17K      25K  78643K      9475        0
          sigio     0      0K       0K  78643K        10        0
           proc    63     63K      95K  78643K      1429        0
        subproc    32      2K       2K  78643K       187        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K       648        0
       in_multi    33      2K       2K  78643K       559        0
    ether_multi     1      0K       0K  78643K        81        0
            mrt     0      0K       0K  78643K       110        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    61    281K     281K  78643K        61        0
           exec     0      0K       2K  78643K       849        0
     pfkey data     0      0K       0K  78643K        15        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     7     26K      26K  78643K         7        0
       UVM amap   206    111K     126K  78643K     22939        0
       UVM aobj    93      8K       8K  78643K        97        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       361        0
            NDP    17      0K       0K  78643K       148        0
           temp   151   3975K    4102K  78643K     37676        0
         kqueue     3      4K      16K  78643K       341        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64       26    0       20     1     0     1     1     0     8    0
plcache    128       20    0        0     1     0     1     1     0     8    0
rtpcb      120      356    0      354     1     0     1     1     0     8    0
rtentry    112      314    0      270     2     0     2     2     0     8    0
unpcb      120     1837    0     1823     2     0     2     2     0     8    1
syncache   296       98    0       98    14    14     0     1     0     8    0
tcpqe       32       18    0       18     5     5     0     1     0     8    0
tcpcb      736     1343    0     1337    24    22     2     4     0     8    0
inpcb      304     3971    0     3963    10     8     2     2     0     8    1
rttmr       72       46    0       46     8     7     1     1     0     8    1
nd6         48       83    0       77     1     0     1     1     0     8    0
pkpcb       40      102    0      102    14    13     1     1     0     8    1
kcovpl      48       11    0        9     1     0     1     1     0     8    0
swfcl       56        4    0        0     1     0     1     1     0     8    0
ppxss      1128      11    0       11     5     5     0     1     0     8    0
pffrag     232        9    0        9     2     1     1     1     0   482    1
pffrnode    88        9    0        9     2     1     1     1     0     8    1
pffrent     40       22    0       22     2     1     1     1     0     8    1
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24      176    0      145     1     0     1     1     0     8    0
pfstkey    112      176    0      145     2     1     1     2     0     8    0
pfstate    320      176    0      145     6     2     4     4     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      937    0      746    18     6    12    14     0     8    0
art_table   32      938    0      746     2     0     2     2     0     8    0
art_node    16      298    0      258     1     0     1     1     0     8    0
semapl     112        9    0        0     1     0     1     1     0     8    0
shmpl      112       94    0        4     3     0     3     3     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    13419    0    12008    92     3    89    89     0     8    0
ffsino     272    13419    0    12008    95     0    95    95     0     8    0
nchpl      144    24676    0    23081    60     0    60    60     0     8    0
uvmvnodes   72     5926    0        0   108     0   108   108     0     8    0
vnodes     224     5926    0        0   349     0   349   349     0     8    0
namei      1024   61211    0    61211     2     1     1     1     0     8    1
percpumem   16       95    0       61     1     0     1     1     0     8    0
vcpupl     1984       7    0        0     1     0     1     1     0     8    0
vmpool     560       24    0       17     3     2     1     1     0     8    0
scxspl     216    81364    0    81364    15    14     1     8     0     8    1
plimitpl   152      137    0      129     1     0     1     1     0     8    0
sigapl     424     9686    0     9632     7     0     7     7     0     8    0
futexpl     56    61399    0    61398     2     1     1     1     0     8    0
knotepl    112      639    0      619     1     0     1     1     0     8    0
kqueuepl   168     3424    0     3418     1     0     1     1     0     8    0
pipepl     336      567    0      553     6     4     2     2     0     8    0
fdescpl    496     9648    0     9631     3     0     3     3     0     8    0
filepl     152    30994    0    30886     7     1     6     6     0     8    1
lockfpl    104     1579    0     1577     1     0     1     1     0     8    0
lockfspl    48      546    0      544     1     0     1     1     0     8    0
sessionpl  144       27    0       16     1     0     1     1     0     8    0
pgrppl      48       38    0       27     1     0     1     1     0     8    0
ucredpl     96     3351    0     3340     1     0     1     1     0     8    0
zombiepl   144     9632    0     9632     1     0     1     1     0     8    1
processpl  1080    9686    0     9632     4     0     4     4     0     8    0
procpl     672    21534    0    21469     8     2     6     6     0     8    0
sosppl     168      138    0      137    10     9     1     1     0     8    0
sockpl     432     6271    0     6247    19    11     8     8     0     8    4
mcl64k     65536     28    0        0     3     0     3     3     0     8    0
mcl16k     16384      2    0        0     1     0     1     1     0     8    0
mcl12k     12288     14    0        0     2     0     2     2     0     8    0
mcl9k      9216       5    0        0     1     0     1     1     0     8    0
mcl8k      8192      10    0        0     2     0     2     2     0     8    0
mcl4k      4096      19    0        0     3     1     2     3     0     8    0
mcl2k2     2112       5    0        0     1     0     1     1     0     8    0
mcl2k      2048     361    0        0    16     1    15    16     0     8    0
mtagpl      96      390    0        0     8     0     8     8     0     8    0
mbufpl     256     1020    0        0    48     0    48    48     0     8    0
bufpl      280    22572    0    16312   448     0   448   448     0     8    0
anonpl      24   682868    0   675788    98    45    53    67     0   186    9
amapchunkpl 152   39303    0    39105    49    41     8    22     0   158    0
amappl16   200    31218    0    30968    42    25    17    26     0     8    3
amappl15   192     2513    0     2511     1     0     1     1     0     8    0
amappl14   184        3    0        2     1     0     1     1     0     8    0
amappl13   176     2857    0     2853     1     0     1     1     0     8    0
amappl12   168     2707    0     2701     1     0     1     1     0     8    0
amappl11   160       46    0       33     1     0     1     1     0     8    0
amappl10   152       32    0       24     1     0     1     1     0     8    0
amappl9    144      860    0      859     1     0     1     1     0     8    0
amappl8    136      695    0      580     4     0     4     4     0     8    0
amappl7    128      668    0      657     1     0     1     1     0     8    0
amappl6    120      112    0       94     1     0     1     1     0     8    0
amappl5    112     5327    0     5315     1     0     1     1     0     8    0
amappl4    104     3408    0     3362     3     1     2     2     0     8    0
amappl3     96     4494    0     4480     1     0     1     1     0     8    0
amappl2     88    78449    0    78368     3     0     3     3     0     8    0
amappl1     80   279061    0   278546    26    14    12    21     0     8    0
amappl      88    21975    0    21908     2     0     2     2     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      64       96    0        4     2     0     2     2     0     8    0
uaddrrnd    24     9672    0     9648     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     9672    0     9648     1     0     1     1     0     8    0
vmmpekpl   168    44224    0    44186     2     0     2     2     0     8    0
vmmpepl    168  1198305    0  1196604   124    48    76    84     0   357    1
vmsppl     368     9671    0     9648     3     0     3     3     0     8    0
rwobjpl     56   252056    0   250995    34    18    16    19     0     8    1
pdppl      4096   19351    0    19303    69    21    48    49     0     8    0
pvpl        32  3051429    0  3040944   261   155   106   121     0   265   20
pmappl     232     9671    0     9648     4     2     2     2     0     8    0
extentpl    40       58    0       40     1     0     1     1     0     8    0
phpool     112      391    0       62    10     0    10    10     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
witness_checkorder(fffffd806b004098,9,0) at witness_checkorder+0x108b
rw_enter(fffffd806b004088,81) at rw_enter+0xd4
rrw_enter(fffffd806b004088,81) at rrw_enter+0x88 sys/kern/kern_rwlock.c:461
VOP_LOCK(fffffd807c57b8c8,81) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:614
vn_lock(fffffd807c57b8c8,81) at vn_lock+0x6c sys/kern/vfs_vnops.c:575
uvn_get(fffffd80676b38d0,0,ffff8000216b1228,ffff8000216b120c,0,0) at uvn_get+0x276 uvm_vnode_lock sys/uvm/uvm_vnode.c:1499 [inline]
uvn_get(fffffd80676b38d0,0,ffff8000216b1228,ffff8000216b120c,0,0) at uvn_get+0x276 sys/uvm/uvm_vnode.c:993
uvm_fault_lower(ffff8000216b1390,ffff8000216b13c8,ffff8000216b1310,0) at uvm_fault_lower+0x54d sys/uvm/uvm_fault.c:1213
uvm_fault(fffffd806a5d7a20,20001000,0,2) at uvm_fault+0x23e sys/uvm/uvm_fault.c:628
kpageflttrap(ffff8000216b1520,20001280) at kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265
kerntrap(ffff8000216b1520) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:321
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
copyout() at copyout+0x53
syscall(ffff8000216b1750) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000216b1750) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc34d0bbf460, count: -15
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
end of kernel
end trace frame: 0x7f7fffffae60, count: -3

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/24 04:20 openbsd f00572e7b2ce fcc6d71b .config console log report ci-openbsd-multicore uvm_fault: x86_ipi_db
2021/02/22 12:32 openbsd d51414ae1460 c26fb06b .config console log report ci-openbsd-multicore uvm_fault: x86_ipi_db
2021/02/11 17:58 openbsd 7af3a068bd97 a5f86b15 .config console log report ci-openbsd-multicore uvm_fault: x86_ipi_db
2021/02/07 01:26 openbsd d1d999610aa4 0655e081 .config console log report ci-openbsd-multicore uvm_fault: x86_ipi_db
* Struck through repros no longer work on HEAD.