mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
listmount: don't call path_put() under namespace semaphore
commitc1f86d0ac3upstream. Massage listmount() and make sure we don't call path_put() under the namespace semaphore. If we put the last reference we're fscked. Fixes:b4c2bea8ce("add listmount(2) syscall") Cc: stable@vger.kernel.org # v6.8+ Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4d50e8360e
commit
9c80da26fd
1 changed files with 59 additions and 28 deletions
Loading…
Add table
Add a link
Reference in a new issue