summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnastasia Belova <abelova@astralinux.ru>2024-12-03 11:42:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:05:11 +0100
commit35ce9e7c9fceea41b77e075d5769b0ee886f0a91 (patch)
tree4d9b9e2eb7f4a318729723add67351c9a248159f /scripts
parentfe7ce4e583e0f3d3a8a8adf8f4ae268ab213a45c (diff)
downloadlinux-35ce9e7c9fceea41b77e075d5769b0ee886f0a91.tar.gz
linux-35ce9e7c9fceea41b77e075d5769b0ee886f0a91.tar.bz2
linux-35ce9e7c9fceea41b77e075d5769b0ee886f0a91.zip
clk: qcom: clk-rpmh: prevent integer overflow in recalc_rate
commit 89aa5925d201b90a48416784831916ca203658f9 upstream. aggr_state and unit fields are u32. The result of their multiplication may not fit in this type. Add explicit casting to prevent overflow. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 04053f4d23a4 ("clk: qcom: clk-rpmh: Add IPA clock support") Cc: stable@vger.kernel.org # 5.4+ Signed-off-by: Anastasia Belova <abelova@astralinux.ru> Link: https://lore.kernel.org/r/20241203084231.6001-1-abelova@astralinux.ru Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions