syzbot


KASAN: slab-out-of-bounds Read in tcf_exts_destroy
Status: fixed on 2020/02/18 14:31
Reported-by: syzbot+35d4dea36c387813ed31@syzkaller.appspotmail.com
Fix commit: 599be01ee567 net_sched: fix an OOB access in cls_tcindex
First crash: 795d, last: 778d

Cause bisection: introduced by (bisect log) :
commit 6e237d099fac1f73a7b6d7287bb9191f29585a4e
Author: David Ahern <dsahern@gmail.com>
Date: Thu Dec 7 04:09:12 2017 +0000

  netlink: Relax attr validation for fixed length types

Crash: WARNING: kmalloc bug in tcindex_alloc_perfect_hash (log)
Repro: C syz .config

Fix bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 KASAN: slab-out-of-bounds Read in tcf_exts_destroy C done 1 663d 780d 1/1 fixed on 2020/03/11 23:02
linux-4.14 KASAN: slab-out-of-bounds Read in tcf_exts_destroy C done 1 662d 775d 1/1 fixed on 2020/03/12 12:23
Patch testing requests:
Created Duration User Patch Repo Result
2020/02/02 03:15 18m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git syzbot OK
2020/02/01 20:24 4m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git syzbot error
2020/02/01 02:56 4m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git syzbot error
2020/01/31 20:59 5m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git syzbot error

Sample crash report:

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2019/10/18 22:59 upstream 0e2adab6cf28 8c88c9c1 .config log report syz C
ci-upstream-kasan-gce-root 2019/10/13 21:43 upstream da94001239cc 2f661ec4 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/10/13 19:40 upstream da94001239cc 2f661ec4 .config log report syz C
ci-upstream-kasan-gce 2019/10/06 05:48 upstream b145b0eb2031 f3f7d9c8 .config log report syz C
ci-upstream-kasan-gce-386 2019/10/06 20:16 upstream 43b815c6a8e7 f3f7d9c8 .config log report syz C
ci-upstream-net-this-kasan-gce 2019/10/01 22:35 net 569aad4fcd82 b7a87a83 .config log report syz C
ci-upstream-net-kasan-gce 2019/10/02 15:14 net-next c01ebd6c4698 2e29b534 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/10/17 13:28 linux-next 3ef845da3c3b 8c88c9c1 .config log report syz C