x86/kexec: add a sanity check on previous kernel's ima kexec buffer
Summary
| CVE | CVE-2026-43240 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 12:16:44 UTC |
| Updated | 2026-06-19 13:16:29 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 37f18915a261afe84dab462624ed829cddb77a9b git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 22e460b6333a5f818b042ac89201f8e735556f4a git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 7e2476057950c174c7b2c2802246707bbfb497e4 git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 f8f73bf0f8a57ee9b86792456bd42079bc98c6b7 git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 d4a132f121c591b60dbaf57ea91f1faf11631fbc git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 4d7a8f5f28187e3d2958b2a134473da2665207e7 git | Not specified |
| CNA | Linux | Linux | affected b69a2afd5afce9bf6d56e349d6ab592c916e20f2 c5489d04337b47e93c0623e8145fcba3f5739efd git | Not specified |
| CNA | Linux | Linux | affected 6.0 | Not specified |
| CNA | Linux | Linux | unaffected 6.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.165 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.16 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.6 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7e2476057950c174c7b2c2802246707bbfb497e4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4d7a8f5f28187e3d2958b2a134473da2665207e7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d4a132f121c591b60dbaf57ea91f1faf11631fbc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/22e460b6333a5f818b042ac89201f8e735556f4a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c5489d04337b47e93c0623e8145fcba3f5739efd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f8f73bf0f8a57ee9b86792456bd42079bc98c6b7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/37f18915a261afe84dab462624ed829cddb77a9b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.