From nobody Thu Mar 24 00:10:29 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 05FCE1A40CEA for ; Thu, 24 Mar 2022 00:10:31 +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 4KP5GG0LhDz3qqk for ; Thu, 24 Mar 2022 00:10:29 +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 AA19552FD for ; Thu, 24 Mar 2022 00:10:29 +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 22O0ATDS080349 for ; Thu, 24 Mar 2022 00:10:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22O0AT8c080348 for bugs@FreeBSD.org; Thu, 24 Mar 2022 00:10:29 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: Thu, 24 Mar 2022 00:10:29 +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: New 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=1648080630; 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=6CgKDDHJ/NS+k2xE/jNO+J/pXbDLha+I8Zum2b3cDXQ=; b=ez2taQZdTzvR1T3lbgVn5XdVPvWVyISNzllKWVlbkT8YfoPH8wzz/zIAq3CRHeFjhSodss cYopb5NzletsJmXIgysa7Lg56AeGQSJCNH6VzfOG/tWxwedGEVRAY1PkQme51JApfVq05T hc5GFeeZB3uA3l+OEMUen8ffAzhpVaF2D/Ia9lnrMnlfxabJZmGODqAXWDniXyjZIXnePs zP/KQMSpR+gqhp1E71YrYYSxPywHAGsvtUdHYmQvjgZFPZ10j0P4dRy1+iBBZKZXSaEAR5 0TA1Wz20DEed8dqbJft7n01PzMssCr4+hWjOBUYiiu2tBCA/cHY54rYl0q7lvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648080630; a=rsa-sha256; cv=none; b=VRvaxD8u+d3oKFucFY91+qa4B3vJqalORZx/nB1ZlgOulTHZMeWUEsJCJe9SeXh6CBKkkF +xokv86mUp3Wv1pONLjc3e3DvL+YrWPqMTTkF9gg/Eub4lg7X6Bq05Af1qXvckDv/ldJCS DANdvsOWcykQ9NLFTCANqSnNB2Xlg3cJAPJOWiShbZlchle3ivMQxY0cfOoGA8hyOr/4pj 4Ql9DjsvATkRBL95C3voQCMQ8zK111/PB/8y0VUBjHxdvJFT6wXmO8DUz1uM7YnuglxBpl XHpJH0EdUrrp8a9c/+Bjha6OihOnuEW2PbrcrxpjDPdqysxxUXNBpQ07JltTtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dda03ac41c9bca270b491fcf4bf219c410= 8688a05 commit da03ac41c9bca270b491fcf4bf219c4108688a05 Author: Ed Maste AuthorDate: 2022-03-21 16:15:22 +0000 Commit: Ed Maste CommitDate: 2022-03-24 00:10:00 +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 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.=