[PATCH 4.9 0/2] Backport readdir sanity checking patches

From: Siddharth Chandrasekaran
Date: Mon Dec 23 2019 - 14:43:32 EST


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(+)

--
2.7.4