Messages in this thread | | | Date | Sat, 10 Mar 2018 01:19:16 +0100 | From | Florian Westphal <> | Subject | Re: [PATCH] proc: reject "." and ".." as filenames |
| |
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() ).
| |