syzbot


panic: attempt WtAoR eNIxNeGc:u tSeP uL seNOrT a LddOrWEesRsE D 0Ox0N iSYn SCsAuLpLe rv3i 4s orEX ImTo d0 e9

Status: closed as invalid on 2019/10/13 07:41
Reported-by: syzbot+2b088ce52fe4b9bac661@syzkaller.appspotmail.com
First crash: 1867d, last: 1867d

Sample crash report:
"*"*panic: attempt WtAoR eNIxNeGc:u tSeP uL seNOrT a LddOrWEesRsE D 0Ox0N  iSYn SCsAuLpLe rv3i 4s orEX ImTo d0 e9
Stopped at      savectx+0xb1:   movl    $0,%gs:0x530
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 114367  61032      0           0  0x4000000    0  syz-executor.1
* 33609  75506     74    0x100012          0    1  pflogd
savectx(6,0,180fcc1918b0,3,180d65b03b16,180ffb5dc000) at savectx+0xb1
end of kernel
end trace frame: 0x7f7ffffd6040, count: 14
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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
attempt to execute user address 0x0 in supervisor mode
ddb{1}> trace
savectx(6,0,180fcc1918b0,3,180d65b03b16,180ffb5dc000) at savectx+0xb1
end of kernel
end trace frame: 0x7f7ffffd6040, count: -1
ddb{1}> show registers
rdi                                0
rsi                                0
rbp               0xffff800020aab4f0
rbx                                0
rdx               0xffff800020ac0010
rcx                                0
rax                             0x31
r8                0xffffffff8154a38f    kprintf+0x16f
r9                               0x1
r10                             0x25
r11               0x67a614dafad1722b
r12                                0
r13                                0
r14               0xffff800020ac0010
r15                                0
rip               0xffffffff817563f1    savectx+0xb1
cs                               0x8
rflags                          0x46
rsp               0xffff800020aab470
ss                              0x10
savectx+0xb1:   movl    $0,%gs:0x530
ddb{1}> show proc
PROC (pflogd) pid=33609 stat=onproc
    flags process=100012<EXEC,SUGID,PLEDGE> proc=0
    pri=51, usrpri=51, nice=20
    forw=0xffffffffffffffff, list=0xffff800020ac1158,0xffff800020ac13e0
    process=0xffff800020adc000 user=0xffff800020aa6000, vmspace=0xfffffd806e7df2e8
    estcpu=1, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 61032  327655  48566      0  2           0                syz-executor.1
 61032  114367  48566      0  7   0x4000000                syz-executor.1
 48566  379050  92923      0  2       0x482                syz-executor.1
  2171  397553      0      0  3     0x14200  acct          acct
 13995  513465  92923      0  2       0x482                syz-executor.0
 78504  352713      0      0  3     0x14200  bored         sosplice
 92923  323140  97254      0  3        0x82  kqread        syz-fuzzer
 92923   30878  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  255709  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  448938  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  522417  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  293842  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  358836  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  465578  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  511916  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 92923  475993  97254      0  3   0x4000082  thrsleep      syz-fuzzer
 97254  256046  20434      0  3    0x10008a  pause         ksh
 20434  442215  52950      0  3        0x92  select        sshd
 54740  264376      1      0  3    0x100083  ttyin         getty
 52950  389645      1      0  3        0x80  select        sshd
*75506   33609  27410     74  7    0x100012                pflogd
 27410  280130      1      0  3        0x80  netio         pflogd
  6317  218285  82061     73  3    0x100090  kqread        syslogd
 82061   75226      1      0  3    0x100082  netio         syslogd
 72423  511821      1     77  3    0x100090  poll          dhclient
 54995  457402      1      0  3        0x80  poll          dhclient
 52352  166612      0      0  3     0x14200  pgzero        zerothread
 43678   36436      0      0  3     0x14200  aiodoned      aiodoned
 37011  367110      0      0  3     0x14200  syncer        update
  3410  351243      0      0  3     0x14200  cleaner       cleaner
  2505  421090      0      0  3     0x14200  reaper        reaper
 95521  203062      0      0  3     0x14200  pgdaemon      pagedaemon
 84366  338537      0      0  3     0x14200  bored         crynlk
 22870   22869      0      0  3     0x14200  bored         crypto
 60797  295677      0      0  3  0x40014200  acpi0         acpi0
 22758  306200      0      0  3  0x40014200                idle1
  4956  467292      0      0  3     0x14200  bored         softnet
 95857  213127      0      0  3     0x14200  bored         systqmp
 66130  353217      0      0  3     0x14200  bored         systq
  4986  177745      0      0  2  0x40014200                softclock
 12324  226260      0      0  3  0x40014200                idle0
 51920  107782      0      0  3     0x14200  bored         smr
     1  245069      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 61032 (syz-executor.1) thread 0xffff800020acf8d0 (114367)
