From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-95.sinamail.sina.com.cn (mail115-95.sinamail.sina.com.cn [218.30.115.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEF35194C70 for ; Mon, 29 Apr 2024 23:35:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714433752; cv=none; b=XPlYhqlB3nQYzcUqdTYWUHqJ59l20Gn2S6ij4QrtKuA8TTKxT7aOsmVywHnCiFrAe+rHGinvvGMDTxBWIl6neshePazBmQJ1RQ+zJGadcpYD5gOrT8ruXd6T0OfBEgFlviTMFn4vg841vOn/eS24dkUmjkroaoEOj7jpKQ20Cjc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714433752; c=relaxed/simple; bh=SEcWS2mHmTTxTS6hfMC/1gKe0GHL8Q/oFBbfcQXiUnU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MrHL1Oo5KL3CarvI8Q6KRNDsBcgwU1vyulxEGshnP6vn3EuT6QoI7JJHXEzQO/XZWlVw6i6kaWY0dqlxAij2VcYL6pMqz5Hl3sKtEGR0D9QT/f4ya2/LxjomZoE7fdWdUSjDU6VInGCnNxaxKQelzlmjgHQ1r4Y71wk/YJUvfNQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=218.30.115.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([116.24.10.41]) by sina.com (172.16.235.24) with ESMTP id 66302EC700007C73; Mon, 30 Apr 2024 07:35:38 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 17088145089350 X-SMAIL-UIID: D81D12D696E54671BBB1BFC205BA4E20-20240430-073538-1 From: Hillf Danton To: syzbot 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 Message-Id: <20240429233540.4243-1-hdanton@sina.com> In-Reply-To: <000000000000fa00a1061740ab6d@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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; } --