syzbot


KASAN: use-after-free Read in fb_mode_is_equal
Status: upstream: reported syz repro on 2019/12/07 10:05
Reported-by: syzbot+f11cda116c57db68c227@syzkaller.appspotmail.com
First crash: 560d, last: 7h56m

Cause bisection: introduced by (bisect log) :
commit 13ff178ccd6d3b8074c542a911300b79c4eec255
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Tue May 28 09:02:53 2019 +0000

  fbcon: Call fbcon_mode_deleted/new_modelist directly

Crash: KASAN: use-after-free Read in fb_mode_is_equal (log)
Repro: syz .config

Fix bisection: the fix commit could be any of (bisect log):
  6b643a07a7e4 x86/entry, ubsan, objtool: Whitelist __ubsan_handle_*()
  8e8bb06d199a x86/entry, bug: Comment the instrumentation_begin() usage for WARN()
  14d3b376b6c3 x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
  33aea07f30c2 compiler_attributes.h: Support no_sanitize_undefined check with GCC 4
  5144f8a8dfd7 compiler_types.h: Add __no_sanitize_{address,undefined} to noinstr
  acf7b0bf7dcf kasan: Fix required compiler version
  734d099ba644 objtool: Don't consider vmlinux a C-file
  7b861a53e46b kasan: Bump required compiler version
  5ddbc4082e10 x86, kcsan: Add __no_kcsan to noinstr
  e3a9e681adb7 x86/entry: Fixup bad_iret vs noinstr
  c7aadc09321d x86/entry: Increase entry_stack size to a full page
  e79302ae8c8c kcsan: Remove __no_kcsan_or_inline
  145a773aef83 x86/entry: Fix #UD vs WARN more
  e82587336695 x86, kcsan: Remove __no_kcsan_or_inline usage
  2c92d787cc9f Merge branch 'linus' into x86/entry, to resolve conflicts
Patch testing requests:
Created Duration User Patch Repo Result
2021/03/15 01:49 15m ducheng2@gmail.com upstream OK

Sample crash report:

Crashes (534):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2019/12/25 10:06 upstream 46cf053e be5c2c81 .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/12/25 09:48 upstream 46cf053e be5c2c81 .config log report syz
ci-upstream-kasan-gce 2019/12/25 08:16 upstream 46cf053e be5c2c81 .config log report syz
ci-upstream-kasan-gce-386 2019/12/25 09:48 upstream 46cf053e be5c2c81 .config log report syz
ci-upstream-kasan-gce 2021/06/19 18:05 upstream b1edae0d aba2b2fb .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/06/18 11:24 upstream fd0aa1a4 aba2b2fb .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/06/18 05:37 upstream fd0aa1a4 aba2b2fb .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/06/18 00:53 upstream 70585216 aba2b2fb .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/06/17 02:12 upstream 6b00bc63 aba2b2fb .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/06/14 21:50 upstream 009c9aa5 1ba81399 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-smack-root 2021/06/12 05:50 upstream f21b807c 1ba81399 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/06/10 18:15 upstream cd1245d7 1ba81399 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-smack-root 2021/06/07 13:42 upstream 614124be e59537be .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-selinux-root 2021/06/06 12:23 upstream f5b6eb1e 500c2339 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/06/03 16:51 upstream 324c92e5 0740de69 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-smack-root 2021/05/29 04:56 upstream 5ff2756a 858ea628 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/27 06:48 upstream 7ac3a1c1 858ea628 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/26 10:49 upstream ad9f25d3 54f0bcf1 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/18 12:36 upstream 8ac91e6c a343ba6b .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/17 19:47 upstream d07f6ca9 a2eb125d .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/05/17 07:10 upstream d07f6ca9 f54a5c09 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/05/15 06:20 upstream 25a12987 8bdd5343 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/05/09 20:39 upstream b7415964 bc5434be .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/05/08 19:58 upstream ab159ac5 bc5434be .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/05 23:20 upstream d2b6f8a1 06c27ff5 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-selinux-root 2021/05/03 07:17 upstream d2b6f8a1 77e2b668 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-root 2021/05/02 03:10 upstream d2b6f8a1 77e2b668 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2021/04/23 22:47 upstream 18a3c5f7 17f0b706 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-qemu-upstream 2021/03/26 21:59 upstream db24726b a8529b82 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-qemu-upstream 2021/03/02 11:31 upstream 7a7fd0de 92ead296 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-386 2021/06/15 05:50 upstream 009c9aa5 1ba81399 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-386 2021/06/04 14:12 upstream f88cd3fb 966a236b .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-386 2021/05/14 14:39 upstream 315d9931 8bdd5343 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce-386 2021/01/29 12:39 upstream bec4c296 6593fd32 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-linux-next-kasan-gce-root 2021/06/04 22:31 linux-next a1f92694 966a236b .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-linux-next-kasan-gce-root 2021/05/25 09:47 linux-next a1f92694 3c7fef33 .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-linux-next-kasan-gce-root 2021/04/03 11:24 linux-next 454c576c 6a81331a .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-linux-next-kasan-gce-root 2021/03/24 05:12 linux-next d949689e e613994b .config log report info KASAN: use-after-free Read in fb_mode_is_equal
ci-upstream-kasan-gce 2020/10/13 03:27 upstream bbf5c979 d32b0bbf .config log report info
ci-upstream-kasan-gce 2020/10/12 15:53 upstream bbf5c979 d32b0bbf .config log report info
ci-upstream-kasan-gce 2020/10/11 22:55 upstream 3dd0130f 4a77ae0b .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/11 18:14 upstream da690031 4a77ae0b .config log report info
ci-upstream-kasan-gce 2020/10/11 15:03 upstream da690031 4a77ae0b .config log report info
ci-upstream-kasan-gce 2020/10/11 12:04 upstream da690031 4a77ae0b .config log report info
ci-upstream-kasan-gce 2020/10/10 19:04 upstream 6f2f486d 4a77ae0b .config log report info
ci-upstream-kasan-gce 2020/10/10 11:12 upstream 6f2f486d 93817d89 .config log report info
ci-upstream-kasan-gce 2020/10/10 04:43 upstream 6f2f486d 93817d89 .config log report info
ci-upstream-kasan-gce-root 2020/10/09 19:09 upstream 583090b1 d81b165e .config log report info
ci-upstream-kasan-gce 2020/10/09 09:11 upstream 3d006ee4 92390980 .config log report info
ci-upstream-kasan-gce 2020/10/08 16:01 upstream c85fb28b 92390980 .config log report info
ci-upstream-kasan-gce-root 2019/12/07 08:45 upstream 7ada90eb 85f26751 .config log report
ci-qemu-upstream-386 2020/10/11 13:44 upstream da690031 4a77ae0b .config log report info
ci-upstream-kasan-gce-386 2020/10/11 04:48 upstream da690031 4a77ae0b .config log report info
ci-upstream-kasan-gce-386 2020/10/09 15:16 upstream 583090b1 d81b165e .config log report info
ci-upstream-kasan-gce-386 2020/10/09 09:13 upstream 3d006ee4 92390980 .config log report info
ci-upstream-kasan-gce-386 2020/10/08 17:15 upstream c85fb28b 92390980 .config log report info
ci-qemu-upstream-386 2020/10/08 12:09 upstream c85fb28b 92390980 .config log report info
ci-upstream-kasan-gce-386 2020/10/07 21:06 upstream c85fb28b 1880b4a9 .config log report info