]> git.ipfire.org Git - thirdparty/grub.git/commit
linux: Fix integer overflows in initrd size handling
authorColin Watson <cjwatson@debian.org>
Sat, 25 Jul 2020 11:15:37 +0000 (12:15 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 29 Jul 2020 14:55:48 +0000 (16:55 +0200)
commite7b8856f8be3292afdb38d2e8c70ad8d62a61e10
tree72f5a41b39f972b7469b6b3dfcc0cc856e780d8f
parent0dcbf3652b6738971407dacc03fb685dfafc5ec5
linux: Fix integer overflows in initrd size handling

These could be triggered by a crafted filesystem with very large files.

Fixes: CVE-2020-15707
Signed-off-by: Colin Watson <cjwatson@debian.org>
Reviewed-by: Jan Setje-Eilers <jan.setjeeilers@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/linux.c