CVE-2026-43240

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

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 11:28 AM UTC
Updated: June 20, 2026 at 03:50 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.0 ≤ v < 6.1.1656.0 ≤ v < 6.12.756.0 ≤ v < 6.18.166.0 ≤ v < 6.19.66.0 ≤ v < 6.6.1286.0 ≤ v < 6.6.1436.0 ≤ v < 7.06.13 ≤ v < 6.18.166.19 ≤ v < 6.19.66.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.756.0b69a2afd5afce9bf6d56e349d6ab592c916e20f2
Vendor states this is fixed in 22e460b6333a5f818b042ac89201f8e735556f4a (fixed)
Vendor states this is fixed in 37f18915a261afe84dab462624ed829cddb77a9b (fixed)
Vendor states this is fixed in 4d7a8f5f28187e3d2958b2a134473da2665207e7 (fixed)
Vendor states this is fixed in 7e2476057950c174c7b2c2802246707bbfb497e4 (fixed)
Vendor states this is fixed in c5489d04337b47e93c0623e8145fcba3f5739efd (fixed)
Vendor states this is fixed in d4a132f121c591b60dbaf57ea91f1faf11631fbc (fixed)
Vendor states this is fixed in f8f73bf0f8a57ee9b86792456bd42079bc98c6b7 (fixed)
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.16 (unaffected)
Vendor states this is fixed in 6.19.6 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card