Messages in this thread Patch in this message | | | From | Hillf Danton <> | Subject | Re: [syzbot] [sound?] INFO: rcu detected stall in snd_timer_user_release (3) | Date | Tue, 30 Apr 2024 07:35:40 +0800 |
| |
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; } --
| |