Linus Torvalds warned users about a critical issue found in the experimental release of the kernel 5.12-rc1, advised against testing this version, and renamed the Git tag "v5.12-rc1" to "v5.12-rc1-dontuse." The issue occurs when using a swap file and can lead to data corruption in the file system where this file is located.
In particular, the changes proposed in 5.12-rc1 disrupted normal operations with the swap file and caused the loss of the initial offset of swap data in the FS, leading to catastrophic results — overwriting the content of the FS with random swap data. This issue affects only systems with a swap file and does not manifest when using a separate disk partition for swapping.
Source: opennet.ru
