syzbot


KASAN: use-after-free Read in macvlan_dev_get_iflink
Status: upstream: reported C repro on 2020/06/28 02:47
Reported-by: syzbot+95eec132c4bd9b1d8430@syzkaller.appspotmail.com
First crash: 498d, last: 2d07h

Cause bisection: introduced by (bisect log) :
commit 1a33e10e4a95cb109ff1145098175df3113313ef
Author: Cong Wang <xiyou.wangcong@gmail.com>
Date: Sun May 3 05:22:19 2020 +0000

  net: partially revert dynamic lockdep key changes

Crash: WARNING in print_bfs_bug (log)
Repro: C 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
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 KASAN: use-after-free Read in macvlan_dev_get_iflink C error 57 127d 601d 0/1 upstream: reported C repro on 2020/03/06 01:40
linux-4.19 KASAN: use-after-free Read in macvlan_dev_get_iflink C 52 21d 601d 0/1 upstream: reported C repro on 2020/03/06 01:52
Patch testing requests:
Created Duration User Patch Repo Result
2020/07/24 02:00 16m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net OK
2020/07/23 20:08 10m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net report log

Sample crash report:

Crashes (66):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/06/06 15:59 linux-next a1f92694393a 500c2339 .config log report syz C KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-kasan-gce-smack-root 2020/06/28 02:46 upstream 1590a2e1c681 ffec44b5 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/10/24 05:00 upstream 9c0c4d24ac00 282f03fb .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-kasan-gce-root 2021/04/06 21:04 upstream 0a50438c8436 6a81331a .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-kasan-gce-smack-root 2021/01/20 03:12 upstream 1e2a199f6ccd 63631df1 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-this-kasan-gce 2021/05/22 04:06 net 430bfe057612 3c7fef33 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-this-kasan-gce 2021/05/18 06:27 net 31db0dbd7244 a343ba6b .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-kasan-gce 2021/10/26 03:30 net-next dcd63d432680 c1132b49 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-kasan-gce 2021/10/20 01:44 net-next cb3dc8901ba4 466b7db1 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-kasan-gce 2021/04/26 07:02 net-next 95aafe911db6 2a82f1b3 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-net-kasan-gce 2021/04/24 20:24 net-next b2f0ca00e6b3 17f0b706 .config log report info KASAN: use-after-free Read in macvlan_dev_get_iflink
ci-upstream-kasan-gce 2021/01/06 18:08 upstream 9f1abbe97c08 c104d4a3 .config log report info
ci-upstream-kasan-gce-root 2020/11/16 17:18 upstream 09162bc32c88 1bf9a662 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/08 16:28 upstream c85fb28b6f99 92390980 .config log report info
ci-upstream-kasan-gce-smack-root 2020/09/11 05:36 upstream 7fe10096c150 409809d8 .config log report
ci-upstream-kasan-gce-smack-root 2020/09/08 17:53 upstream f4d51dffc6c0 abf9ba4f .config log report
ci-upstream-kasan-gce 2020/08/31 23:55 upstream f75aef392f86 d5a3ae1f .config log report
ci-upstream-kasan-gce-smack-root 2020/08/31 09:06 upstream dcc5c6f013d8 d5a3ae1f .config log report
ci-upstream-kasan-gce-root 2020/08/28 04:48 upstream 15bc20c6af4c 816e0689 .config log report
ci-upstream-kasan-gce-root 2020/08/23 02:45 upstream c3d8f220d012 1da71ab0 .config log report
ci-upstream-kasan-gce-selinux-root 2020/08/22 14:04 upstream f873db9acd3c 6436ce4b .config log report
ci-upstream-kasan-gce-smack-root 2020/08/06 01:11 upstream fffe3ae0ee84 0487ea6f .config log report
ci-upstream-kasan-gce-root 2020/08/04 18:44 upstream c0842fbc1b18 80a06902 .config log report
ci-upstream-kasan-gce-root 2020/07/31 13:59 upstream 83bdc7275e62 8df85ed9 .config log report
ci-upstream-kasan-gce-root 2020/07/26 02:51 upstream 23ee3e4e5bd2 1f7cc1ca .config log report
ci-upstream-kasan-gce-root 2020/07/21 10:29 upstream 4fa640dc5230 d88894e6 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/18 16:13 upstream 6a70f89cc58f 9c812472 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/18 00:44 upstream 8882572675c1 9c812472 .config log report
ci-upstream-kasan-gce 2020/07/18 00:35 upstream 8882572675c1 9c812472 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/14 05:24 upstream 0dc589da873b ce4c95b3 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/12 10:44 upstream 0aea6d5c5be3 115e1930 .config log report
ci-upstream-kasan-gce 2020/07/12 10:40 upstream 0aea6d5c5be3 115e1930 .config log report
ci-upstream-kasan-gce-root 2020/07/10 18:40 upstream 42f82040ee66 edf162e8 .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/10 18:18 upstream 42f82040ee66 edf162e8 .config log report
ci-qemu-upstream 2020/07/08 03:05 upstream 719fdd32921f 08fc4ef1 .config log report
ci-upstream-kasan-gce 2020/07/01 16:57 upstream 7c30b859a947 39acb39d .config log report
ci-upstream-kasan-gce-selinux-root 2020/06/30 00:14 upstream 4e99b32169e8 a2cdad9d .config log report
ci-upstream-kasan-gce-smack-root 2020/06/28 16:24 upstream 4e99b32169e8 a2cdad9d .config log report
ci-upstream-kasan-gce-smack-root 2020/06/28 01:32 upstream 1590a2e1c681 ffec44b5 .config log report
ci-upstream-kasan-gce-smack-root 2020/06/16 13:32 upstream 7ae77150d94d baca2611 .config log report
ci-upstream-kasan-gce-386 2020/09/04 15:32 upstream e28f0104343d abf9ba4f .config log report
ci-upstream-net-this-kasan-gce 2020/10/14 09:26 net 254941f32370 fc7735a2 .config log report info
ci-upstream-net-this-kasan-gce 2020/09/05 07:16 net c70672d8d316 abf9ba4f .config log report
ci-upstream-net-this-kasan-gce 2020/08/15 23:55 net 4ca0d9ac3fd8 424dd8e7 .config log report
ci-upstream-net-this-kasan-gce 2020/08/15 01:26 net 7fca4dee610d 424dd8e7 .config log report
ci-upstream-net-this-kasan-gce 2020/07/23 10:36 net 26cb7085c898 340ea530 .config log report
ci-upstream-net-this-kasan-gce 2020/07/14 01:22 net 1df0d8960499 f90ec899 .config log report
ci-upstream-net-this-kasan-gce 2020/07/09 09:19 net 1412bb2b4bb7 bc238812 .config log report
ci-upstream-net-kasan-gce 2020/10/13 00:11 net-next 15f5e48f93c0 d32b0bbf .config log report info
ci-upstream-net-kasan-gce 2020/09/06 18:14 net-next be239c4d5e3e abf9ba4f .config log report
ci-upstream-net-kasan-gce 2020/08/09 02:00 net-next bfdd5aaa54b0 f721e4a0 .config log report
ci-upstream-net-kasan-gce 2020/07/21 16:42 net-next 71d4364abdc5 21f1765e .config log report
ci-upstream-net-kasan-gce 2020/07/21 03:19 net-next 4f1b4da541db d88894e6 .config log report
ci-upstream-net-kasan-gce 2020/07/20 16:05 net-next 7dce80c2a526 4285ffa3 .config log report
ci-upstream-net-kasan-gce 2020/07/16 08:53 net-next 8635764bcf0f f3bec699 .config log report
ci-upstream-net-kasan-gce 2020/07/13 03:15 net-next 94339443686b 9ebcc5b1 .config log report
ci-upstream-net-kasan-gce 2020/07/12 09:26 net-next 71930d61025e 115e1930 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/21 14:43 linux-next 494d311a82bb 6436ce4b .config log report
ci-upstream-linux-next-kasan-gce-root 2020/07/21 14:22 linux-next ab8be66e724e d88894e6 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/07/18 16:08 linux-next 4c43049f19a2 9c812472 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/07/02 16:13 linux-next aab2003999e7 bed10395 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/07/02 05:02 linux-next aab2003999e7 bed10395 .config log report