From mboxrd@z Thu Jan 1 00:00:00 1970 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 3E27513C689 for ; Fri, 21 Jun 2024 10:24:31 +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=1718965471; cv=none; b=OYEenD+UnciHxgu7teU0Wzoaoei4kSdrKj/SlNsJlKY2P/FWxE5kHgiKafC0lqNUZN68bOETYEfY2EjK/koLSEMWVAlvVNro8gqLoBmHA7Vb4vcm7K+2d8TM9s6kmFyV+q82QiMGM4MHV5OJ7kN5N5m+kZOuP5L86siKVW6gAoQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718965471; c=relaxed/simple; bh=C/rkAnOsCbGvlF8AFmZx1J3s3G1yD4twdhbKCOj9YdY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ioEGLBRAk3VXYNoSyCwiOJNmssxgvG5w9lL4+4Z6fhH1+XWrXjQJG4Ebh14yla0/NI2shQrtxOFpHFCbbB8O5Rc6QNKxG+a29iF5jEvH03kRiFkuPWRNftPDSIv3KCRZeSMZDL8YwVbI67kFhBiAVssIcKyeObl7OXTT3BpZ960= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GxX5hghW; 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="GxX5hghW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B930BC32781; Fri, 21 Jun 2024 10:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718965471; bh=C/rkAnOsCbGvlF8AFmZx1J3s3G1yD4twdhbKCOj9YdY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GxX5hghW4FptaFLYoARIf6N1R4PnoeXt542VRH6ap2aKIR2o3uDZhLFYljKVnGIlc VAVINmx4S5k//312zuvMsA57KcM1ONAAKHlBu2KKyC24UvrOI8zwGywkHD3IPhQYfj LTWgrxIlgc+F2LkNvglqy/dnivRPW/O7FiiOrhoM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38622: drm/msm/dpu: Add callback function pointer check before its call Date: Fri, 21 Jun 2024 12:19:48 +0200 Message-ID: <2024062139-CVE-2024-38622-a164@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=2187; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C/rkAnOsCbGvlF8AFmZx1J3s3G1yD4twdhbKCOj9YdY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmlwbsnrVjBI1uv3J86e4+j/NN9VrbLzWLm8czQ4dkk9 OPJNBuPjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI2UmGWcyKT//tihK7ZXL9 qt/BLc/eBa1f+Jphfv6xvi4LxuMb8u8vOZZ4K+/B+qzqeQA= 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/msm/dpu: Add callback function pointer check before its call In dpu_core_irq_callback_handler() callback function pointer is compared to NULL, but then callback function is unconditionally called by this pointer. Fix this bug by adding conditional return. Found by Linux Verification Center (linuxtesting.org) with SVACE. Patchwork: https://patchwork.freedesktop.org/patch/588237/ The Linux kernel CVE team has assigned CVE-2024-38622 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit c929ac60b3ed and fixed in 6.6.33 with commit 873f67699114 Issue introduced in 5.19 with commit c929ac60b3ed and fixed in 6.9.4 with commit 9078630ed7f8 Issue introduced in 5.19 with commit c929ac60b3ed and fixed in 6.10-rc1 with commit 530f272053a5 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-38622 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/msm/disp/dpu1/dpu_hw_interrupts.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/873f67699114452c2a996c4e10faac8ff860c241 https://git.kernel.org/stable/c/9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f https://git.kernel.org/stable/c/530f272053a5e72243a9cb07bb1296af6c346002