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 0873A1D531 for ; Wed, 29 May 2024 06:06:38 +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=1716962799; cv=none; b=QK7uI8OWONt/Dk7mKV/w8bRUANn0Eno/gcKrKPIAfCIvDdEJvmC+5UfgRJ+TJbGOd4puV675SVT7kukZFIbQwWvuS1CHFCTjVsPWcqdkL8+uXUnqcZKhu6f/VdcbmsXK3c6YXpxpEA0DlR9CXqDhJuIreadiZehjWYjSl21tJWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716962799; c=relaxed/simple; bh=k2HoP12bZ5oIB3G1kVfTZQt9cBeKD4wm99ei+qWSj0o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k4gTDwLNc7xFUpfS4+fllfY0uAy7lAW5JGG3lKYwxD4a/p3tH9YbTG+hSWHM/r3h1tTmKIuiPFcnsLxeoW42MuSeiSIKmjPNnzlm+YivsIopZsENYcU0MXnuvazbHICsJEs4sME1cPtNW0lTh/7LO68xYamcPX88PguClqz46Ws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2OvzEMox; 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="2OvzEMox" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36F53C2BD10; Wed, 29 May 2024 06:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716962798; bh=k2HoP12bZ5oIB3G1kVfTZQt9cBeKD4wm99ei+qWSj0o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2OvzEMoxleOlnVRsBEVfiKeA3jEZDPRvk//znnMVFNavRcQK1TdmRC2OhDHMSNhKd TYcVF4BCcJBdYhm3EhyxXTpExwUMAZkuV4JYMysSBiKJITFAhck53AHic4P51tlzL+ Ru9PPuL3mbGS0cpQXCjI4Fwuo7SiOCivYQ1bDTYk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36014: drm/arm/malidp: fix a possible null pointer dereference Date: Wed, 29 May 2024 08:06:36 +0200 Message-ID: <2024052935-CVE-2024-36014-bcb7@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=1719; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k2HoP12bZ5oIB3G1kVfTZQt9cBeKD4wm99ei+qWSj0o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlhR19bnT3kYJuV9rfKeCLvDFXuSLf3G7qWv7tcO6v+T YVumd+GjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIywyGBdM69oXv833ut+f3 Or8/CT0Ft2ZpX2dYsPNzRtOno18UTOazHDRN7zlvW5t4FwA= 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/arm/malidp: fix a possible null pointer dereference In malidp_mw_connector_reset, new memory is allocated with kzalloc, but no check is performed. In order to prevent null pointer dereferencing, ensure that mw_state is checked before calling __drm_atomic_helper_connector_reset. The Linux kernel CVE team has assigned CVE-2024-36014 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 8cbc5caf36ef and fixed in 6.10-rc1 with commit a1f95aede628 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-36014 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/arm/malidp_mw.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/a1f95aede6285dba6dd036d907196f35ae3a11ea