Re: [patch 12/54] PM: hibernate: disable when there are active secretmem users
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-07-08 03:16:16
Also in:
mm-commits
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-07-08 03:16:16
Also in:
mm-commits
On Wed, Jul 7, 2021 at 6:08 PM Andrew Morton [off-list ref] wrote:
Prevent hibernation whenever there are active secret memory users.
So now anybody can not only use up all memory resources with these
fake mlock regions, they can also force laptops to run out of battery
and crash.
Again, maybe I'm missing something, but I didn't see any capability
checks or anything at all to limit this once it is enabled.
Linus