public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+d5e61dcfda08821a226d@syzkaller.appspotmail.com>
To: richard120310@gmail.com
Cc: richard120310@gmail.com, syzkaller-bugs@googlegroups.com,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] timerqueue: Fix uninit value
Date: Sat, 05 Apr 2025 00:12:42 -0700	[thread overview]
Message-ID: <67f0d7ea.050a0220.0a13.022e.GAE@google.com> (raw)
In-Reply-To: <20250405071234.16795-1-richard120310@gmail.com>

> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1e1ba8d23dae

This crash does not have a reproducer. I cannot test it.

>
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
> ---
>  include/linux/timerqueue.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/timerqueue.h b/include/linux/timerqueue.h
> index d306d9dd2207..a42fdc83f694 100644
> --- a/include/linux/timerqueue.h
> +++ b/include/linux/timerqueue.h
> @@ -30,6 +30,8 @@ struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head)
>  static inline void timerqueue_init(struct timerqueue_node *node)
>  {
>  	RB_CLEAR_NODE(&node->node);
> +	node->node.rb_right = NULL;
> +	node->node.rb_left = NULL;
>  }
>  
>  static inline bool timerqueue_node_queued(struct timerqueue_node *node)
> -- 
> 2.43.0
>

           reply	other threads:[~2025-04-05  7:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20250405071234.16795-1-richard120310@gmail.com>]

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=67f0d7ea.050a0220.0a13.022e.GAE@google.com \
    --to=syzbot+d5e61dcfda08821a226d@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard120310@gmail.com \
    --cc=syzkaller-bugs@googlegroups.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