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 BF86D1991B0 for ; Tue, 16 Jul 2024 12:28:09 +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=1721132889; cv=none; b=D9L4Sb0uE68WElVN/P46UT55n6lLafwYKaNDAK7wWqFBdY4EqjJBl/uhOfB2K7NPNCuK/yCTWgrIClxu/3Ru9/YoAlzVR3wNHUMJKAakGK0OhN3DtLsurpNLSrZ+qZC0wZoYzwVCILuOxKBR5BfDfyDVkuESWH3dH0MZVpjzKWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721132889; c=relaxed/simple; bh=5LnQzjP4eyy+AJZ64BSk8e2kD3eNjs1mmqE2RHKVe9o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j7LPmOtKx+0dv0/NANThOEh2h5FCQxpJxSIrjkUNhzjSNKobPIC2br7IGpf5dsTe4n71be9Odw9RCaSIsIAT7eKg8iRJmLeDDWXakyW0pjL03thgAo8Q+5gPKD250bsPmpn+tuyy7DUjdi+FXd5NABnOeTLVjaRE8evKZHl3MYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Cg69Kzhn; 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="Cg69Kzhn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFDFEC116B1; Tue, 16 Jul 2024 12:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721132889; bh=5LnQzjP4eyy+AJZ64BSk8e2kD3eNjs1mmqE2RHKVe9o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Cg69KzhnxvrulFme8yCv7igH/wzyRNZSte6VQhxN9EwUV3snPmDmhzsy9n62phicV rPSfFJd0rOm7C74p4c26oR97grOIwEII9KNgMa1wfwfRs5XUuasV4HuyXQysqxLGpo nTqzcP2NuInKZmo4pbwnErX4Uoy6KqTz4+BDmF9w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48852: drm/vc4: hdmi: Unregister codec device on unbind Date: Tue, 16 Jul 2024 14:27:37 +0200 Message-ID: <2024071625-CVE-2022-48852-9475@gregkh> X-Mailer: git-send-email 2.45.2 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=1843; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5LnQzjP4eyy+AJZ64BSk8e2kD3eNjs1mmqE2RHKVe9o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnT0nWvvbJTe+Zd3e+6bNGqBvaumKmMShm3VG1sI4PWL bsv01/TEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNp+MewYG5masFNJsH270F6 O1YwiC9KC7fZxjA/UOKScaFSlyQb19qw69rXXQ4JnIgFAA== 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: drm/vc4: hdmi: Unregister codec device on unbind On bind we will register the HDMI codec device but we don't unregister it on unbind, leading to a device leakage. Unregister our device at unbind. The Linux kernel CVE team has assigned CVE-2022-48852 to this issue. Affected and fixed versions =========================== Fixed in 5.15.29 with commit ee22082c3e2f Fixed in 5.16.15 with commit 1ed68d776246 Fixed in 5.17 with commit e40945ab7c7f 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-2022-48852 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/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h 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/ee22082c3e2f230028afa0e22aa8773b1de3c919 https://git.kernel.org/stable/c/1ed68d776246f167aee9cd79f63f089c40a5e2a3 https://git.kernel.org/stable/c/e40945ab7c7f966d0c37b7bd7b0596497dfe228d