public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Xingyu Li <xli399@ucr.edu>,
	anna-maria@linutronix.de, frederic@kernel.org,
	linux-kernel@vger.kernel.org, Yu Hao <yhao016@ucr.edu>,
	Tejun Heo <tj@kernel.org>
Subject: Re: BUG: INFO: trying to register non-static key in call_timer_fn
Date: Mon, 02 Sep 2024 11:26:26 +0200	[thread overview]
Message-ID: <87cylm76f1.ffs@tglx> (raw)
In-Reply-To: <CALAgD-5cKJnWRsS_2rjL1P9pC0dbNX66b8x09p=DUx1kD+p6PQ@mail.gmail.com>

On Wed, Aug 28 2024 at 17:16, Xingyu Li wrote:
> We found a bug in Linux 6.10 using syzkaller. It is possibly a
> corrupted list  bug.
> The reproducer is
> https://gist.github.com/freexxxyyy/4c465c7d81957779d8bdea44f6cb8977

Again. Without exact kernel version, config and reproduction
instructions this is not really helpful.

> The bug report is:
>
> Syzkaller hit 'INFO: trying to register non-static key in call_timer_fn' bug.
>
> INFO: trying to register non-static key.
> The code is fine but needs lockdep annotation, or maybe
> you didn't initialize this object before use?

That's simply not possible.

> list_add corruption. prev is NULL.

> Call Trace:
>  <IRQ>
>  __list_add_valid include/linux/list.h:88 [inline]
>  __list_add include/linux/list.h:150 [inline]
>  list_add_tail include/linux/list.h:183 [inline]
>  insert_work+0x114/0x320 kernel/workqueue.c:2212
>  __queue_work+0xb61/0xce0 kernel/workqueue.c:2360
>  queue_work_on+0x18a/0x2d0 kernel/workqueue.c:2411

So that looks similar to the other unexplainable report

  https://lore.kernel.org/all/CALAgD-7TsMdA7rjxfpheXc=MNqikEXY9TZNxJt4z9vm6Yfs5qQ@mail.gmail.com

and smells like memory corruption of some sort, which then triggers
non-sensical issues in other code.

Thanks,

        tglx

  reply	other threads:[~2024-09-02  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29  0:16 BUG: INFO: trying to register non-static key in call_timer_fn Xingyu Li
2024-09-02  9:26 ` Thomas Gleixner [this message]
2024-09-02 22:56   ` Xingyu Li

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=87cylm76f1.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=anna-maria@linutronix.de \
    --cc=frederic@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=xli399@ucr.edu \
    --cc=yhao016@ucr.edu \
    /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