Re: [PATCH AUTOSEL 5.1 35/70] loop: Don't change loop device under exclusive opener

From: Sasha Levin
Date: Wed Jun 19 2019 - 16:16:49 EST


On Mon, Jun 10, 2019 at 11:00:13AM +0200, Jan Kara wrote:
On Sat 08-06-19 07:39:14, Sasha Levin wrote:
From: Jan Kara <jack@xxxxxxx>

[ Upstream commit 33ec3e53e7b1869d7851e59e126bdb0fe0bd1982 ]

Please don't push this to stable kernels because...

I've dropped this, but...

[Deliberately chosen not to CC stable as a user with priviledges to
trigger this race has other means of taking the system down and this
has a potential of breaking some weird userspace setup]

... of this. Thanks!

Can't this be triggered by an "innocent" user, rather as part of an
attack? Why can't this race happen during regular usage?

--
Thanks,
Sasha