[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180226154659.10218-1-blackzert@gmail.com>
Date: Mon, 26 Feb 2018 18:46:58 +0300
From: Ilya Smith <blackzert@...il.com>
To: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Ilya Smith <blackzert@...il.com>
Subject: [PATCH 0/1] Additional strict check on ELF file.
Hello, this patch implements strict check on segments order in ELF file.
Current implementation doesn't check the order of ELF segments and compute
totalsize as difference between last one and the first one. If ELF file
has wrong order it allows to re-mmap existing memory region with one
from ELF file.
Ilya Smith (1):
Additional strict check on ELF file. Checks segments are followed in
order of 'p_vaddr ' value ascending. It fixes erorr in
total_mapping_size with computation total size. This error happens
if segments in ELF file are not in order.
fs/binfmt_elf.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
--
2.14.1
Powered by blists - more mailing lists