Files
twx-linux/fs
Al Viro fa87bf609a propagate_one(): mnt_set_mountpoint() needs mount_lock
commit b0d3869ce9 upstream.

... to protect the modification of mp->m_count done by it.  Most of
the places that modify that thing also have namespace_lock held,
but not all of them can do so, so we really need mount_lock here.
Kudos to Piotr Krysiuk <piotras@gmail.com>, who'd spotted a related
bug in pivot_root(2) (fixed unnoticed in 5.3); search for other
similar turds has caught out this one.

Cc: stable@kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Piotr Krysiuk <piotras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-02 17:26:01 +02:00
..
2020-04-02 15:28:19 +02:00
…
2019-08-06 19:06:51 +02:00
2019-12-13 08:52:23 +01:00
…
2019-12-13 08:52:36 +01:00
…
2019-12-13 08:51:59 +01:00
…
…
…
…
…
…
…
…
2020-03-05 16:42:12 +01:00
2020-04-17 10:48:47 +02:00
…
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…