aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2023-03-07 13:49:17 +0200
committerMark Brown <[email protected]>2023-03-07 13:57:55 +0000
commit989a3e4479177d0f4afab8be1960731bc0ffbbd0 (patch)
treecabc329c4a89426482fda1aebf33a58bbfa1b3ea /scripts/generate_rust_analyzer.py
parent38d408f5b1250d56f8a19d2f2ff65aa8c7b93ff4 (diff)
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 <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Curtis Malainey <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions