Re: [PATCH AUTOSEL 4.19 26/26] Make filldir[64]() verify the directory entry filename is valid

From: Sasha Levin
Date: Wed Oct 09 2019 - 16:51:02 EST


On Wed, Oct 09, 2019 at 10:56:56AM -0700, Linus Torvalds wrote:
On Wed, Oct 9, 2019 at 10:24 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:

From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

[ Upstream commit 8a23eb804ca4f2be909e372cf5a9e7b30ae476cd ]

I didn't mark this for stable because I expect things to still change
- particularly the WARN_ON_ONCE() should be removed before final 5.4,
I just wanted to see if anybody could trigger it with testing etc.

(At least syzbot did trigger it).

If you do want to take it, take it without the WARN_ON_ONCE() calls
and note that in the commit message..

I'll take both when you send a patch to remove it.

--
Thanks,
Sasha