commit | aa3c609e2be5a837e7b81e308d47f55b67666bd6 | [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 | 4cc8af8037ebabd674d0a6bed202b0c711dc7699 [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>