Linux Trace Kernel
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Zw Tang <shicenci@gmail.com>
Cc: mingo@redhat.com, Arnaldo Carvalho de Melo <acme@kernel.org>,
	namhyung@kernel.org, linux-perf-users@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <mhiramat@kernel.org>
Subject: Re: [BUG] WARNING in __perf_event_account_interrupt (kernel/events/core.c:2797)
Date: Tue, 3 Mar 2026 15:35:07 +0100	[thread overview]
Message-ID: <20260303143507.GB3698720@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <CAPHJ_VLapzvWHz_ot4uvxSJ_Z3ubtCCp=_ZVReh7KAwjxu5uFQ@mail.gmail.com>

On Tue, Mar 03, 2026 at 08:37:54PM +0800, Zw Tang wrote:
> Hi,
> 
> I am reporting a WARNING triggered by a syzkaller reproducer on Linux 7.0.0-rc1.
> 
> The kernel hits a WARN in perf events interrupt accounting:
> 
> WARNING: kernel/events/core.c:2797 at __perf_event_account_interrupt+0x485/0x530
> 
> It is triggered from the perf overflow path while closing a perf_event
> fd created for a tracepoint (PERF_TYPE_TRACEPOINT). The call trace

Could you try -rc2, I suspect that commit:

  c9bc1753b3cc ("perf: Fix __perf_event_overflow() vs perf_remove_from_context() race")

will have also fixed this.

      reply	other threads:[~2026-03-03 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03 12:37 [BUG] WARNING in __perf_event_account_interrupt (kernel/events/core.c:2797) Zw Tang
2026-03-03 14:35 ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260303143507.GB3698720@noisy.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=acme@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=shicenci@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox