[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180211112153.f2ni5mcuut6f6zvq@gmail.com>
Date: Sun, 11 Feb 2018 12:21:53 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Dominik Brodowski <linux@...inikbrodowski.net>
Cc: linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
x86@...nel.org, shuah@...nel.org,
Andrew Lutomirski <luto@...nel.org>
Subject: Re: [PATCH 2/5] selftests/x86: fix vDSO selftest segfault for
vsyscall=none
* Dominik Brodowski <linux@...inikbrodowski.net> 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
Powered by blists - more mailing lists