From nobody Tue May 21 17:54:11 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkMWR4pwmz5LtnN for ; Tue, 21 May 2024 17:54:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkMWR1wRgz4rd6 for ; Tue, 21 May 2024 17:54:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716314051; a=rsa-sha256; cv=none; b=Couos/PQplpwuXndqxnNBhl2ViquM7Jpm7arz4Tjy5YkXo6TNibl6cCuAoqozCU4OWvcFG WxfJSxKmFkb7fqfTyeQPpo2rZ3kE6JsJmXEDVnWBffxu5WHcLciHOHuIKiywPk5YiR/YfB dHPfn7NDie2asaG0b3P+b7Hj4kRmdiDNRnFV8FwMKuEtotxYvm4ChFj8G71xeTWG5yA9Uz tSOYyjZLCAid13YE5/WO02OJXPS9hzVJXONFwpCotLXqSD7HlUYExuqfB1bvV0o1zXRNcQ bN8bK4+FWTEj+Cjd19aQjhUJBI2c8oFuZdAFmrPnlask6WotWUexpphKkmB4ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716314051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2x85bePTg19SCkAVtgJ5E6AfvIND011EoNvavWP7bdA=; b=TGAFhUAqpOWxazchiszK7Ar9OpG508Vyq44qSpEqtnxZyqj5T1fJfYGgxjKWjD77Ln0AHa D4pEEKl7xWuYbhrAsu7CZ59IEd3DOrAeBs2W6c9p73eUY/lW1uuD13ne9goq2K891PzqFR yJPoluvoKrUs8N8oLGSZ6FCSXgo6727KYG8yMr52Z6iDqh6s3Kw3ZIDPXZ0Fs8VdMd9YIv z8jgr6+K9e1ehsGLupFSrw9GSDC2cswn4lobWczdFZCPJZcGQATvyGpR7kgobhpjqAezNj mgTxNBZj5ZJcZ3IIfzYDQpTOvrvm1oamBCuZmm0hxJG86FrB51OeNy2jWk02Cw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VkMWR1VXvzXP0 for ; Tue, 21 May 2024 17:54:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44LHsBCX049540 for ; Tue, 21 May 2024 17:54:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44LHsBNk049531 for bugs@FreeBSD.org; Tue, 21 May 2024 17:54:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266144] bug in sndstat_unpack_user_nvlbuf() Date: Tue, 21 May 2024 17:54:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266144 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D45feaa73c68011bbba647d1eb6f86a166= a0453e9 commit 45feaa73c68011bbba647d1eb6f86a166a0453e9 Author: Christos Margiolis AuthorDate: 2024-05-20 14:18:33 +0000 Commit: Christos Margiolis CommitDate: 2024-05-21 17:45:55 +0000 sound: Correctly check nvlist_unpack() error The current check is never false and if nvlist_unpack() fails, we might panic later down the road. PR: 266144 Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: dev_submerge.ch, emaste Differential Revision: https://reviews.freebsd.org/D45237 (cherry picked from commit 64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a) sys/dev/sound/pcm/sndstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=