What’s Vulnerable › Vulnerabilities
CVE-2025-38047: x86/fred: Fix system hang during S4 resume with FRED enabled
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: x86/fred: Fix system hang during S4 resume with FRED enabled Upon a wakeup from S4, the restore kernel starts and initializes the FRED MSRs as needed from its perspective. It then loads a hibernation image, including the image kernel, and attempts to load image pages directly into their original page frames used before hibernation unless those frames are currently in use. Once all pages are moved to their original locations, it jumps to a "trampoline" page in the image kernel. At this point, the image kernel takes control, but the FRED MSRs still contain values set by the restore kernel, which may differ from those set by the image kernel before hibernation. Therefore, the image kernel must ensure the FRED MSRs have the same values as before hibernation. Since these values depend only on the location of the kernel text and data, they can be recomputed from scratch.
Affected products
- Linux kernel: from 6.9 before 6.12.31; from 6.13 before 6.14.9 — fixed in 6.12.31, 6.14.9
How to fix
Upgrade to a fixed version: Linux kernel 6.12.31, 6.14.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/c42f740a07eea4807e98d2d8febc549c957a7b49
- https://git.kernel.org/stable/c/e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110
- https://git.kernel.org/stable/c/e7090fe75a2826363c71ad1fb4e95e58141478df
Get alerted when CVE-2025-38047 or the next vulnerability affects your stack