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: 455d, last: 4d16h

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

Sample crash report:

Crashes (501):
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-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/01/29 12:39 upstream bec4c296 6593fd32 .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 2020/10/07 15:52 upstream c85fb28b 1880b4a9 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/07 13:01 upstream c85fb28b 1880b4a9 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/10/07 10:37 upstream c85fb28b 1880b4a9 .config log report info
ci-upstream-kasan-gce-root 2020/10/07 03:17 upstream c85fb28b 1880b4a9 .config log report info
ci-upstream-kasan-gce 2020/10/06 21:08 upstream 7575fdda 1880b4a9 .config log report info
ci-upstream-kasan-gce 2020/10/06 12:06 upstream 7575fdda 1880b4a9 .config log report info
ci-upstream-kasan-gce 2020/10/06 10:23 upstream 7575fdda 1880b4a9 .config log report info
ci-upstream-kasan-gce 2020/10/06 02:57 upstream 7575fdda 1880b4a9 .config log report info
ci-upstream-kasan-gce-root 2020/10/05 19:23 upstream 549738f1 1880b4a9 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/05 12:21 upstream 549738f1 5ef9c291 .config log report info
ci-upstream-kasan-gce 2020/10/05 10:51 upstream 549738f1 5ef9c291 .config log report info
ci-upstream-kasan-gce 2020/10/05 03:30 upstream 549738f1 5ef9c291 .config log report info
ci-upstream-kasan-gce 2020/10/04 16:48 upstream 22fbc037 5ef9c291 .config log report info
ci-upstream-kasan-gce 2020/10/04 07:13 upstream 22fbc037 1a3f9408 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/10/03 23:46 upstream 22fbc037 1a3f9408 .config log report info
ci-upstream-kasan-gce-root 2020/10/03 22:13 upstream 22fbc037 1a3f9408 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/03 07:03 upstream d3d45f82 2653fa43 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/02 06:35 upstream fcadab74 9602ddf4 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/02 01:45 upstream fcadab74 9602ddf4 .config log report info
ci-upstream-kasan-gce 2020/10/01 08:44 upstream 60e72093 a9767fb2 .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
ci-qemu-upstream-386 2020/10/06 22:12 upstream c85fb28b 1880b4a9 .config log report info
ci-upstream-kasan-gce-386 2020/10/04 12:33 upstream 22fbc037 5ef9c291 .config log report info
ci-upstream-kasan-gce-386 2020/10/03 12:17 upstream d3d45f82 2653fa43 .config log report info
ci-upstream-kasan-gce-386 2020/10/03 10:46 upstream d3d45f82 2653fa43 .config log report info
ci-upstream-kasan-gce-386 2020/10/03 08:32 upstream d3d45f82 2653fa43 .config log report info
ci-upstream-kasan-gce-386 2020/10/01 19:56 upstream fcadab74 a9767fb2 .config log report info
ci-upstream-kasan-gce-386 2020/10/01 06:55 upstream 60e72093 a9767fb2 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/09/07 01:35 linux-next 7a695657 abf9ba4f .config log report