public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] timerqueue: Fix uninit value
       [not found] <20250405071234.16795-1-richard120310@gmail.com>
@ 2025-04-05  7:12 ` syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2025-04-05  7:12 UTC (permalink / raw)
  To: richard120310; +Cc: richard120310, syzkaller-bugs, linux-kernel

> #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
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-05  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250405071234.16795-1-richard120310@gmail.com>
2025-04-05  7:12 ` [PATCH] timerqueue: Fix uninit value syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox