VDB

CVE-2026-43240

CVE-2026-43240 PUBLISHED

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

Reported by linux · Published May 6, 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. 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-libbpf-develAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-headersAmazon Linux1:6.12.77-99.140.amzn2023
kernel-livepatch-6.1.166-197.305Amazon Linux1:1.0-0.amzn2023
perfAmazon Linux1:6.1.166-197.305.amzn2023
python3-perfAmazon Linux1:6.1.166-197.305.amzn2023
perf6.18Amazon Linux1:6.18.16-18.222.amzn2023
LinuxLinuxf8f73bf0f8a57ee9b86792456bd42079bc98c6b7, d4a132f121c591b60dbaf57ea91f1faf11631fbc, 7e2476057950c174c7b2c2802246707bbfb497e4, 6.0, 4d7a8f5f28187e3d2958b2a134473da2665207e7, 37f18915a261afe84dab462624ed829cddb77a9b, 22e460b6333a5f818b042ac89201f8e735556f4a

Affected products

VendorProductVersions
LinuxLinuxb69a2afd5afce9bf6d56e349d6ab592c916e20f2, b69a2afd5afce9bf6d56e349d6ab592c916e20f2, b69a2afd5afce9bf6d56e349d6ab592c916e20f2
LinuxLinux6.0, 0, 6.1.165
amazon:2023bpftool0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-libbpf-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.166-197.3050
amazon:2023perf0
amazon:2023python3-perf0
amazon:2023perf6.180
LinuxLinux6.19.6, 7.0, 6.18.16
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.18.16-18.2220
amazon:2023kernel6.18-headers0
linuxlinux_kernel6.0, 6.0, 6.0
amazon:2023kernel-libbpf0

…and 26 more

Timeline

  • May 6, 2026 CVE Published
  • May 6, 2026 Security Advisory (96 in total, the first dated here)
  • May 18, 2026 EPSS Score (24 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (91 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-43240
vulnetix vdb fixes CVE-2026-43240

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43240/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›