diff options
author | 2025-05-26 20:18:20 +0100 | |
---|---|---|
committer | 2025-05-27 12:12:17 +0100 | |
commit | 16719d48197bbd8cff121b32acec67d954335437 (patch) | |
tree | e313a11b6ba2ef8ad82fe3d32580cef5d901ec00 /scripts/lib/kdoc/kdoc_files.py | |
parent | firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache) (diff) | |
download | linux-rng-16719d48197bbd8cff121b32acec67d954335437.tar.xz linux-rng-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 <qasdev00@gmail.com>
Link: https://patch.msgid.link/20250526191820.72577-1-qasdev00@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions