A flaw was found in cryptsetup that could allow an attacker with physical access to a medium, such as a flash disk, to trick the system into disabling encryption during device recovery. This could force a user into permanently disabling the encryption layer of the medium. The issue is related to the modification of LUKS2 metadata, which can be altered without knowing the encryption key, allowing an attacker to simulate a previously started decryption process and leave some decrypted data in plaintext.