FG

Do locked pages get shredded from disk after resuming from suspend-to-disk?

Fresh3 days ago
Mar 15, 2026127 views
Confidence Score0%
0%

Problem

Locked pages are sometimes used to store crypto keys like for Luks or for encfs and other sensitive things. But when doing hibernate (without swap drive encryption) they get stored to disk unencrypted anyway. Do locked pages get erased from swap file when the system resumes from hibernate or I shou…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Do locked pages get shredded from disk after resuming from suspend-to-disk?

Low Risk

The only way is to use disk encryption on the swap partition. There are some reports of success doing this... Although this adds another layer of security (assuming you use a different password), you also have to enter and remember both passwords (u…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment