# CVE-2025-38047: x86/fred: Fix system hang during S4 resume with FRED enabled

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:30.742Z
- Modified: 2026-11-05T21:18:07.330Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ff45746fbf005f96e42bea466698e3fdbf926013 before c42f740a07eea4807e98d2d8febc549c957a7b49; from ff45746fbf005f96e42bea466698e3fdbf926013 before e7090fe75a2826363c71ad1fb4e95e58141478df; from ff45746fbf005f96e42bea466698e3fdbf926013 before e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110; 6.9 (not affected: before 6.9; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.9 before 6.12.31; from 6.13 before 6.14.9

## References

- <https://git.kernel.org/stable/c/c42f740a07eea4807e98d2d8febc549c957a7b49> (patch)
- <https://git.kernel.org/stable/c/e7090fe75a2826363c71ad1fb4e95e58141478df> (patch)
- <https://git.kernel.org/stable/c/e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110> (patch)

## Sources

- CVE List: [CVE-2025-38047](https://www.cve.org/CVERecord?id=CVE-2025-38047), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38047](https://nvd.nist.gov/vuln/detail/CVE-2025-38047), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38047 · Whole record: https://cve.day/CVE-2025-38047.json · Rebuilt by cve.day 2026-11-25T22:58:59.356Z
