Re: [PATCH] proc: reject "." and ".." as filenames

Florian Westphal
2018-03-10T00:19:21Z

Alexey Dobriyan <adobriyan@gmail.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@strlen.de>

I'll send a patch for xtables too to reject bogus names
coming from userspace (syzbot reports WARN() ).