{"id":"CVE-2026-93256","aliases":["CVE-2026-93256"],"related":[],"kind":"vulnerability","state":"published","title":"arm64: hibernate: mask DAIF before restoring hibernated kernel","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: hibernate: mask DAIF before restoring hibernated kernel\n\nThe arm64 hibernate code manages the exception masking in an unsound\nway, leading to potential crashes and/or warnings during resume.\n\nWhen a hibernation image is saved in `swsusp_arch_suspend()`, all DAIF\nexceptions are masked (by virtue of `local_daif_save()`), and the\nsuspended image is saved assuming that all DAIF exceptions will remain\nmasked when the image is restored.\n\nWhen a hibernation image is resumed by `swsusp_arch_resume()`, only\ninterrupts are masked (by virtue of `local_irq_disable()` in\n`resume_target_kernel()`). When pseudo-NMI is enabled the DAIF.IF bits\nwill be clear, and regardless of pseudo-NMI the DAIF.DA bits will be\nclear.\n\nThis means that there are two problems:\n\n(1) It is possible to take Debug, SError, or pseudo-NMI exceptions\n    during the resume process. This is unsafe, as during the resume\n    process both the old ane new kernels will tranisently be in an\n    inconsistent state, and swsusp_arch_suspend_exit() won't retain\n    an executable mapping of any exception vectors.\n\n    Any exception taken here will be fatal and silent.\n\n(2) When re-entering the resumed kernel, some DAIF bits will be clear\n    unexpectedly. This permits Debug, SError, or pseudo-NMI exceptions\n    to be taken for a short period while the resumed kernel is not yet\n    in a consistent state.\n\n    This is detected by CONFIG_ARM64_DEBUG_PRIORITY_MASKING.\n\nAvoid these issues by masking all DAIF exceptions during resume.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: hibernate: mask DAIF before restoring hibernated kernel\n\nThe arm64 hibernate code manages the exception masking in an unsound\nway, leading to potential crashes and/or warnings during resume.\n\nWhen a hibernation image is saved in `swsusp_arch_suspend()`, all DAIF\nexceptions are masked (by virtue of `local_daif_save()`), and the\nsuspended image is saved assuming that all DAIF exceptions will remain\nmasked when the image is restored.\n\nWhen a hibernation image is resumed by `swsusp_arch_resume()`, only\ninterrupts are masked (by virtue of `local_irq_disable()` in\n`resume_target_kernel()`). When pseudo-NMI is enabled the DAIF.IF bits\nwill be clear, and regardless of pseudo-NMI the DAIF.DA bits will be\nclear.\n\nThis means that there are two problems:\n\n(1) It is possible to take Debug, SError, or pseudo-NMI exceptions\n    during the resume process. This is unsafe, as during the resume\n    process both the old ane new kernels will tranisently be in an\n    inconsistent state, and swsusp_arch_suspend_exit() won't retain\n    an executable mapping of any exception vectors.\n\n    Any exception taken here will be fatal and silent.\n\n(2) When re-entering the resumed kernel, some DAIF bits will be clear\n    unexpectedly. This permits Debug, SError, or pseudo-NMI exceptions\n    to be taken for a short period while the resumed kernel is not yet\n    in a consistent state.\n\n    This is detected by CONFIG_ARM64_DEBUG_PRIORITY_MASKING.\n\nAvoid these issues by masking all DAIF exceptions during resume.","source":"cvelist"}],"published":"2026-09-24T15:51:43.080Z","modified":"2026-10-19T10:17:16.893Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"716c41bd476334afb943308be9ff2142e34461b7","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"5370853041a3cb53a125b77528586278f64b378b","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"290c5b0c9fc0c61fb1c41421ed2394f955206ea0","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"012823494e20c3cce622982ebd3fd6971be39ad2","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"d736ace2c491623c9ab5e73744085e93e9ae3ebe","status":"affected"},{"type":"git","introduced":"82869ac57b5d3b550446932c918dbf2caf020c9e","fixed":"684bde100117931f4c51c644a95f42f2dab041bc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/716c41bd476334afb943308be9ff2142e34461b7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5370853041a3cb53a125b77528586278f64b378b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/290c5b0c9fc0c61fb1c41421ed2394f955206ea0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/012823494e20c3cce622982ebd3fd6971be39ad2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d736ace2c491623c9ab5e73744085e93e9ae3ebe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/684bde100117931f4c51c644a95f42f2dab041bc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93256","url":"https://www.cve.org/CVERecord?id=CVE-2026-93256","licence":"CVE Terms of Use","modified":"2026-10-19T09:08:09.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93256","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93256","licence":"Public domain","modified":"2026-10-19T10:17:16.893Z"}],"updatedAt":"2026-11-25T22:59:40.797Z","epss":{"score":0.00216,"percentile":0.12842,"date":"2026-12-01T12:00:22.000Z"}}