What’s Vulnerable › Vulnerabilities

CVE-2026-43240: x86/kexec: add a sanity check on previous kernel's ima kexec buffer

Description

In the Linux kernel, the following vulnerability has been resolved: x86/kexec: add a sanity check on previous kernel's ima kexec buffer When the second-stage kernel is booted via kexec with a limiting command line such as "mem=<size>", the physical range that contains the carried over IMA measurement list may fall outside the truncated RAM leading to a kernel panic. BUG: unable to handle page fault for address: ffff97793ff47000 RIP: ima_restore_measurement_list+0xdc/0x45a #PF: error_code(0x0000) – not-present page Other architectures already validate the range with page_is_ram(), as done in commit cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer against memory bounds") do a similar check on x86. Without carrying the measurement list across kexec, the attestation would fail.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.165, 6.12.75, 6.18.16, 6.19.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-43240 or the next vulnerability affects your stack