CVE-2026-43240

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

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
Jun 19, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before 37f18915a261afe84dab462624ed829cddb77a9bAffected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before 22e460b6333a5f818b042ac89201f8e735556f4aAffected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before 7e2476057950c174c7b2c2802246707bbfb497e4Affected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before f8f73bf0f8a57ee9b86792456bd42079bc98c6b7Affected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before d4a132f121c591b60dbaf57ea91f1faf11631fbcAffected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before 4d7a8f5f28187e3d2958b2a134473da2665207e7Affected
  • b69a2afd5afce9bf6d56e349d6ab592c916e20f2 to before c5489d04337b47e93c0623e8145fcba3f5739efdAffected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.