summaryrefslogtreecommitdiffstats
path: root/fs/nls
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-09-26 18:51:46 +0200
committerChristian Brauner <brauner@kernel.org>2024-09-27 18:29:19 +0200
commit8a46067783bdff222d1fb8f8c20e3b7b711e3ce5 (patch)
tree3cd74e1e3e263bb9337f193a1e1a57e67ee2c80b /fs/nls
parent2cf36327ee1e47733aba96092d7bd082a4056ff5 (diff)
downloadlinux-8a46067783bdff222d1fb8f8c20e3b7b711e3ce5.tar.gz
linux-8a46067783bdff222d1fb8f8c20e3b7b711e3ce5.tar.bz2
linux-8a46067783bdff222d1fb8f8c20e3b7b711e3ce5.zip
pidfs: check for valid pid namespace
When we access a no-current task's pid namespace we need check that the task hasn't been reaped in the meantime and it's pid namespace isn't accessible anymore. The user namespace is fine because it is only released when the last reference to struct task_struct is put and exit_creds() is called. Link: https://lore.kernel.org/r/20240926-klebt-altgedienten-0415ad4d273c@brauner Fixes: 5b08bd408534 ("pidfs: allow retrieval of namespace file descriptors") CC: stable@vger.kernel.org # v6.11 Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions