lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251211182429.3300562-1-safinaskar@gmail.com>
Date: Thu, 11 Dec 2025 21:24:29 +0300
From: Askar Safin <safinaskar@...il.com>
To: mpatocka@...hat.com
Cc: adrelanos@...nix.org,
	arraybolt3@...il.com,
	cryptsetup@...ts.linux.dev,
	dm-devel@...ts.linux.dev,
	gmazyland@...il.com,
	linux-kernel@...r.kernel.org,
	linux-mm@...ck.org
Subject: Re: Hard system lock-ups when using encrypted swap and RAM is exhausted

Mikulas Patocka <mpatocka@...hat.com>:
> So, this is what happened to you - the machine runs out of memory, it 
> needs to swap out some pages, dm-crypt encrypts the pages and generates 
> write bios, the write bios are directed to the loop device, the loop 
> device directs them to the filesystem, the filesystem attempts to allocate 
> more memory => deadlock.

Does similar thing happen in my case? I. e. swap on top of dm-integrity on
top of partition? Is my use case supported? (I'm not talking about
hibernation now, just about swap.)

-- 
Askar Safin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