Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B8A1F446B4 for ; Tue, 21 May 2024 15:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305910; cv=none; b=agC0yHWqHnxcpCYbtZFxszKD1FJ4RyuHZk+ZeW/HL9meX7eSYOnIlInrV3rERXVNrjE5Qb0n4M+Kew7DX33tcWWz5VHipawF1oZoxXietUjy4+PV9hLeW1gbysK5RJS7XQYHG4+9crYBdoF51194U3qPmvln5c4VzdWBXJEzT9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305910; c=relaxed/simple; bh=CviKsNg0167Z4WV/jcWxjOP4H/suFedmkuSymTFtpoU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MjRA87ipIaHqewx05E9JNy3cDpNoLSQolk63XTFexysqAvjtBR7eCFBFdORAYjT1cWzmxwXBZystxxUV+qO78c0ARXdOIRNYzpzvw679PoncpqM31INzwCR0vtUSlpkTGfOXQSETBZaegJPzTjmVR6up2+l1FeIc4M/iaO+5eo4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZKikhuV+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZKikhuV+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 404E8C2BD11; Tue, 21 May 2024 15:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305910; bh=CviKsNg0167Z4WV/jcWxjOP4H/suFedmkuSymTFtpoU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZKikhuV+k6hZPS260E1553fKuOeHeoOvCG0q1NXMAb6o8oKdvE4dZ61zjy7qZ6CUT 0o7VXoOUcWGqNBQbhYHEexvN+Fwcnf3DXBdQc8+rhd2N5ONpwJkc3c5gEsU+YcCnp2 YT64MOIu8eYPlDRG4PUqd3fIA7JLSgjUn9GZeDHY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52850: media: hantro: Check whether reset op is defined before use Date: Tue, 21 May 2024 17:32:26 +0200 Message-ID: <2024052114-CVE-2023-52850-d1a1@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2400; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CviKsNg0167Z4WV/jcWxjOP4H/suFedmkuSymTFtpoU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++5zyaqsmyXQ/mfKIo+h71Jm9bZm6h49pPGTnelH35 I/Q+n8POmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAibH8Y5id6rpZP+hZTaHlu PdeD9JNHbnx/pMAwPzBk4sEpx8/WZnLmesayzHn0ME0nFgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: media: hantro: Check whether reset op is defined before use The i.MX8MM/N/P does not define the .reset op since reset of the VPU is done by genpd. Check whether the .reset op is defined before calling it to avoid NULL pointer dereference. Note that the Fixes tag is set to the commit which removed the reset op from i.MX8M Hantro G2 implementation, this is because before this commit all the implementations did define the .reset op. The Linux kernel CVE team has assigned CVE-2023-52850 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 6971efb70ac3 and fixed in 6.1.63 with commit 64f55cebb433 Issue introduced in 5.18 with commit 6971efb70ac3 and fixed in 6.5.12 with commit 66b4c5f980d7 Issue introduced in 5.18 with commit 6971efb70ac3 and fixed in 6.6.2 with commit 24c06295f283 Issue introduced in 5.18 with commit 6971efb70ac3 and fixed in 6.7 with commit 88d4b23a629e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-52850 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/media/platform/verisilicon/hantro_drv.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/64f55cebb4339ae771e9e7f3f42bee2489e2fa00 https://git.kernel.org/stable/c/66b4c5f980d741f3a47e4b65eeaf2797f2d59294 https://git.kernel.org/stable/c/24c06295f28335ced3aad53dd4b0a0bae7b9b100 https://git.kernel.org/stable/c/88d4b23a629ebd34f682f770cb6c2116c851f7b8