[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240429233540.4243-1-hdanton@sina.com>
Date: Tue, 30 Apr 2024 07:35:40 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+43120c2af6ca2938cc38@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com,
tiwai@...e.com
Subject: Re: [syzbot] [sound?] INFO: rcu detected stall in snd_timer_user_release (3)
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;
}
--
Powered by blists - more mailing lists