]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: codecs: wcd93xx/wsa88xx: Correct Soundwire ports
authorMark Brown <broonie@kernel.org>
Mon, 29 Jul 2024 18:34:05 +0000 (19:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jul 2024 18:34:05 +0000 (19:34 +0100)
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:

Incorrect mask of Soundwire ports - one bit too long/big - was passed.

Theoretically, too wide mask could cause an out of bounds read in
sdw_get_slave_dpn_prop() in stream.c, however only in the case of buggy
driver, e.g. adding incorrect number of ports via
sdw_stream_add_slave().

Not adding Cc-stable because I don't think the issue can lead to real
out-of-bounds read.


Trivial merge