Re: [PATCH 2/5] selftests/x86: fix vDSO selftest segfault for vsyscall=none

From: Ingo Molnar
Date: Sun Feb 11 2018 - 06:22:03 EST



* Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> wrote:

> + char name[128];
> + if (sscanf(line, "%p-%p %c-%cp %*x %*x:%*x %*u %s",
> + &start, &end, &r, &x, name) != 5)

So that's a buffer overflow waiting to happen, if a line in 'maps' gets too large,
right?

Thanks,

Ingo