summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2025-01-09 13:22:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:57:32 +0100
commitdeca59b8a485cd26b6019103dbb187c34d852d1f (patch)
tree4f42c30479b9bfcc9de9cb2e8c49a1460221e2e8 /kernel/stacktrace.c
parent74147a5e097f46239bdd7df76e1c50923e8c1d16 (diff)
downloadlinux-deca59b8a485cd26b6019103dbb187c34d852d1f.tar.gz
linux-deca59b8a485cd26b6019103dbb187c34d852d1f.tar.bz2
linux-deca59b8a485cd26b6019103dbb187c34d852d1f.zip
ASoC: Intel: avs: Fix theoretical infinite loop
[ Upstream commit cf4d74256fe103ece7b2647550e6c063048e5682 ] While 'stack_dump_size' is a u32 bitfield of 16 bits, u32 has a bigger upper bound than the type u16 of loop counter 'offset' what in theory may lead to infinite loop condition. Found out by Coverity static analyzer. Fixes: c8c960c10971 ("ASoC: Intel: avs: APL-based platforms support") Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20250109122216.3667847-4-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions