Re: [U-Boot] [PATCH v5 6/9] fs: prevent overwriting reserved memory

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt wrote: > > 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 > --- > > Changes in v5: None >

[U-Boot] [PATCH v5 6/9] fs: prevent overwriting reserved memory

2018-12-09 Thread Simon Goldschmidt
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 --- Changes in v5: None Changes in v4: None Changes in v2: None fs/fs.c | 56