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 A3FBE1D0F79 for ; Tue, 19 Nov 2024 17:45:39 +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=1732038339; cv=none; b=GG2XzHMUb04MvEiUF8BprXdt/ekyecEjjhO2/loNHtAxAS6qYY3SpLW81nhchdEy88FCLCKfrjH4nqNBd3JDakCgEajwHmX8DOKXrZonXlObOPaJZYpcgQoXKqa44SvXCMxkmmKPMa2tp4kPHB+ogjaL1WdyzD7lYqWvMTbHpac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732038339; c=relaxed/simple; bh=voFZjO+bc25bpeVK7j8ig7nd3ck/bvUJPWHT3315uWA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nkQgpFDQzI5fB5nvvo7uoHaw6JFZOdtMCv4rPOgrztu4D7pNYSO4HUnz6siPownGvtj29txPQCzv+2/wr8UcLgquzJPlJMeTHyiF+KcRo6DkPIaj+09jcuphX6CaHONjXmwvyaK91L1qP5i9ekEkPfgRp15AVX5YBzC4EKyNWi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F2sx4yIH; 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="F2sx4yIH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C85CC4CECF; Tue, 19 Nov 2024 17:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732038339; bh=voFZjO+bc25bpeVK7j8ig7nd3ck/bvUJPWHT3315uWA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=F2sx4yIHxuZBYD+BZhsyUTenjAyGF0Rds7noJZmuZs0EpMtt4vEppM+sAw5PWGu4/ 9zQuJI6yQ4SqGPpRde52MvZN97rQSRMnfxg6lSgH2R3XBzvXo68FvJU3smKHMw1QYh 0E0GARuyshGI+8X7+hqkpczbBIoLNiA/BdasKSow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53081: media: ar0521: don't overflow when checking PLL values Date: Tue, 19 Nov 2024 18:45:01 +0100 Message-ID: <2024111904-CVE-2024-53081-72b5@gregkh> X-Mailer: git-send-email 2.47.0 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=2206; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=voFZjO+bc25bpeVK7j8ig7nd3ck/bvUJPWHT3315uWA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk25xYweS1Ynrq04kiX7a+oZMYHU2T81urVy7xZ92LRv Vb2e+XRHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRVWsZZrP9eqfivGTJFZ4r DzU0pGcGtv5buZ9hrsBb8+8lgl3a58x1HM9/4jghWystBwA= 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: media: ar0521: don't overflow when checking PLL values The PLL checks are comparing 64 bit integers with 32 bit ones, as reported by Coverity. Depending on the values of the variables, this may underflow. Fix it ensuring that both sides of the expression are u64. The Linux kernel CVE team has assigned CVE-2024-53081 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 852b50aeed15 and fixed in 6.1.117 with commit 5e1523076acf Issue introduced in 6.0 with commit 852b50aeed15 and fixed in 6.6.61 with commit a244b82d0ae6 Issue introduced in 6.0 with commit 852b50aeed15 and fixed in 6.11.8 with commit 97ed0c0332d5 Issue introduced in 6.0 with commit 852b50aeed15 and fixed in 6.12 with commit 438d3085ba5b 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-53081 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/media/i2c/ar0521.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/5e1523076acf95b4ea68d19b6f27e6891267cc24 https://git.kernel.org/stable/c/a244b82d0ae60326901f2b50c15e3118298b7ecd https://git.kernel.org/stable/c/97ed0c0332d5525653668b31acf62ff1e6b50784 https://git.kernel.org/stable/c/438d3085ba5b8b5bfa5290faa594e577f6ac9aa7