arm64: hibernate: mask DAIF before restoring hibernated kernel
Summary
| CVE | CVE-2026-93256 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-24 16:17:22 UTC |
| Updated | 2026-09-24 16:17:22 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
arm64: hibernate: mask DAIF before restoring hibernated kernel
The arm64 hibernate code manages the exception masking in an unsound
way, leading to potential crashes and/or warnings during resume.
When a hibernation image is saved in `swsusp_arch_suspend()`, all DAIF
exceptions are masked (by virtue of `local_daif_save()`), and the
suspended image is saved assuming that all DAIF exceptions will remain
masked when the image is restored.
When a hibernation image is resumed by `swsusp_arch_resume()`, only
interrupts are masked (by virtue of `local_irq_disable()` in
`resume_target_kernel()`). When pseudo-NMI is enabled the DAIF.IF bits
will be clear, and regardless of pseudo-NMI the DAIF.DA bits will be
clear.
This means that there are two problems:
(1) It is possible to take Debug, SError, or pseudo-NMI exceptions
during the resume process. This is unsafe, as during the resume
process both the old ane new kernels will tranisently be in an
inconsistent state, and swsusp_arch_suspend_exit() won't retain
an executable mapping of any exception vectors.
Any exception taken here will be fatal and silent.
(2) When re-entering the resumed kernel, some DAIF bits will be clear
unexpectedly. This permits Debug, SError, or pseudo-NMI exceptions
to be taken for a short period while the resumed kernel is not yet
in a consistent state.
This is detected by CONFIG_ARM64_DEBUG_PRIORITY_MASKING.
Avoid these issues by masking all DAIF exceptions during resume. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 716c41bd476334afb943308be9ff2142e34461b7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 5370853041a3cb53a125b77528586278f64b378b git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 290c5b0c9fc0c61fb1c41421ed2394f955206ea0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 012823494e20c3cce622982ebd3fd6971be39ad2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e d736ace2c491623c9ab5e73744085e93e9ae3ebe git |
Not specified |
| CNA |
Linux |
Linux |
affected 82869ac57b5d3b550446932c918dbf2caf020c9e 684bde100117931f4c51c644a95f42f2dab041bc git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.7 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.7 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.270 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.221 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.188 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.157 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.110 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.52 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.6 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/716c41bd476334afb943308be9ff2142e34461b7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/012823494e20c3cce622982ebd3fd6971be39ad2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d736ace2c491623c9ab5e73744085e93e9ae3ebe |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/290c5b0c9fc0c61fb1c41421ed2394f955206ea0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5370853041a3cb53a125b77528586278f64b378b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/684bde100117931f4c51c644a95f42f2dab041bc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.