Fedora 41 not hibernating after 6.12.13-200.fc41.x86_64

Problem

I’m using Fedora Workstation on my laptop (MSI with Intel i9 and 32G RAM, dual booting with Windows 11). Unlike Atomic, Workstation doesn’t come with hibernation enabled by default, so I followed these instructions to set it up, using a separate encrypted swap partition. Depending on the case, I switch between GNOME and Hyprland. Up until 6.12.13-200.fc41.x86_64 I had no issues whatsoever.

Once I upgraded to 6.12.15-200.fc41.x86_64, hibernation started to fail. The error message after calling systemctl hibernate states, “Call to Hibernate failed: Sleep verb ‘hibernate’ is not configured or configuration is not supported by kernel.” The same happens after the upgrade to 6.13.5-200.fc41.x86_64.

Cause

Not yet known.

Related Issues

Bugzilla #2349684.

Workarounds

I have several older kernel versions installed. The latest one that works is 6.12.13-200.fc41.x86_64 so, when booting up, that’s the one I choose.

Any help is greatly appreciated.

Can you bisect the commits between the last working and first broken kernels?
That way we will know what introduced the regression.

Please forgive my ignorance: how do I do it?

Ok. It’s not that easy. I’m not confident in being able to write instructions here.
The basics are you use git to get the kernel soruces and sue git bisect command to do the hard work. What I do not know is how you would use the Fedora config and patches while bisecting.

This really is not up to my alley. I’d rather have knowledgeable people look into it. I’ve opened a Bugzilla issue.

Just to close this out, this is the official information I received from Red Hat:

Hibernate is not supported with kernel lockdown, which is enabled if Secure Boot is enabled in the EFI Firmware. Due to a CVE, 6.12.x kernels before 6.12.15 were not automatically enabling kernel lockdown, but everything before 6.12.x was. and everything after 6.12.15 is.

Suspension is definitely the preferred method, and the one we actually try to support.