[v2, 8/8] binfmt_elf_fdpic: fix crash on MMU system with dynamic binaries

Nicolas Pitre nicolas.pitre at linaro.org
Mon Aug 28 17:31:18 PDT 2017


On Mon, 28 Aug 2017, Vincent ABRIOU wrote:

> Hi Nicolas,
> 
> On 08/17/2017 09:23 AM, Nicolas Pitre wrote:
> > In elf_fdpic_map_file() there is a test to ensure the dynamic section in
> > user space is properly terminated. However it does so by dereferencing
> > a user address directly. Add proper user space accessor.
> > 
> > Signed-off-by: Nicolas Pitre <nico at linaro.org>
> Tested-by: Vincent Abriou <vincent.abriou at st.com>

Excellent, thank you!


Nicolas



More information about the linux-arm-kernel mailing list