exclusive rwlock netlock r = 0 (0xffffffff824663c8)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  uvn_io+0x3b2 sys/uvm/uvm_vnode.c:1206
#2  uvn_get+0x226 sys/uvm/uvm_vnode.c:1049
#3  uvm_fault+0x11cc sys/uvm/uvm_fault.c:1023
#4  pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199
#5  kerntrap+0xec sys/arch/amd64/amd64/trap.c:287
#6  alltraps_kern_meltdown+0x7b
#7  copyin+0x4b
#8  sys_connect+0x9c sys/kern/uipc_syscalls.c:367
#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
exclusive kernel_lock &kernel_lock r = 2 (0xffffffff82646680)
#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
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim Kern Lim
         devbuf  9577   7092K    7932K  78643K     13496        0        0
            pcb    13      8K       8K  78643K       271        0        0
         rtable   108     13K      14K  78643K      1015        0        0
         ifaddr    77     16K      17K  78643K       308        0        0
       counters    39     33K      33K  78643K        39        0        0
       ioctlops     0      0K       4K  78643K      1523        0        0
            iov     0      0K      18K  78643K      2280        0        0
          mount     1      1K       1K  78643K         1        0        0
         vnodes  1218     76K      77K  78643K      2280        0        0
      UFS quota     1     32K      32K  78643K         1        0        0
      UFS mount     5     36K      36K  78643K         5        0        0
            shm     2      1K       5K  78643K        12        0        0
         VM map    15      7K       8K  78643K        18        0        0
            sem    12      0K       1K  78643K       413        0        0
        dirhash    12      2K       2K  78643K        12        0        0
           ACPI  1808    196K     290K  78643K     12765        0        0
      file desc     5     13K      25K  78643K      1277        0        0
          sigio     0      0K       0K  78643K        29        0        0
           proc    60     63K      95K  78643K       740        0        0
        subproc    32      2K       2K  78643K       121        0        0
    NFS srvsock     1      0K       0K  78643K         1        0        0
     NFS daemon     1     16K      16K  78643K         1        0        0
    ip_moptions     0      0K       0K  78643K       115        0        0
       in_multi    23      1K       2K  78643K       170        0        0
    ether_multi     1      0K       0K  78643K         9        0        0
            mrt     0      0K       0K  78643K         2        0        0
    ISOFS mount     1     32K      32K  78643K         1        0        0
  MSDOSFS mount     1     16K      16K  78643K         1        0        0
           ttys    72    318K     318K  78643K        72        0        0
           exec     0      0K       1K  78643K       434        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   131    120K     136K  78643K      5606        0        0
       UVM aobj    64      5K       5K  78643K        66        0        0
        memdesc     1      4K       4K  78643K         1        0        0
    crypto data     1      1K       1K  78643K         1        0        0
    ip6_options     0      0K       0K  78643K       271        0        0
            NDP    18      0K       0K  78643K        94        0        0
           temp   214   3560K    4200K  78643K     27670        0        0
         kqueue     0      0K       0K  78643K        14        0        0
      SYN cache     2     16K      16K  78643K         2        0        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64       31    0       25     1     0     1     1     0     8    0
plcache    128       20    0        0     1     0     1     1     0     8    0
rtpcb       80      123    0      121     1     0     1     1     0     8    0
rtentry    112      173    0      135     2     0     2     2     0     8    0
unpcb      120      742    0      728     1     0     1     1     0     8    0
syncache   264       19    0       19     6     6     0     1     0     8    0
tcpqe       32       30    0       30     3     3     0     1     0     8    0
tcpcb      544      514    0      507     1     0     1     1     0     8    0
inpcb      280     1917    0     1908     3     1     2     3     0     8    1
nd6         48       21    0       19     2     1     1     1     0     8    0
pkpcb       40       15    0       15     3     3     0     1     0     8    0
ppxss      1128      30    0       30     5     4     1     1     0     8    1
pffrag     232       33    0       33     5     4     1     1     0   482    1
pffrnode    88       33    0       33     5     4     1     1     0     8    1
pffrent     40      869    0      869     5     4     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      123    0       44     1     0     1     1     0     8    0
pfstkey    112      123    0       44     3     0     3     3     0     8    0
pfstate    328      123    0       44     7     0     7     7     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       4    0        3     4     3     1     3     0     8    0
art_heap4  256      735    0      545    21     7    14    16     0     8    2
art_table   32      739    0      548     3     0     3     3     0     8    1
art_node    16      172    0      137     1     0     1     1     0     8    0
sysvmsgpl   40       12    0        9     1     0     1     1     0     8    0
semupl     112        2    0        2     1     1     0     1     0     8    0
semapl     112      411    0      401     1     0     1     1     0     8    0
shmpl      112       64    0        2     2     0     2     2     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino1pl    128     3365    0     1961    46     0    46    46     0     8    0
ffsino     272     3365    0     1961    96     1    95    95     0     8    0
nchpl      144     6184    0     4575    61     0    61    61     0     8    0
uvmvnodes   72     4158    0        0    76     0    76    76     0     8    0
vnodes     208     4158    0        0   219     0   219   219     0     8    0
namei      1024   19772    0    19772     1     0     1     1     0     8    1
percpumem   16       30    0        0     1     0     1     1     0     8    0
vcpupl     1984      13    0        0     2     0     2     2     0     8    0
vmpool     552       16    0        3     1     0     1     1     0     8    0
scxspl     192    17700    0    17700    13    10     3     7     0     8    3
plimitpl   152       96    0       88     1     0     1     1     0     8    0
sigapl     432     1462    0     1447     3     1     2     3     0     8    0
futexpl     56    30863    0    30863     1     0     1     1     0     8    1
knotepl    112      343    0      324     3     2     1     3     0     8    0
kqueuepl   104      312    0      310     1     0     1     1     0     8    0
pipepl     112      886    0      867     5     4     1     2     0     8    0
fdescpl    488     1463    0     1447     3     0     3     3     0     8    0
filepl     152    13077    0    12975     9     3     6     8     0     8    2
lockfpl    104      470    0      469     1     0     1     1     0     8    0
lockfspl    48      165    0      164     1     0     1     1     0     8    0
sessionpl  112       23    0       12     1     0     1     1     0     8    0
pgrppl      48       41    0       30     1     0     1     1     0     8    0
ucredpl     96     1366    0     1357     1     0     1     1     0     8    0
zombiepl   144     1449    0     1448     1     0     1     1     0     8    0
processpl  896     1482    0     1448     4     0     4     4     0     8    0
procpl     632     4538    0     4494     5     0     5     5     0     8    0
srpgc       64        6    0        6     2     2     0     1     0     8    0
sosppl     128       19    0       19     5     4     1     1     0     8    1
sockpl     384     2807    0     2782     9     4     5     5     0     8    1
mcl64k     65536     26    0        0     3     0     3     3     0     8    0
mcl16k     16384      4    0        0     1     0     1     1     0     8    0
mcl12k     12288     17    0        0     2     0     2     2     0     8    0
mcl9k      9216       6    0        0     1     0     1     1     0     8    0
mcl8k      8192      17    0        0     3     0     3     3     0     8    0
mcl4k      4096      17    0        0     3     0     3     3     0     8    0
mcl2k2     2112       5    0        0     1     0     1     1     0     8    0
mcl2k      2048     180    0        0    22     0    22    22     0     8    0
mtagpl      80       24    0        0     1     0     1     1     0     8    0
mbufpl     256      471    0        0    26     0    26    26     0     8    0
bufpl      256    10530    0     3482   441     0   441   441     0     8    0
anonpl      16   180760    0   162958    98    21    77    92     0   124    0
amapchunkpl 152   10073    0     9951    28    15    13    13     0   158    6
amappl16   192     8377    0     7332    81    27    54    64     0     8    1
amappl14   176       65    0       62     1     0     1     1     0     8    0
amappl13   168       48    0       46     1     0     1     1     0     8    0
amappl12   160      409    0      404     1     0     1     1     0     8    0
amappl11   152      277    0      261     1     0     1     1     0     8    0
amappl10   144       28    0       26     1     0     1     1     0     8    0
amappl9    136     1073    0     1064     1     0     1     1     0     8    0
amappl8    128      620    0      588     2     0     2     2     0     8    0
amappl7    120       62    0       55     1     0     1     1     0     8    0
amappl6    112      300    0      286     1     0     1     1     0     8    0
amappl5    104      578    0      564     1     0     1     1     0     8    0
amappl4     96     1665    0     1633     1     0     1     1     0     8    0
amappl3     88      265    0      260     1     0     1     1     0     8    0
amappl2     80    10502    0    10427     3     1     2     3     0     8    0
amappl1     72    42700    0    42265    25    15    10    20     0     8    0
amappl      80     4898    0     4851     3     1     2     2     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       65    0        2     2     0     2     2     0     8    0
uaddrrnd    24     1479    0     1447     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1479    0     1447     1     0     1     1     0     8    0
vmmpekpl   168    15736    0    15696     3     1     2     3     0     8    0
vmmpepl    168   190239    0   188018   184    46   138   138     0   357   35
vmsppl     368     1462    0     1447     2     0     2     2     0     8    0
pdppl      4096    2965    0     2913     7     0     7     7     0     8    0
pvpl        32   489039    0   468296   230    41   189   219     0   265   11
pmappl     232     1478    0     1450     3     1     2     2     0     8    0
extentpl    40       41    0       26     1     0     1     1     0     8    0
phpool     112      638    0       14    18     0    18    18     0     8    0

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