diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-03-07 12:49:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-07 14:57:55 +0100 |
commit | 989a3e4479177d0f4afab8be1960731bc0ffbbd0 (patch) | |
tree | cabc329c4a89426482fda1aebf33a58bbfa1b3ea /net/openvswitch | |
parent | ASoC: Intel: avs: Machine board fixes (diff) | |
download | linux-989a3e4479177d0f4afab8be1960731bc0ffbbd0.tar.xz linux-989a3e4479177d0f4afab8be1960731bc0ffbbd0.zip |
ASoC: SOF: ipc3: Check for upper size limit for the received message
The sof_ipc3_rx_msg() checks for minimum size of a new rx message but it is
missing the check for upper limit.
Corrupted or compromised firmware might be able to take advantage of this
to cause out of bounds reads outside of the message area.
Reported-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Curtis Malainey <curtis@malainey.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230307114917.5124-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions