aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorQasim Ijaz <[email protected]>2025-05-26 19:18:20 +0000
committerMark Brown <[email protected]>2025-05-27 11:12:17 +0000
commit16719d48197bbd8cff121b32acec67d954335437 (patch)
treee313a11b6ba2ef8ad82fe3d32580cef5d901ec00 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentfirmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache) (diff)
downloadkernel-16719d48197bbd8cff121b32acec67d954335437.tar.gz
kernel-16719d48197bbd8cff121b32acec67d954335437.zip
ASoC: codecs: fix out-of-bounds access on invalid clock config
get_coeff() returns –EINVAL when no table entry matches. The driver then uses that value as an index into coeff_div[], causing an OOB access. To fix lets abort the hw_params call instead. Fixes: de2b3119f9f7 ("ASoC: codecs: add support for ES8375") Signed-off-by: Qasim Ijaz <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions