CVE-2026-43240 PUBLISHED

x86/kexec: add a sanity check on previous kernel's ima kexec buffer

Assigner: Linux
Reserved: 01.05.2026 Published: 06.05.2026 Updated: 06.05.2026

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.

<pre>BUG: unable to handle page fault for address: ffff97793ff47000 RIP: ima_restore_measurement_list+0xdc/0x45a #PF: error_code(0x0000) – not-present page </pre>

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to 37f18915a261afe84dab462624ed829cddb77a9b (excl.)
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to 22e460b6333a5f818b042ac89201f8e735556f4a (excl.)
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to f8f73bf0f8a57ee9b86792456bd42079bc98c6b7 (excl.)
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to d4a132f121c591b60dbaf57ea91f1faf11631fbc (excl.)
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to 4d7a8f5f28187e3d2958b2a134473da2665207e7 (excl.)
  • affected from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to c5489d04337b47e93c0623e8145fcba3f5739efd (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.0 is affected
  • unaffected from 0 to 6.0 (excl.)
  • unaffected from 6.1.165 to 6.1.* (incl.)
  • unaffected from 6.6.128 to 6.6.* (incl.)
  • unaffected from 6.12.75 to 6.12.* (incl.)
  • unaffected from 6.18.16 to 6.18.* (incl.)
  • unaffected from 6.19.6 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References