From nobody Wed Mar 30 20:45:22 2022 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 5CFDB1A3B15F for ; Wed, 30 Mar 2022 20:45:23 +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 4KTJNL4bnnz4SYw for ; Wed, 30 Mar 2022 20:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7BCFC1A3C7 for ; Wed, 30 Mar 2022 20:45:22 +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 22UKjMQj003002 for ; Wed, 30 Mar 2022 20:45:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22UKjMwu003001 for bugs@FreeBSD.org; Wed, 30 Mar 2022 20:45:22 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 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl Date: Wed, 30 Mar 2022 20:45:22 +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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648673122; 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=/f80YkTOOVL0eXgk6bYr7Xog24RsdHt038aXTfu+pp0=; b=nAaGvUDyOl6smGBJwxsDMWxu2IWnSvfLrT3pyDRfbIhQUMABgfle6vicWi3oaCLv32J+gq E0WrZSWteG4WxPsihwPx6GBSJbyeJT2d+XhA48zq9oihFaizHIXmucy5sGBwQdQcjiI6Jf vNvKdP0UlgNEvLb4GDDBufs8yL2ZklbYu3GCOz6JcgcJ2A9lOA1b+Mgd4FCCPaDHriXfxt SU+LzhIm7CfyYoni666evir2dv221wRrYyHTDNdgAqLppLiXQ1wb4y2YOjFdJKb5JTkN1S k5U8Ng2lwJrCZkoXFtM7JA66BZy2MfwqACDQmTtgVQ9I+8efLe5Co5vKxcCpqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648673122; a=rsa-sha256; cv=none; b=AU+8JtpNERirWZ6o798VbnT2LMAaxj3+Bk4U3K2QvQRHUcnNR3BxadZeaePJf3c4s1A9al 02q+d3d6KzdDvafsdNk/RA9rmbEsCXVbbdUW0IJ1aN+nHi8G6Hl7Zh9eDcczTnFOaiLWvO UVNtNItBFYHXEwJWjksFw3RnF7uWPcEpwLJ8ht/mqfk/2ZQx+gj6O/nU3Wcce0YVw7HraZ fdxjINQev+YByD1nyeH6/dcew7iF/Ptt3aVBuyEQM2GbAlE2UWvKLWj7xjO4cPF7aq74zI BC7FDmv83awf3tmrPw08vVAG3e2PgS9FetqIEWcoXRYhBJwe2SOPsM6wDoMwZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671 --- Comment #16 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D74f11a40f8e4e1b3ae254edf499d46715= 3242ce9 commit 74f11a40f8e4e1b3ae254edf499d467153242ce9 Author: Ed Maste AuthorDate: 2022-03-21 16:15:22 +0000 Commit: Ed Maste CommitDate: 2022-03-30 20:43:57 +0000 sound: test PCM_REGISTERED before PCM_DETACHING PCM_REGISTERED(d) tests that d is not NULL, so perform that check first as we may have cases where devclass_get_softc has a null entry. PR: 262671 Reviewed by: hselasky MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34648 (cherry picked from commit da03ac41c9bca270b491fcf4bf219c4108688a05) sys/dev/sound/pcm/mixer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=