CVE-2026-43240
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-libbpf-devel | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel-livepatch-6.1.166-197.305 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| Linux | Linux | f8f73bf0f8a57ee9b86792456bd42079bc98c6b7, d4a132f121c591b60dbaf57ea91f1faf11631fbc, 7e2476057950c174c7b2c2802246707bbfb497e4, 6.0, 4d7a8f5f28187e3d2958b2a134473da2665207e7, 37f18915a261afe84dab462624ed829cddb77a9b, 22e460b6333a5f818b042ac89201f8e735556f4a |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b69a2afd5afce9bf6d56e349d6ab592c916e20f2, b69a2afd5afce9bf6d56e349d6ab592c916e20f2, b69a2afd5afce9bf6d56e349d6ab592c916e20f2 |
| Linux | Linux | 6.0, 0, 6.1.165 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.166-197.305 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf6.18 | 0 |
| Linux | Linux | 6.19.6, 7.0, 6.18.16 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.18.16-18.222 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| amazon:2023 | kernel-libbpf | 0 |
…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