[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173806685396.1748.7696364361933084120.b4-ty@linux.intel.com>
Date: Tue, 28 Jan 2025 14:20:53 +0200
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Rajneesh Bhardwaj <irenic.rajneesh@...il.com>,
Dmitry Kandybka <d.kandybka@...il.com>
Cc: David E Box <david.e.box@...el.com>,
Hans de Goede <hdegoede@...hat.com>, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH v2] platform/x86/intel: pmc: fix ltr decode in
pmc_core_ltr_show()
On Fri, 24 Jan 2025 01:07:39 +0300, Dmitry Kandybka wrote:
> In pmc_core_ltr_show(), promote 'val' to 'u64' to avoid possible integer
> overflow. Values (10 bit) are multiplied by the scale, the result of
> expression is in a range from 1 to 34,326,183,936 which is bigger then
> UINT32_MAX. Compile tested only.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()
commit: 4afd0e58a6793b8e4d78cb55dbcf6279936730e5
--
i.
Powered by blists - more mailing lists