mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 20:19:47 +02:00
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. Signed-off-by: Dmitry Kandybka <d.kandybka@gmail.com> Reviewed-by: Rajneesh Bhardwaj <irenic.rajneesh@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20250123220739.68087-1-d.kandybka@gmail.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| adl.c | ||
| arl.c | ||
| cnp.c | ||
| core.c | ||
| core.h | ||
| core_ssram.c | ||
| icl.c | ||
| Kconfig | ||
| lnl.c | ||
| Makefile | ||
| mtl.c | ||
| pltdrv.c | ||
| spt.c | ||
| tgl.c | ||