diff options
author | 2025-06-24 10:25:04 -0400 | |
---|---|---|
committer | 2025-06-24 10:25:04 -0400 | |
commit | 0748e553df0225754c316a92af3a77fdc057b358 (patch) | |
tree | 5344ea758d9a9fa9e3464d205e8567fba08c2e11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | attach_recursive_mnt(): do not lock the covering tree when sliding something under it (diff) | |
download | wireguard-linux-0748e553df0225754c316a92af3a77fdc057b358.tar.xz wireguard-linux-0748e553df0225754c316a92af3a77fdc057b358.zip |
userns and mnt_idmap leak in open_tree_attr(2)
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions