[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200412211340.lckgq6olfrga56ql@wittgenstein>
Date: Sun, 12 Apr 2020 23:13:40 +0200
From: Christian Brauner <christian.brauner@...ntu.com>
To: Eugene Syromiatnikov <esyr@...hat.com>
Cc: linux-kernel@...r.kernel.org,
Christian Brauner <christian@...uner.io>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>, Tejun Heo <tj@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
"Dmitry V. Levin" <ldv@...linux.org>
Subject: Re: [PATCH] clone3: add a check for the user struct size if
CLONE_INTO_CGROUP is set
On Sun, Apr 12, 2020 at 10:31:23PM +0200, Eugene Syromiatnikov wrote:
> Passing CLONE_INTO_CGROUP with an under-sized structure (that doesn't
> properly contain cgroup field) seems like garbage input, especially
> considering the fact that fd 0 is a valid descriptor.
>
> Signed-off-by: Eugene Syromiatnikov <esyr@...hat.com>
Thanks, will queue for rc2 unless I hear objections.
Acked-by: Christian Brauner <christian.brauner@...ntu.com>
Powered by blists - more mailing lists