arm64: hibernate: Restore DAIF state on error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ee11f332af96a3b5d29586bc6d69b41531f62648 · < 519e7de2c4c7b92ef57d4404b7e564aa9be24143| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
arm64: hibernate: Restore DAIF state on error
Sashiko AI has reported that if swsusp_mte_save_tags() for some reason fails we return from swsusp_arch_suspend() with DAIF being masked - that is not what we'd expect. Restore the saved DAIF state before returning from the error path.
From the CVE record · Linux
On arm64, the Linux kernel can return from a hibernation error with DAIF still masked if saving MTE tags fails. The input does not establish how an attacker could trigger this failure or whether access or user interaction is required.
Engineers running Linux kernels on arm64 systems should check whether their kernel includes the fix; affected versions are not specified.