[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180310001916.GB11882@breakpoint.cc>
Date: Sat, 10 Mar 2018 01:19:16 +0100
From: Florian Westphal <fw@...len.de>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
eric.dumazet@...il.com, xiyou.wangcong@...il.com, fw@...len.de
Subject: Re: [PATCH] proc: reject "." and ".." as filenames
Alexey Dobriyan <adobriyan@...il.com> wrote:
> Various subsystems can create files and directories in /proc
> with names directly controlled by userspace.
>
> Which means "/", "." and ".." are no-no.
>
> "/" split is already taken care of, do the other 2 prohibited names.
Acked-by: Florian Westphal <fw@...len.de>
I'll send a patch for xtables too to reject bogus names
coming from userspace (syzbot reports WARN() ).
Powered by blists - more mailing lists