]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commite2d124de0017b7649963e956eb7b80bc84848eb3
tree2676e547209c5631dc23102525644c965efbac20
parent45d763fe503e6e0f180f873b750aea307e73fdcf
parentdcb6631d05152930e2ea70fd2abfd811b0e970b5
ASoC: codecs: wcd93xx/wsa88xx: Correct Soundwire ports

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.