commit | fea7d0d3125d518f9b2549a114614a9ef052f2c3 | [log] [tgz] |
---|---|---|
author | Gertjan Halkes <gertjan@google.com> | Wed Sep 05 15:41:29 2018 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 20 09:07:51 2019 +0200 |
tree | c43e2b8b3bddea7e3523721416736107d598d236 | |
parent | c8ed05b1d8520f40395916438da9b38ce937a896 [diff] |
9p: do not trust pdu content for stat item size [ Upstream commit 2803cf4379ed252894f046cb8812a48db35294e3 ] v9fs_dir_readdir() could deadloop if a struct was sent with a size set to -2 Link: http://lkml.kernel.org/r/1536134432-11997-1-git-send-email-asmadeus@codewreck.org Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=88021 Signed-off-by: Gertjan Halkes <gertjan@google.com> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr> Signed-off-by: Sasha Levin <sashal@kernel.org>