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 7D76614B07B for ; Wed, 19 Jun 2024 13:38:03 +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=1718804283; cv=none; b=aAK7SdW+rG7u68kXIJkG10XN6Wm4py4hPDL/W4wb1abHfwfcIlVPezfnBL1zirFR1uAWWhtdWEBvUyM6bX2FcYb6gvOx5IksYrzzkRZUo21eKd1PW5+lfxgxSApYEQuW6aflItULE7sPg1B5duJMkMGXI/2YsVD/p/s2mrl5GRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804283; c=relaxed/simple; bh=C6AQgq2O0chwiihTW5hPDWlIob824bucHE8HxjeOL54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BTEUS7XaPViIMn14069uAtZc60KyvoZr+S4VplzJUz7DTy+/yqEnQ8Yilcu8bgD0jZej/MLWC/kbr0J3Maz9tGpmmmqLyA4K/fk1CWYPwKkIf29eqbRxHfSl4kaIcARHadV/bRsG67sV5RfQn9VYwnYqdEewqJwwO+QSFnRUOUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TLRf0Q92; 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="TLRf0Q92" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 015D4C2BBFC; Wed, 19 Jun 2024 13:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804283; bh=C6AQgq2O0chwiihTW5hPDWlIob824bucHE8HxjeOL54=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TLRf0Q92MxSbC+3SHo8nb17dS1y1tjXXCIjiv4QS4UCK+02mt033l4djrN0t5Hodr CXuGyz4nti9KFiHCPQiN+fiAx2AENb9G3Dw3zD/jIcBhBmS+OrQ9QPNPXsjABaYFQz 6QNrJ0z0WWJrs9kOXRcW/wMQKjHgzjyPzsR2hDis= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38546: drm: vc4: Fix possible null pointer dereference Date: Wed, 19 Jun 2024 15:35:55 +0200 Message-ID: <2024061949-CVE-2024-38546-ce19@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=2707; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C6AQgq2O0chwiihTW5hPDWlIob824bucHE8HxjeOL54=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlF97aWiC493uJYVcLW7yh59uRMZrZ1gi3Mma8Z0qQb/ T2khQs7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLPVjIs2ByqO7PKk5FFJK9e Sa/ItJTFZ+oshgVrGr/qb/uSfNJ74un1HV3emitafScAAA== 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: Fix possible null pointer dereference In vc4_hdmi_audio_init() of_get_address() may return NULL which is later dereferenced. Fix this bug by adding NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2024-38546 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit bb7d78568814 and fixed in 5.10.219 with commit 2d9adecc88ab Issue introduced in 4.12 with commit bb7d78568814 and fixed in 5.15.161 with commit 6cf1874aec42 Issue introduced in 4.12 with commit bb7d78568814 and fixed in 6.1.93 with commit 80431ea3634e Issue introduced in 4.12 with commit bb7d78568814 and fixed in 6.6.33 with commit 42c22b63056c Issue introduced in 4.12 with commit bb7d78568814 and fixed in 6.8.12 with commit 2a345fe928c2 Issue introduced in 4.12 with commit bb7d78568814 and fixed in 6.9.3 with commit bd7827d46d40 Issue introduced in 4.12 with commit bb7d78568814 and fixed in 6.10-rc1 with commit c534b63bede6 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-2024-38546 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 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/2d9adecc88ab678785b581ab021f039372c324cb https://git.kernel.org/stable/c/6cf1874aec42058a5ad621a23b5b2f248def0e96 https://git.kernel.org/stable/c/80431ea3634efb47a3004305d76486db9dd8ed49 https://git.kernel.org/stable/c/42c22b63056cea259d5313bf138a834840af85a5 https://git.kernel.org/stable/c/2a345fe928c21de6f3c3c7230ff509d715153a31 https://git.kernel.org/stable/c/bd7827d46d403f8cdb43d16744cb1114e4726b21 https://git.kernel.org/stable/c/c534b63bede6cb987c2946ed4d0b0013a52c5ba7