commit | 5b2c687c59e65f999814f004c7774b34c3a4d74f | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Mon Jan 14 22:38:19 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 16 16:37:05 2019 -0500 |
tree | 4e1e3090b5ec43ed88cc2790c080b2a790679d78 | |
parent | 7a6ee466c953fcae484c549a07fb0a9c92349039 [diff] |
fs: prevent overwriting reserved memory This fixes CVE-2018-18440 ("insufficient boundary checks in filesystem image load") by using lmb to check the load size of a file against reserved memory addresses. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>