bisecting cause commit starting from abf02e2964b3aaf1d5197c5d7c671e771b0e109e building syzkaller on 34bf9440bd06034f86b5d9ac8afbf078129cbdae testing commit abf02e2964b3aaf1d5197c5d7c671e771b0e109e with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda with gcc (GCC) 8.1.0 all runs: OK # git bisect start v4.17 v4.16 Bisecting: 7380 revisions left to test after this (roughly 13 steps) [97b1255cb27c551d7c3c5c496d787da40772da99] mm,oom_reaper: check for MMF_OOM_SKIP before complaining testing commit 97b1255cb27c551d7c3c5c496d787da40772da99 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 97b1255cb27c551d7c3c5c496d787da40772da99 Bisecting: 4372 revisions left to test after this (roughly 12 steps) [bb2407a7219760926760f0448fddf00d625e5aec] Merge tag 'docs-4.17' of git://git.lwn.net/linux testing commit bb2407a7219760926760f0448fddf00d625e5aec with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad bb2407a7219760926760f0448fddf00d625e5aec Bisecting: 1469 revisions left to test after this (roughly 11 steps) [1c7095d2836baafd84e596dd34ba1a1293a4faa9] Merge airlied/drm-next into drm-misc-next testing commit 1c7095d2836baafd84e596dd34ba1a1293a4faa9 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 1c7095d2836baafd84e596dd34ba1a1293a4faa9 Bisecting: 728 revisions left to test after this (roughly 10 steps) [2fcd2b306aa80771e053275ed74b2dfe7e3d1434] Merge branch 'x86-dma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 2fcd2b306aa80771e053275ed74b2dfe7e3d1434 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 2fcd2b306aa80771e053275ed74b2dfe7e3d1434 Bisecting: 464 revisions left to test after this (roughly 9 steps) [1159e09476536250c2a0173d4298d15114df7a89] perf/x86/intel: Enable C-state residency events for Cannon Lake testing commit 1159e09476536250c2a0173d4298d15114df7a89 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 1159e09476536250c2a0173d4298d15114df7a89 Bisecting: 137 revisions left to test after this (roughly 7 steps) [2427b432e63b4b911100f717c48289195b7a7d62] perf tools: Update quipper information testing commit 2427b432e63b4b911100f717c48289195b7a7d62 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 2427b432e63b4b911100f717c48289195b7a7d62 Bisecting: 68 revisions left to test after this (roughly 6 steps) [d7f55c62e63461c4071afe8730851e406935d960] perf trace: Switch to new perf_mmap__read_event() interface testing commit d7f55c62e63461c4071afe8730851e406935d960 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad d7f55c62e63461c4071afe8730851e406935d960 Bisecting: 34 revisions left to test after this (roughly 5 steps) [8e2ff72aa35e1a8a53894ae46751a83543338e14] perf powerpc: Generate system call table from asm/unistd.h testing commit 8e2ff72aa35e1a8a53894ae46751a83543338e14 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 8e2ff72aa35e1a8a53894ae46751a83543338e14 Bisecting: 17 revisions left to test after this (roughly 4 steps) [d2ed5d2bdc5cd30b44dc52c44c63f08c0a31b845] perf python: Make twatch.py work with both python2 and python3 testing commit d2ed5d2bdc5cd30b44dc52c44c63f08c0a31b845 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad d2ed5d2bdc5cd30b44dc52c44c63f08c0a31b845 Bisecting: 9 revisions left to test after this (roughly 3 steps) [21316ac6803d4a1aadd74b896db8d60a92cd1140] perf tests shell lib: Use a wildcard to remove the vfs_getname probe testing commit 21316ac6803d4a1aadd74b896db8d60a92cd1140 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 21316ac6803d4a1aadd74b896db8d60a92cd1140 Bisecting: 4 revisions left to test after this (roughly 2 steps) [7057bb975dab827997e0ca9dd92cafef0856b0cc] Merge branch 'perf/urgent' into perf/core, to pick up fixes testing commit 7057bb975dab827997e0ca9dd92cafef0856b0cc with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 7057bb975dab827997e0ca9dd92cafef0856b0cc Bisecting: 2 revisions left to test after this (roughly 1 step) [0d8dd67be013727ae57645ecd3ea2c36365d7da8] perf/headers: Sync new perf_event.h with the tools/include/uapi version testing commit 0d8dd67be013727ae57645ecd3ea2c36365d7da8 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 0d8dd67be013727ae57645ecd3ea2c36365d7da8 Bisecting: 0 revisions left to test after this (roughly 1 step) [33ea4b24277b06dbc55d7f5772a46f029600255e] perf/core: Implement the 'perf_uprobe' PMU testing commit 33ea4b24277b06dbc55d7f5772a46f029600255e with gcc (GCC) 8.1.0 all runs: crashed: WARNING in perf_group_attach # git bisect bad 33ea4b24277b06dbc55d7f5772a46f029600255e Bisecting: 0 revisions left to test after this (roughly 0 steps) [e12f03d7031a977356e3d7b75a68c2185ff8d155] perf/core: Implement the 'perf_kprobe' PMU testing commit e12f03d7031a977356e3d7b75a68c2185ff8d155 with gcc (GCC) 8.1.0 all runs: OK # git bisect good e12f03d7031a977356e3d7b75a68c2185ff8d155 33ea4b24277b06dbc55d7f5772a46f029600255e is the first bad commit commit 33ea4b24277b06dbc55d7f5772a46f029600255e Author: Song Liu Date: Wed Dec 6 14:45:16 2017 -0800 perf/core: Implement the 'perf_uprobe' PMU This patch adds perf_uprobe support with similar pattern as previous patch (for kprobe). Two functions, create_local_trace_uprobe() and destroy_local_trace_uprobe(), are created so a uprobe can be created and attached to the file descriptor created by perf_event_open(). Signed-off-by: Song Liu Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Yonghong Song Reviewed-by: Josef Bacik Cc: Cc: Cc: Cc: Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20171206224518.3598254-7-songliubraving@fb.com Signed-off-by: Ingo Molnar :040000 040000 d1b05479682b2b179e02f165baa5c2a6d1c0ab26 9f21374ca0eec3c5b8eed2f72ac9ae291aafc702 M include :040000 040000 48190c643ff91b26bdd7eca3df707624f73f8d97 e38a73bcf528b8bbefecd30f14d14cfebfa1053b M kernel revisions tested: 22, total time: 5h7m15.487337617s (build: 1h52m26.156324402s, test: 3h9m20.965427804s) first bad commit: 33ea4b24277b06dbc55d7f5772a46f029600255e perf/core: Implement the 'perf_uprobe' PMU cc: ["acme@redhat.com" "daniel@iogearbox.net" "davem@davemloft.net" "jbacik@fb.com" "jolsa@redhat.com" "kernel-team@fb.com" "mingo@kernel.org" "namhyung@kernel.org" "peterz@infradead.org" "rostedt@goodmis.org" "songliubraving@fb.com" "tglx@linutronix.de" "torvalds@linux-foundation.org" "yhs@fb.com"] crash: WARNING in perf_group_attach IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready WARNING: CPU: 0 PID: 2460 at kernel/events/core.c:1651 perf_group_attach+0x3e1/0x550 kernel/events/core.c:1638 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 2460 Comm: kworker/u4:5 Not tainted 4.15.0+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x145/0x1e1 lib/dump_stack.c:53 panic+0x1a9/0x34e kernel/panic.c:183 __warn.cold.8+0x120/0x156 kernel/panic.c:547 report_bug+0x1a3/0x230 lib/bug.c:184 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x1bd/0x460 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1097 RIP: 0010:perf_group_attach+0x3e1/0x550 kernel/events/core.c:1651 RSP: 0018:ffff8800aec07c28 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: ffff880082814340 RCX: 1ffff10015d862a6 RDX: 1ffff100105028a7 RSI: ffff8800aec31420 RDI: ffff880082814538 RBP: ffff8800aec07cc8 R08: ffff88021fff7018 R09: 0000000000000006 R10: ffffed0043ffee01 R11: 0000000000000001 R12: 1ffff10015d80f88 R13: ffffe8ffffc11e90 R14: ffff880082814bc0 R15: ffff8800aec07ca0 add_event_to_ctx kernel/events/core.c:2193 [inline] __perf_install_in_context+0x228/0x2d0 kernel/events/core.c:2320 remote_function+0xff/0x180 kernel/events/core.c:87 flush_smp_call_function_queue+0x185/0x560 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0xe/0x11 kernel/smp.c:192 smp_call_function_single_interrupt+0x10e/0x6b0 arch/x86/kernel/smp.c:295 call_function_single_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:960 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:777 [inline] RIP: 0010:lock_release+0x4ca/0x990 kernel/locking/lockdep.c:3942 RSP: 0018:ffff8800a1c3f320 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: 1ffff10014387e68 RCX: 1ffff100143855dc RDX: 1ffffffff112276d RSI: 0000000000000003 RDI: 0000000000000282 RBP: ffff8800a1c3f448 R08: 0000000000000000 R09: 0000000000000008 R10: 3caf2b0481c4730a R11: ffff8800a1c2a640 R12: ffff8800a1c2a640 R13: 4904c75832a57812 R14: 0000000000000002 R15: ffff8800a1c2a640 rcu_lock_release include/linux/rcupdate.h:249 [inline] rcu_read_unlock include/linux/rcupdate.h:686 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:420 [inline] batadv_nc_worker+0x295/0x7e0 net/batman-adv/network-coding.c:726 process_one_work+0x9a7/0x1910 kernel/workqueue.c:2113 worker_thread+0x212/0x18f0 kernel/workqueue.c:2247 kthread+0x316/0x3d0 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:542 Kernel Offset: disabled Rebooting in 86400 seconds..