News for hackers. Stuff that matters.
Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by wrs on Thursday July 02, 2026 @12:23PM (#48763775)
Obviously your distro isn’t using cryptsetup-luksSuspend.
Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by unethical_ban on Thursday July 02, 2026 @12:59PM (#48764263)
Correct.

The point being made is: If one isn't re-entering their passphrase after suspend, how are they surprised that the encryption keys are somewhere in memory during suspend?

edit: I see now that the prompt was being given and the keys still resided in memory.

Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by ksbd-pls-finish on Thursday July 02, 2026 @01:03PM (#48764331)
Because debian users with luks-suspend have to re-enter their boot password after sleep.
Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by akerl_ on Thursday July 02, 2026 @01:07PM (#48764378)
The reason this bug is unexpected is that the user is expecting to have to enter their password (because they expect the key to be wiped on suspend), and then _they are_ asked for their password. But there was a copy of the key elsewhere in kernel memory that was never cleared.
Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by unethical_ban on Thursday July 02, 2026 @02:13PM (#48765331)
Ah, my bad. Yes, if the user was being presented with the prompt on wake, I see the problem.

I have never had that setup so I was confused.

Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by weaksauce on Thursday July 02, 2026 @01:06PM (#48764371)
> The point being made is: If one isn't re-entering their passphrase after suspend, how are they surprised that the encryption keys are somewhere in memory during suspend?

If that was the case for the people using the debian extra secure extension that should have wiped the memory clean then someone would have found this bug much earlier than two years. Their password was required to be re-entered even though the key was still in memory somewhere.

Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by killerstorm on Thursday July 02, 2026 @01:19PM (#48764558)
Well, potentially a key might be stored in TPM. But I don't think that's better
Re:Since Linux 6.9, LUKS suspend stopped wiping disk-encrypt... by joshuaissac on Thursday July 02, 2026 @02:18PM (#48765401)
I would hope that it is harder to get into the TPM than into the RAM.