summaryrefslogtreecommitdiff
path: root/include/xen/interface/platform.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2023-03-07 13:49:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-06 12:10:38 +0200
commita56be07a8c0c5229274c0d1d9efd9fbde2d1c84e (patch)
treea18d833fd926cb76ef7cc0d890f0e2693e2d6b44 /include/xen/interface/platform.h
parentab7a700fec4053412ca7dd4ae70c31d781219544 (diff)
ASoC: SOF: ipc3: Check for upper size limit for the received message
[ Upstream commit 989a3e4479177d0f4afab8be1960731bc0ffbbd0 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/xen/interface/platform.h')
0 files changed, 0 insertions, 0 deletions