Skip to content
Commit aa3c609e authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Tom Rini
Browse files

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: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 4cc8af80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment