Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment