syzbot


uvm_fault: rtable_satoplen (3)

Status: closed as invalid on 2020/02/21 15:01
Reported-by: syzbot+71bad0cf073e2d2a544e@syzkaller.appspotmail.com
First crash: 1688d, last: 1645d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: rtable_satoplen 158 1860d 1877d 3/3 fixed on 2019/03/22 16:06
openbsd uvm_fault: rtable_satoplen (2) syz 101 1851d 1860d 3/3 fixed on 2019/04/04 06:33

Sample crash report:
login: uvm_fault(0xffffffff824f6a40, 0xffff800000a6c076, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      rtable_satoplen+0x150:  movzbl  0xffffffffffffffff(%r13),%r12d
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
kernel page fault
uvm_fault(0xffffffff824f6a40, 0xffff800000a6c076, 0, 1) -> e
rtable_satoplen(2,ffff800000a6bf78) at rtable_satoplen+0x150 sys/net/rtable.c:894
end trace frame: 0xffff800014928880, count: 0
ddb> trace
rtable_satoplen(2,ffff800000a6bf78) at rtable_satoplen+0x150 sys/net/rtable.c:894
rtable_lookup(0,fffffd8032008020,ffff800000a6bf78,ffff800000a6bf58,4) at rtable_lookup+0xe0 sys/net/rtable.c:391
rtrequest_delete(ffff800014928920,4,ffff800000a63800,ffff8000149289f0,0) at rtrequest_delete+0xe3 sys/net/route.c:775
rt_ifa_del(ffff800000a6bf00,800100,ffff800000a6bf58,0) at rt_ifa_del+0x3c3 sys/net/route.c:1191
in_purgeaddr(ffff800000a6bf00) at in_purgeaddr+0xc6 in_remove_prefix sys/netinet/in.c:738 [inline]
in_purgeaddr(ffff800000a6bf00) at in_purgeaddr+0xc6 in_ifscrub sys/netinet/in.c:562 [inline]
in_purgeaddr(ffff800000a6bf00) at in_purgeaddr+0xc6 sys/netinet/in.c:678
in_ifinit(ffff800000a63800,ffff800000a6bf00,ffff800014928d70,1) at in_ifinit+0x234 sys/netinet/in.c:664
in_ioctl_change_ifaddr(8040691a,ffff800014928d60,ffff800000a63800,1) at in_ioctl_change_ifaddr+0x5de sys/netinet/in.c:452
in_ioctl(8040691a,ffff800014928d60,ffff800000a63800,1) at in_ioctl+0x205 sys/netinet/in.c:234
ifioctl(fffffd803701ec00,8040691a,ffff800014928d60,ffff8000ffff84f8) at ifioctl+0xb34 sys/net/if.c:2202
sys_ioctl(ffff8000ffff84f8,ffff800014928e78,ffff800014928ec0) at sys_ioctl+0x5b9
syscall(ffff800014928f40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555
Xsyscall(6,0,ffffffffffffff36,0,3,54a3eb8010) at Xsyscall+0x128
end of kernel
end trace frame: 0x5791033890, count: -12
ddb> show registers
rdi                                0
rsi                             0xff
rbp               0xffff8000149287e0
rbx               0xffffffffffffff05
rdx               0xffff800000a6bf7c
rcx               0xffff800000a6c077
rax               0xffff800000a6c077
r8                               0x4
r9                               0x5
r10               0xf5649a2bfcf63112
r11               0xfc895f4dcc4addc5
r12                                0
r13               0xffff800000a6c077
r14               0xffffffff82495798    inetdomain
r15                              0x4
rip               0xffffffff818b3560    rtable_satoplen+0x150
cs                               0x8
rflags                       0x10287    __ALIGN_SIZE+0xf287
rsp               0xffff800014928790
ss                              0x10
rtable_satoplen+0x150:  movzbl  0xffffffffffffffff(%r13),%r12d
ddb> show proc
PROC (syz-executor.0) pid=74591 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=50, usrpri=50, nice=20
    forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffffffff82574928
    process=0xffff8000148a3458 user=0xffff800014923000, vmspace=0xfffffd803f014330
    estcpu=31, cpticks=0, pctcpu=0.0
    user=0, sys=0, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 76632  503683  31876      0  2           0                syz-executor.0
*76632   74591  31876      0  7   0x4000000                syz-executor.0
 31876  466628   6276      0  3        0x82  nanosleep     syz-executor.0
  6276  191451  60698      0  3        0x82  thrsleep      syz-execprog
  6276  267489  60698      0  3   0x4000082  thrsleep      syz-execprog
  6276  329871  60698      0  3   0x4000082  thrsleep      syz-execprog
  6276  441087  60698      0  3   0x4000082  thrsleep      syz-execprog
  6276   87223  60698      0  3   0x4000082  kqread        syz-execprog
  6276  129056  60698      0  3   0x4000082  thrsleep      syz-execprog
  6276  170712  60698      0  3   0x4000082  thrsleep      syz-execprog
 60698  451681  95463      0  3    0x10008a  pause         ksh
 95463  238549  64199      0  3        0x92  select        sshd
 61731   23959      1      0  3    0x100083  ttyin         getty
 64199  115604      1      0  3        0x80  select        sshd
 96319  210790  68485     73  3    0x100090  kqread        syslogd
 68485  219966      1      0  3    0x100082  netio         syslogd
 17058  122360      1     77  3    0x100090  poll          dhclient
 60117  496329      1      0  3        0x80  poll          dhclient
 68829   88883      0      0  2     0x14200                zerothread
 98529  290460      0      0  3     0x14200  aiodoned      aiodoned
 42606  390896      0      0  3     0x14200  syncer        update
 38896  522796      0      0  3     0x14200  cleaner       cleaner
 38482  470723      0      0  3     0x14200  reaper        reaper
 41333  381624      0      0  3     0x14200  pgdaemon      pagedaemon
  8437  461955      0      0  3     0x14200  bored         crynlk
  8576   12750      0      0  3     0x14200  bored         crypto
 92707  140478      0      0  3  0x40014200  acpi0         acpi0
 35053  192770      0      0  3     0x14200  bored         softnet
  3817  349084      0      0  3     0x14200  bored         systqmp
 12708  351914      0      0  3     0x14200  bored         systq
 16934   24154      0      0  3  0x40014200  bored         softclock
 54129  463606      0      0  3  0x40014200                idle0
 10048  479812      0      0  3     0x14200  bored         smr
     1  283983      0      0  3        0x82  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 Kern Lim
         devbuf  9433   6309K    6309K  78643K     10526        0        0
            pcb    13      8K       8K  78643K        17        0        0
         rtable    83      2K       2K  78643K       153        0        0
         ifaddr    29      8K       8K  78643K        40        0        0
       counters    19     16K      16K  78643K        19        0        0
       ioctlops     0      0K       2K  78643K        14        0        0
          mount     1      1K       1K  78643K         1        0        0
         vnodes  1180     74K      74K  78643K      1185        0        0
      UFS quota     1     32K      32K  78643K         1        0        0
      UFS mount     5     36K      36K  78643K         5        0        0
            shm     2      1K       1K  78643K         2        0        0
         VM map     2      0K       0K  78643K         2        0        0
            sem     7      1K       1K  78643K         7        0        0
        dirhash    12      2K       2K  78643K        12        0        0
           ACPI  1793    195K     288K  78643K     12645        0        0
      file desc     3      8K      12K  78643K        23        0        0
           proc    47     38K      54K  78643K       307        0        0
    NFS srvsock     1      0K       0K  78643K         1        0        0
     NFS daemon     1     16K      16K  78643K         1        0        0
       in_multi    22      1K       1K  78643K        22        0        0
    ether_multi     1      0K       0K  78643K         1        0        0
    ISOFS mount     1     32K      32K  78643K         1        0        0
  MSDOSFS mount     1     16K      16K  78643K         1        0        0
           ttys    18     79K      79K  78643K        18        0        0
           exec     0      0K       1K  78643K       172        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    69     11K      12K  78643K       865        0        0
       UVM aobj     2      2K       2K  78643K         2        0        0
        memdesc     1      4K       4K  78643K         1        0        0
    crypto data     1      1K       1K  78643K         1        0        0
            NDP     6      0K       0K  78643K         6        0        0
           temp    39   3517K    3581K  78643K      3068        0        0
      SYN cache     2     16K      16K  78643K         2        0        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64        4    0        0     1     0     1     1     0     8    0
rtpcb       80       17    0       15     1     0     1     1     0     8    0
rtentry    112       34    0        1     1     0     1     1     0     8    0
unpcb      120       27    0       19     1     0     1     1     0     8    0
syncache   264        5    0        5     2     1     1     1     0     8    1
tcpcb      544        8    0        5     1     0     1     1     0     8    0
inpcb      280       38    0       30     1     0     1     1     0     8    0
nd6         48        2    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      167    0        0    11     0    11    11     0     8    0
art_table   32      168    0        0     2     0     2     2     0     8    0
art_node    16       33    0        3     1     0     1     1     0     8    0
semapl     112        5    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino1pl    128     1418    0       24    45     0    45    45     0     8    0
ffsino     240     1418    0       24    83     0    83    83     0     8    0
nchpl      144     1663    0       59    60     0    60    60     0     8    0
uvmvnodes   72     1427    0        0    26     0    26    26     0     8    0
vnodes     208     1427    0        0    76     0    76    76     0     8    0
namei      1024    3871    0     3871     2     1     1     1     0     8    1
scxspl     192     4131    0     4131    10     9     1     7     0     8    1
plimitpl   152       14    0        8     1     0     1     1     0     8    0
sigapl     432      202    0      190     2     0     2     2     0     8    0
futexpl     56      156    0      156     1     0     1     1     0     8    1
knotepl    112       39    0       28     1     0     1     1     0     8    0
kqueuepl   104        2    0        0     1     0     1     1     0     8    0
pipepl     112      138    0      125     2     1     1     1     0     8    0
fdescpl    424      203    0      190     2     0     2     2     0     8    0
filepl     120      993    0      938     2     0     2     2     0     8    0
lockfpl    104        5    0        4     1     0     1     1     0     8    0
lockfspl    48        3    0        2     1     0     1     1     0     8    0
sessionpl  112       18    0        9     1     0     1     1     0     8    0
pgrppl      48       18    0        9     1     0     1     1     0     8    0
ucredpl     96       47    0       40     1     0     1     1     0     8    0
zombiepl   144      190    0      190     2     1     1     1     0     8    1
processpl  864      217    0      190     4     0     4     4     0     8    0
procpl     632      229    0      195     3     0     3     3     0     8    0
sockpl     384       82    0       64     2     0     2     2     0     8    0
mcl4k      4096      10    0       10     2     1     1     1     0     8    1
mcl2k      2048    5483    0     5443     9     2     7     9     0     8    1
mtagpl      80        2    0        2     1     1     0     1     0     8    0
mbufpl     256     9489    0     9403     7     1     6     6     0     8    0
bufpl      256     5789    0     1331   279     0   279   279     0     8    0
anonpl      16    20949    0    19374    15     2    13    13     0    62    6
amapchunkpl 152     696    0      634     5     0     5     5     0   158    2
amappl16   192      150    0      110     3     0     3     3     0     8    0
amappl15   184        1    0        1     1     0     1     1     0     8    1
amappl14   176       27    0       25     2     1     1     1     0     8    0
amappl12   160       13    0       10     2     1     1     1     0     8    0
amappl11   152       41    0       30     1     0     1     1     0     8    0
amappl10   144       14    0       12     2     1     1     1     0     8    0
amappl9    136      424    0      416     1     0     1     1     0     8    0
amappl8    128      114    0      104     1     0     1     1     0     8    0
amappl7    120       30    0       27     1     0     1     1     0     8    0
amappl6    112       73    0       63     1     0     1     1     0     8    0
amappl5    104      129    0      119     1     0     1     1     0     8    0
amappl4     96      430    0      407     1     0     1     1     0     8    0
amappl3     88      117    0      111     1     0     1     1     0     8    0
amappl2     80      870    0      808     4     1     3     3     0     8    1
amappl1     72    13554    0    13160    27    10    17    20     0     8    8
amappl      80      440    0      413     1     0     1     1     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
dma64       64      259    0      259     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        1    0        0     1     0     1     1     0     8    0
uaddrrnd    24      203    0      190     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      203    0      190     1     0     1     1     0     8    0
vmmpekpl   168     6200    0     6185     1     0     1     1     0     8    0
vmmpepl    168    29470    0    28569    94    18    76    76     0   357   36
vmsppl     272      202    0      190     1     0     1     1     0     8    0
pdppl      4096     412    0      380     5     0     5     5     0     8    0
pvpl        32   104675    0   100813   119     6   113   113     0   265   81
pmappl     200      202    0      190     1     0     1     1     0     8    0
extentpl    40       41    0       26     1     0     1     1     0     8    0
phpool     112      406    0        7    12     0    12    12     0     8    0

Crashes (237):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/11 22:21 openbsd 98dbb244f271 f4e53c10 .config console log report syz ci-openbsd-main
2019/10/23 23:03 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-multicore
2019/10/23 20:26 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-main
2019/10/23 17:44 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-multicore
2019/10/23 16:00 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-main
2019/10/23 14:24 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-main
2019/10/23 13:12 openbsd aaf7ae02776d d894f260 .config console log report ci-openbsd-main
2019/10/23 11:26 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-main
2019/10/23 10:14 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-main
2019/10/23 10:10 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-main
2019/10/23 07:28 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-multicore
2019/10/23 06:03 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-main
2019/10/23 04:56 openbsd fe57de6bf863 d0686497 .config console log report ci-openbsd-main
2019/10/23 00:18 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-multicore
2019/10/22 22:56 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-multicore
2019/10/22 18:54 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-main
2019/10/22 16:44 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-main
2019/10/22 15:10 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-main
2019/10/22 13:27 openbsd 2c98785eaaa1 a2bdbd8c .config console log report ci-openbsd-main
2019/10/22 11:53 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-multicore
2019/10/22 10:45 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-main
2019/10/22 09:14 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-main
2019/10/22 08:01 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-multicore
2019/10/22 07:09 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-multicore
2019/10/22 03:27 openbsd 09b707593b26 c59a7cd8 .config console log report ci-openbsd-main
2019/10/21 23:59 openbsd b29f95ed9151 b24d2b8a .config console log report ci-openbsd-multicore
2019/10/21 22:15 openbsd b29f95ed9151 b24d2b8a .config console log report ci-openbsd-multicore
2019/10/21 17:15 openbsd b29f95ed9151 b24d2b8a .config console log report ci-openbsd-main
2019/10/21 15:20 openbsd b29f95ed9151 b24d2b8a .config console log report ci-openbsd-multicore
2019/10/21 10:57 openbsd 29c780a82ed4 8c88c9c1 .config console log report ci-openbsd-main
2019/10/21 02:34 openbsd 29c780a82ed4 8c88c9c1 .config console log report ci-openbsd-main
2019/10/21 00:57 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 23:55 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 22:00 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 21:59 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 19:56 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 17:49 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 16:05 openbsd 06f3ae2aae65 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/20 06:03 openbsd 8b95a59bc25b 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/19 19:31 openbsd b1a121060c68 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/19 10:40 openbsd b1a121060c68 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/19 07:20 openbsd 754f2b84d7f3 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/19 06:05 openbsd 754f2b84d7f3 8c88c9c1 .config console log report ci-openbsd-main
2019/10/18 21:32 openbsd 754f2b84d7f3 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/18 18:09 openbsd 1463ff3c9b45 8c88c9c1 .config console log report ci-openbsd-multicore
2019/10/18 14:14 openbsd 1463ff3c9b45 8c88c9c1 .config console log report ci-openbsd-multicore
2019/09/10 20:23 openbsd 4f5a6e711025 a60cb4cd .config console log report ci-openbsd-main
* Struck through repros no longer work on HEAD.