From nobody Thu Mar 31 00:32:11 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 188721A3F51F for ; Thu, 31 Mar 2022 00:32:13 +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 4KTPQ40zWmz4ZYj for ; Thu, 31 Mar 2022 00:32:12 +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 9AFCE1D998 for ; Thu, 31 Mar 2022 00:32: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 22V0WBht021461 for ; Thu, 31 Mar 2022 00:32:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22V0WBFn021460 for bugs@FreeBSD.org; Thu, 31 Mar 2022 00:32: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 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl Date: Thu, 31 Mar 2022 00:32: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 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=1648686732; 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=CIkFKf9+4lK7Kj8DA9ggdx+mexuJKkuBUG5kRAG9jl0=; b=jbYS8hWv+tU6DXwAJHT5mfmADfWa2BS3bPq+mckB3hhtdYwi4KnNRPmwph4ABxhDnQb6BY GSsMosNYmZcxmjoa2n5BasZqc04NtCg2qJfhnpXEkmCTCceycf+nfQIZmSIxRKfuJQcZ6i 6eEwKAv6RE+hPBZ+U/rC91R6/igqPtQpjDgqdCjPkcMACXC9A0KQpsLT0iJXCBVpA6c60U l0QzJ6DaU7607e2Pc2SjzMGVOtM4lKtl1s3325VQLrXMRkF7WbnJJsz2RyodgC07nhvCFe ADi5SdMUDv9vETkjsWXADX1j08Bp3G3+SpucrcEGNH9q90HEgCsLqbvNHvCLJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648686732; a=rsa-sha256; cv=none; b=Cb5DxD8lA5tRQTCkmL64mClfM2NZOkL0hs4KwIoU7s6AAX0gB6+ZfXvepHFo6Vuq9c8hp7 JjVDkZS/BV29VMhwSAKJvMwD40DsOWdZN5yhEhHUhTwaY+jg+gBjFGROVTtaOi/sSerq2Z EUzcyAHwzgY963kQUAaYq3Dp2gCiQux2yz2Qha2Olhas4NqOmmsvp6GSSf/LP8YFJzCf7K 64+9FttkoRmzeSlI97T5V+2xywQAdHWRSKFKQ6gd8/2q9tlBbuQKjh2Kx8GYBL0g+KOkBs xXEJYJLW1dmODp5sGkpWNKCgnGm/8UDdrtUh/W0ljoqupEW1wCHvV72uQNkNoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Daeb4214375b7197ccc7c6ad9b2bc31855= 45eaf8e commit aeb4214375b7197ccc7c6ad9b2bc3185545eaf8e Author: Ed Maste AuthorDate: 2022-03-21 16:15:22 +0000 Commit: Ed Maste CommitDate: 2022-03-31 00:31:44 +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.=