Linux Kernel 5.12 RC2 has been released early due to a nasty swap file bug. Do not use Linux Kernel 5.12 RC1 for testing - you stand to lose data!

In the Kernel mailing list, Linus Torvalds announced the early release of Linux Kernel 5.12 rc2. The reason for early release because of a critical swap file bug that exists in Linux Kernel 5.12 rc1 which may cause direct damage to your file system data by overwriting them.

If your Linux distribution uses swap files (not swap partition) and if you are running the Linux Kernel 5.12 rc1 then you are probably impacted.