Re: [PATCH 4.14 0/2] Backport readdir sanity checking patches

From: Greg KH
Date: Wed Jan 01 2020 - 12:01:23 EST


On Tue, Dec 24, 2019 at 01:06:25AM +0530, Siddharth Chandrasekaran wrote:
> Hello,
>
> This patchset is a backport of upstream commits that makes getdents() and
> getdents64() do sanity checking on the pathname that it gives to user
> space.
>
> Sid
>
> Linus Torvalds (2):
> Make filldir[64]() verify the directory entry filename is valid
> filldir[64]: remove WARN_ON_ONCE() for bad directory entries
>
> fs/readdir.c | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)

All applied to all branches, thanks.

greg k-h