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 7EA581AC42B for ; Thu, 27 Mar 2025 16:43: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=1743093819; cv=none; b=lhY4/Ei/RWd7Kip7OVLrIg2+bdgPSYk9DFSNyswXRl90VJ/Q7S9sTVSqgPBC5jhDSsfHa0K8yG4Z23SE/x8A3We8e1AXwXyiYPEa3c1cNgFnD/GyNgWfZrqACic4uMeJQwFm+uMSwAQXc8nFyjW2HK8+EXgom/Vb7VKkIJki3ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093819; c=relaxed/simple; bh=fGf9lvnqz6Bm25t/0uryyxTZijlHPNkvMC55KtIrDi4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tsqvt37kp1KSYB0yOmkyJb57AdedEd5zzE26oB4sYbosvmmnyhtUJhOdcLTWAADhWpntj4XRjqkpt9/5j9IM8c3cgil2kaUSP1ygoGO+sFM7hiTlTGpS4T96e1mbc1dJPga0lgh7o/6WTZAGMZq3r0SoKQFxwJRsx8BLZm73ECk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QOmPMuUf; 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="QOmPMuUf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D80AAC4CEDD; Thu, 27 Mar 2025 16:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093819; bh=fGf9lvnqz6Bm25t/0uryyxTZijlHPNkvMC55KtIrDi4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QOmPMuUfSsUQZMyEAG0aE9QvE0/rnhbnZ/AftxdFoBw/LDlMrA7Nh939rMc1rkdbI d1O2dbAfMt5Ii06G4Mm4I4+O486/Fz7qQUCWsU37fLp/Ky9GLaGxm+smK9Xl1PkOH5 mzFhqJRgj6mhiBaz2ZFntacdGQeMw120ibsGbXKs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49750: cpufreq: CPPC: Add u64 casts to avoid overflowing Date: Thu, 27 Mar 2025 17:43:08 +0100 Message-ID: <2025032700-CVE-2022-49750-743d@gregkh> X-Mailer: git-send-email 2.49.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=1719; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fGf9lvnqz6Bm25t/0uryyxTZijlHPNkvMC55KtIrDi4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPG0SUX/mFlbjNq1K1a+wq3f16eaxW7vVvHrLNSx4r7 ll1VmF9RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk2yGGeYoqFybu5N/69OZu SbNUzvf9bMkvkxgWHL3xqPbhnKxtgtkP9qlPdrisV/9SAAA= 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: cpufreq: CPPC: Add u64 casts to avoid overflowing The fields of the _CPC object are unsigned 32-bits values. To avoid overflows while using _CPC's values, add 'u64' casts. The Linux kernel CVE team has assigned CVE-2022-49750 to this issue. Affected and fixed versions =========================== Fixed in 6.1.9 with commit 7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045 Fixed in 6.2 with commit f5f94b9c8b805d87ff185caf9779c3a4d07819e3 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-2022-49750 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/cpufreq/cppc_cpufreq.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/7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045 https://git.kernel.org/stable/c/f5f94b9c8b805d87ff185caf9779c3a4d07819e3