[U-Boot] [PATCH v2 1/2] lmb: handle more than one DRAM BANK

Simon Glass sjg at chromium.org
Sat Feb 2 06:06:50 UTC 2019


On Fri, 1 Feb 2019 at 13:24, Simon Goldschmidt <
simon.k.r.goldschmidt at gmail.com> wrote:
>
> This fixes the automatic lmb initialization and reservation for boards
> with more than one DRAM bank.
>
> This fixes the CVE-2018-18439 and -18440 fixes that only allowed to load
> files into the firs DRAM bank from fs and via tftp.
>
> Reported-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> ---
>
> Changes in v2: None
>
>  common/bootm.c |  4 ++--
>  fs/fs.c        |  3 +--
>  include/lmb.h  |  7 +++++--
>  lib/lmb.c      | 37 ++++++++++++++++++++++++++++++++-----
>  net/tftp.c     |  3 +--
>  5 files changed, 41 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list