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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-18 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2025-38047, DEBIAN-CVE-2025-38047
- Record: https://cvemate.com/vulnerability/CVE-2025-38047 · JSON: https://cvemate.com/vulnerability/CVE-2025-38047/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.201%, percentile 10.597%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 151)

- debian linux (Debian): \< 6.12.32-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1013.13~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/c42f740a07eea4807e98d2d8febc549c957a7b49>
- <https://git.kernel.org/stable/c/e7090fe75a2826363c71ad1fb4e95e58141478df>
- <https://git.kernel.org/stable/c/e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110>
- <https://ubuntu.com/security/CVE-2025-38047>
- <https://www.cve.org/CVERecord?id=CVE-2025-38047>
- <https://git.kernel.org/linus/e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110>
- <https://ubuntu.com/security/notices/USN-7769-1>
- <https://ubuntu.com/security/notices/USN-7770-1>
- <https://ubuntu.com/security/notices/USN-7771-1>
- <https://ubuntu.com/security/notices/USN-7769-2>
- <https://ubuntu.com/security/notices/USN-7769-3>
- <https://ubuntu.com/security/notices/USN-7789-1>
- <https://ubuntu.com/security/notices/USN-7789-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-38047>

---

Data as of 2026-12-05T03:09:49.894Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
