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 22CE615FA78 for ; Fri, 12 Jul 2024 12:21:26 +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=1720786886; cv=none; b=RKJFCXN7N7unmAJ6h0FUZzUKveFvd7EqF50zV5f4aSodr2Mk6TEQkpC8tVsC2LyYuYt2xQm0Y014g5jhzjmh8Mk/ZacTGoj5KTzNIQ5CCR8ZECMjdKJUc1LqrfCtKNAUxjUs+oQX84RLhcdW7Yro+IQQNLDQ6W3yxBVfFl//yGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720786886; c=relaxed/simple; bh=0XpChbryNpldex79zuD1Ti6wq2R8genlJyaGEns0vYE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dKvwTE5iaShCadCzr4JtT/Ub9Ti7yEdabdt12EEaY23SDQDZj+R+RAfFOcnaC02i8C7m1oxAZRpev92C8+t5CWx9ulwxukLjzCvfJJrjnBqSF+qIcT0VW46e9RVDxe6Nw7fJaq50ldYy3a6W4jN841iHD9jQfGv5lUda5mP1A98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PUsaWuAM; 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="PUsaWuAM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92BB2C32782; Fri, 12 Jul 2024 12:21:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720786886; bh=0XpChbryNpldex79zuD1Ti6wq2R8genlJyaGEns0vYE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PUsaWuAMN+zTAu8YgcN60raClXPH7Yzcx1aA0FypvY0iC7KCZOX3QwSmXRKP9v1Vr q6HOxtRvUvo0OoXlcfZJfTZBPcpVTEOp2WvZ4uc3dBQNdTnIgjgx8New4rClZpkdd6 2Rj3ZElua7gnA5mc3beG0ZMppz5vC1dx5hjSjXuk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39505: drm/komeda: check for error-valued pointer Date: Fri, 12 Jul 2024 14:21:11 +0200 Message-ID: <2024071205-CVE-2024-39505-8e03@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=2669; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0XpChbryNpldex79zuD1Ti6wq2R8genlJyaGEns0vYE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkT5TfOeVgTr8bTdrTpi/6vO2/L02XD51hsPew6d26u0 5yAz8dvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEco8yLGjrW3RJflmN4NYr wsyzeH33Rv93vckwP2T29UbTz9fPR/y/FLbhu/DBWJbTOQA= 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/komeda: check for error-valued pointer komeda_pipeline_get_state() may return an error-valued pointer, thus check the pointer for negative or null value before dereferencing. The Linux kernel CVE team has assigned CVE-2024-39505 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 502932a03fce and fixed in 5.4.279 with commit 0674ed1e58e2 Issue introduced in 5.3 with commit 502932a03fce and fixed in 5.10.221 with commit bda7cdaeebf5 Issue introduced in 5.3 with commit 502932a03fce and fixed in 5.15.162 with commit 86042e3d16b7 Issue introduced in 5.3 with commit 502932a03fce and fixed in 6.1.95 with commit 3b1cf943b029 Issue introduced in 5.3 with commit 502932a03fce and fixed in 6.6.35 with commit 9460961d8213 Issue introduced in 5.3 with commit 502932a03fce and fixed in 6.9.6 with commit 99392c98b9be Issue introduced in 5.3 with commit 502932a03fce and fixed in 6.10-rc4 with commit b880018edd3a 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-39505 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/display/komeda/komeda_pipeline_state.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/0674ed1e58e2fdcc155e7d944f8aad007a94ac69 https://git.kernel.org/stable/c/bda7cdaeebf57e46c1a488ae7a15f6f264691f59 https://git.kernel.org/stable/c/86042e3d16b7e0686db835c9e7af0f9044dd3a56 https://git.kernel.org/stable/c/3b1cf943b029c147bfacfd53dc28ffa632c0a622 https://git.kernel.org/stable/c/9460961d82134ceda7377b77a3e3e3531b625dfe https://git.kernel.org/stable/c/99392c98b9be0523fe76944b2264b1847512ad23 https://git.kernel.org/stable/c/b880018edd3a577e50366338194dee9b899947e0