{"id":"CVE-2026-93256","state":"PUBLISHED","title":"arm64: hibernate: mask DAIF before restoring hibernated kernel","description":"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.","publishedAt":"2026-09-24T15:51:43.080Z","updatedAt":"2026-10-19T09:08:09.709Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"716c41bd476334afb943308be9ff2142e34461b7","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"5370853041a3cb53a125b77528586278f64b378b","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"290c5b0c9fc0c61fb1c41421ed2394f955206ea0","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"012823494e20c3cce622982ebd3fd6971be39ad2","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"d736ace2c491623c9ab5e73744085e93e9ae3ebe","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"684bde100117931f4c51c644a95f42f2dab041bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/hibernate.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.7","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/hibernate.c"]}],"references":["https://git.kernel.org/stable/c/c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec","https://git.kernel.org/stable/c/099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda","https://git.kernel.org/stable/c/716c41bd476334afb943308be9ff2142e34461b7","https://git.kernel.org/stable/c/5370853041a3cb53a125b77528586278f64b378b","https://git.kernel.org/stable/c/290c5b0c9fc0c61fb1c41421ed2394f955206ea0","https://git.kernel.org/stable/c/012823494e20c3cce622982ebd3fd6971be39ad2","https://git.kernel.org/stable/c/d736ace2c491623c9ab5e73744085e93e9ae3ebe","https://git.kernel.org/stable/c/684bde100117931f4c51c644a95f42f2dab041bc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93256.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93256","state":"PUBLISHED","datePublished":"2026-09-24T15:51:43.080Z","dateUpdated":"2026-10-19T09:08:09.709Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.096Z"},"containers":{"cna":{"title":"arm64: hibernate: mask DAIF before restoring hibernated kernel","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"716c41bd476334afb943308be9ff2142e34461b7","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"5370853041a3cb53a125b77528586278f64b378b","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"290c5b0c9fc0c61fb1c41421ed2394f955206ea0","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"012823494e20c3cce622982ebd3fd6971be39ad2","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"d736ace2c491623c9ab5e73744085e93e9ae3ebe","versionType":"git"},{"version":"82869ac57b5d3b550446932c918dbf2caf020c9e","status":"affected","lessThan":"684bde100117931f4c51c644a95f42f2dab041bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/hibernate.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.7","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/hibernate.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c9c671e9ab87b639720db8f7f8648bdf0f3bc8ec"},{"url":"https://git.kernel.org/stable/c/099ad3edcef1d955d9f5d6aab16ae78ecdfd4cda"},{"url":"https://git.kernel.org/stable/c/716c41bd476334afb943308be9ff2142e34461b7"},{"url":"https://git.kernel.org/stable/c/5370853041a3cb53a125b77528586278f64b378b"},{"url":"https://git.kernel.org/stable/c/290c5b0c9fc0c61fb1c41421ed2394f955206ea0"},{"url":"https://git.kernel.org/stable/c/012823494e20c3cce622982ebd3fd6971be39ad2"},{"url":"https://git.kernel.org/stable/c/d736ace2c491623c9ab5e73744085e93e9ae3ebe"},{"url":"https://git.kernel.org/stable/c/684bde100117931f4c51c644a95f42f2dab041bc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:08:09.709Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}