summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-06-24 10:25:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-06 11:04:15 +0200
commit142db4e76110dd80239f4e79810f85ea1735ad60 (patch)
tree6bc636c4122a8009185e141282c0a5359ea4adf3 /tools/perf/scripts/python/parallel-perf.py
parentd01042e31812bdeddac8ff94e32d9c4ce223c488 (diff)
userns and mnt_idmap leak in open_tree_attr(2)
[ Upstream commit 0748e553df0225754c316a92af3a77fdc057b358 ] Once want_mount_setattr() has returned a positive, it does require finish_mount_kattr() to release ->mnt_userns. Failing do_mount_setattr() does not change that. As the result, we can end up leaking userns and possibly mnt_idmap as well. Fixes: c4a16820d901 ("fs: add open_tree_attr()") Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions