public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+43120c2af6ca2938cc38@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
	tiwai@suse.com
Subject: Re: [syzbot] [sound?] INFO: rcu detected stall in snd_timer_user_release (3)
Date: Tue, 30 Apr 2024 07:35:40 +0800	[thread overview]
Message-ID: <20240429233540.4243-1-hdanton@sina.com> (raw)
In-Reply-To: <000000000000fa00a1061740ab6d@google.com>

On Mon, 29 Apr 2024 11:46:30 -0700
> syzbot found the following issue on:
> 
> HEAD commit:    e88c4cfcb7b8 Merge tag 'for-6.9-rc5-tag' of git://git.kern..
> git tree:       upstream
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1039c208980000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git  e88c4cfcb7b8

--- x/sound/core/hrtimer.c
+++ y/sound/core/hrtimer.c
@@ -51,7 +51,8 @@ static enum hrtimer_restart snd_hrtimer_
 
 	guard(spinlock)(&t->lock);
 	if (t->running) {
-		hrtimer_add_expires_ns(hrt, t->sticks * resolution);
+		hrtimer_set_expires(hrt, ktime_add(hrt->base->get_time(),
+						   ns_to_ktime(NSEC_PER_USEC *200)));
 		ret = HRTIMER_RESTART;
 	}
 
--

  reply	other threads:[~2024-04-29 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 18:46 [syzbot] [sound?] INFO: rcu detected stall in snd_timer_user_release (3) syzbot
2024-04-29 23:35 ` Hillf Danton [this message]
2024-04-30  0:21   ` syzbot

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=20240429233540.4243-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+43120c2af6ca2938cc38@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tiwai@suse.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