arm64: hibernate: mask DAIF before restoring hibernated kernel
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 D
CVE-2026-93256
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-93256
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "716c41bd476334afb943308be9ff2142e34461b7",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "5370853041a3cb53a125b77528586278f64b378b",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "290c5b0c9fc0c61fb1c41421ed2394f955206ea0",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "012823494e20c3cce622982ebd3fd6971be39ad2",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "d736ace2c491623c9ab5e73744085e93e9ae3ebe",
"versionType": "git"
},
{
"status": "affected",
"version": "82869ac57b5d3b550446932c918dbf2caf020c9e",
"lessThan": "684bde100117931f4c51c644a95f42f2dab041bc",
"versionType": "git"
}
],
"programFiles": [
"arch/arm64/kernel/hibernate.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"arch/arm64/kernel/hibernate.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93256
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #37950 · Revision 1
- Added to Heist Feed
- Publisher date