[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1801251502310.2020@nanos>
Date: Thu, 25 Jan 2018 15:03:13 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Jiri Slaby <jslaby@...e.cz>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Li Jinyue <lijinyue@...wei.com>, peterz@...radead.org,
dvhart@...radead.org
Subject: Re: [PATCH 4.14 17/89] futex: Prevent overflow by strengthen input
validation
On Thu, 25 Jan 2018, Jiri Slaby wrote:
> On 01/22/2018, 09:44 AM, Greg Kroah-Hartman wrote:
> > + if (nr_wake < 0 || nr_requeue < 0)
> > + return -EINVAL;
>
> This breaks strace's test suite on 4.14.15 (and is present in upstream
> obviously too):
> futex(0x7ff568b44ffc, 0x3, 0xfacefeed, 0xbadda7a0ca7b100d,
> 0x7ff568b44ffc, 0x9caffee1) = -1: Invalid argument
And why the hell is strace expecting this to be valid?
Thanks,
tglx
Powered by blists - more mailing lists