bisecting cause commit starting from 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2 building syzkaller on 03f94a45567bcce27a020b2843fc217c568e117a testing commit 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2 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 29dcea88779c856c7dc92040a0c01233263101d4 0adb32858b0bddf4ada5f364a84ed60b196dbcda 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: 19, total time: 3h39m6.132688678s (build: 1h41m52.581434168s, test: 1h52m0.357003852s) 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): bridge0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready 8021q: adding VLAN 0 to HW filter on device bond0 WARNING: CPU: 0 PID: 6783 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: 6783 Comm: ip Not tainted 4.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x145/0x1e1 lib/dump_stack.c:53 panic+0x1a9/0x360 kernel/panic.c:183 __warn.cold.8+0x120/0x154 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: 0000:ffff8801dae07c28 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: ffff8801c5a00cc0 RCX: 0000000000000000 RDX: 1ffff10038b401d7 RSI: ffff8801dae31220 RDI: ffff8801c5a00eb8 RBP: ffff8801dae07cc8 R08: ffff8801c496ee20 R09: 0000000000000008 R10: a84d95014bc12fad R11: ffff8801c496e500 R12: 1ffff1003b5c0f88 R13: ffffe8ffffc11a90 R14: ffff8801c5a00440 R15: ffff8801dae07ca0 add_event_to_ctx kernel/events/core.c:2193 [inline] __perf_install_in_context+0x228/0x2d0 kernel/events/core.c:2320 remote_function+0x101/0x180 kernel/events/core.c:87 flush_smp_call_function_queue+0x188/0x560 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0xe/0x11 kernel/smp.c:192 smp_call_function_single_interrupt+0x113/0x6c0 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_acquire+0x260/0x550 kernel/locking/lockdep.c:3923 RSP: 0000:ffff8801b75078e0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: 1ffff10036ea0f21 RCX: 0000000000000000 RDX: 1ffffffff10e27a5 RSI: ffff8801c496edd8 RDI: 0000000000000286 RBP: ffff8801b75079d0 R08: ffff8801c496edf8 R09: 0000000000000008 R10: 49553cbe1380d98d R11: ffff8801c496e500 R12: ffff8801c496e500 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2d/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:310 [inline] __pud_alloc+0x46/0x1b0 mm/memory.c:4158 pud_alloc include/linux/mm.h:1733 [inline] __handle_mm_fault+0x79d/0x4860 mm/memory.c:4008 handle_mm_fault+0x2c3/0x810 mm/memory.c:4104 __do_page_fault+0x477/0xb60 arch/x86/mm/fault.c:1426 do_page_fault+0xd9/0x6ac arch/x86/mm/fault.c:1501 page_fault+0x4c/0x60 arch/x86/entry/entry_64.S:1261 RIP: 0033:0x7f766be97af0 RSP: 002b:00007ffcb39954b0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..