Linux Kernel Kexec IMA Buffer Sanity Check Vulnerability

Vulnerability

A vulnerability in the Linux kernel's x86 architecture handling of kexec can lead to a kernel panic. When booting a second-stage kernel via kexec with a memory-limiting command line, the physical range for the IMA (Integrity Measurement Architecture) measurement list may extend beyond the available RAM, causing a page fault. This issue does not occur on other architectures, which already perform the necessary validation. The vulnerability disrupts the proper carrying forward of the IMA measurement log, potentially leading to failures in attestation.

Impact

Exploitation of this vulnerability causes a kernel panic due to a page fault error, disrupting system operations and potentially leading to a denial of service.

Reproduction

To reproduce this vulnerability, boot a second-stage kernel using kexec with a command line that limits the available memory. This can be done by specifying a 'mem' parameter that truncates the RAM. The IMA measurement list, which is carried over from the previous kernel, may then be restored from a physical address that falls outside the available memory, leading to a page fault and a kernel panic.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: May 6, 2026, 1:11 PM
Updated: May 6, 2026, 1:11 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.4
remediation
7.7
relevance
7.6
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.