[PATCH v3 0/2] bootconfig: Fix integer overflow problems

Masami Hiramatsu (Google) posted 2 patches 2 weeks, 1 day ago
There is a newer version of this series
init/main.c             |   14 ++++++++++----
tools/bootconfig/main.c |   13 ++++++++++++-
2 files changed, 22 insertions(+), 5 deletions(-)
[PATCH v3 0/2] bootconfig: Fix integer overflow problems
Posted by Masami Hiramatsu (Google) 2 weeks, 1 day ago
Hi,

Here are patches to fix bootconfig size overflow issue. If there is a wrong
bootconfig size is recorded, it can bypass the size check in the tool and the
kernel.

The previous version only fixes tools, but Sashiko found the same issue in
the kernel. So this version add that fix.

Here is the previous version.

 https://lore.kernel.org/all/178900114498.187028.9558747732041210116.stgit@devnote2/

Thank you,

---

Masami Hiramatsu (Google) (2):
      tools/bootconfig: Fix integer overflow and truncation in size checks
      bootconfig: Fix integer overflow in initrd size check


 init/main.c             |   14 ++++++++++----
 tools/bootconfig/main.c |   13 ++++++++++++-
 2 files changed, 22 insertions(+), 5 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>