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 4B8FE4315A for ; Thu, 27 Feb 2025 02:18: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=1740622719; cv=none; b=YjNeKJPoR0Zoh7JfACleJDEDpLRDO9Q5T5W+jG4DXUZI3ORo/qk1CUEcgqx5qewu3FwTptMfE8rEI2Vs8V/6b4vOvdrdYO6h/HyNMKqr8BeXcbnqR2MKwyR1yiXIxmH2mDPGrM8NGcBPLTLC372h8KNsKCPqtdYD+8T4z+fPhfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622719; c=relaxed/simple; bh=pqH3HDUF8iaIh3E1MSl2psdVJjrIPwkunm+cv25dqXQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hxc19IcZTIHWYf13WH4Bi/sdGjKHKwtjYDuM06+57OJn6OK4TmEG51Q8zvWXZH5bYeFaM4EfooA7HuS41QX6z3WI9igVStXSH5dbc4V+93soDEA67DlgcH4iKjIRIY8gZVnd73XfM4SdXVsSLL04JHhaZrHVeTkz8P0QQsPu+0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FL4JalCT; 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="FL4JalCT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A81E3C4CED6; Thu, 27 Feb 2025 02:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622718; bh=pqH3HDUF8iaIh3E1MSl2psdVJjrIPwkunm+cv25dqXQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FL4JalCTSK9W2ja5cJs1EyfcCDIR2ZH7TZMI1dvFtIcAvrRiG6LcMMZroOFcOVIza jO83ICX/okL4ctFt1Ld/VvdDkVrwAvUFhCpWi9RB5qAhv1UI7Gm5/zOAEmaAeRofxY P4inz2hGMnwGrh6znQpHU/U2ltlnhSY6VTm6VJeE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-52557: drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get() Date: Wed, 26 Feb 2025 18:17:02 -0800 Message-ID: <2025022602-CVE-2024-52557-506d@gregkh> X-Mailer: git-send-email 2.48.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=2080; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pqH3HDUF8iaIh3E1MSl2psdVJjrIPwkunm+cv25dqXQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T8vxdpXc1V3tJ/3JwNCqY+eyfmXrE+t+TcmfUDl9s ozVnESHjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIRATDPNVvy5YHusd9nG3g uiszbvn+ePnyAwzzE7bvUufQmDWna93aarslR/s3r+8wBwA= 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: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get() This patch fixes a potential integer overflow in the zynqmp_dp_rate_get() The issue comes up when the expression drm_dp_bw_code_to_link_rate(dp->test.bw_code) * 10000 is evaluated using 32-bit Now the constant is a compatible 64-bit type. Resolves coverity issues: CID 1636340 and CID 1635811 The Linux kernel CVE team has assigned CVE-2024-52557 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 28edaacb821c69241f6c0be6bbd29f7145f1b44f and fixed in 6.13.4 with commit 325d889c5403ba20a24097f64c32d27ab993c2c3 Issue introduced in 6.13 with commit 28edaacb821c69241f6c0be6bbd29f7145f1b44f and fixed in 6.14-rc1 with commit 67a615c5cb6dc33ed35492dc0d67e496cbe8de68 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-52557 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/xlnx/zynqmp_dp.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/325d889c5403ba20a24097f64c32d27ab993c2c3 https://git.kernel.org/stable/c/67a615c5cb6dc33ed35492dc0d67e496cbe8de68