summaryrefslogtreecommitdiff
path: root/lib/test_fortify
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2021-11-28 14:15:09 +0200
committerLuca Coelho <luciano.coelho@intel.com>2021-12-07 12:58:04 +0200
commit652291601459272d52b6ba12811f0b60b3e6444f (patch)
tree957061d560436b55483369d0722527e24766a943 /lib/test_fortify
parentfe6db7eda9306d665f7b8fc3decdb556ec10fb85 (diff)
iwlwifi: mei: don't rely on the size from the shared area
If CSME is compromised, it could report a bigger queue size in the share area and make the host perform an out of bound access. Instead of reading the size of the queue from the shared area, store it in the regular context which is not accessible by CSME. While at it, fix a small typo in an error print. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Link: https://lore.kernel.org/r/20211128121509.3952-1-emmanuel.grumbach@intel.com Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'lib/test_fortify')
0 files changed, 0 insertions, 0 deletions