Linux Kernel kexec IMA Handling Vulnerability in CMA Area

Vulnerability

A vulnerability in the Linux kernel's kexec functionality can lead to improper handling of Integrity Measurement Architecture (IMA) segments when allocated in the Contiguous Memory Allocator (CMA) area. This issue arises because the kexec target address is directly allocated in the CMA to avoid copying during execution, but the current implementation expects certain pages to be available, leading to warnings and potential mismanagement of the kexec process.

Impact

This vulnerability can cause warnings during the kexec process, indicating a misalignment between expected and actual memory segment handling, which could disrupt the kexec operation.

Reproduction

To reproduce this vulnerability, reserve a CMA area in the kernel using the 'cma=' option in the kernel command line. Then, load a kexec target that is allocated in the CMA area. This will trigger the warning about the missing IND_SOURCE for the kexec segment, demonstrating the vulnerability.

Remediation

If an IMA segment is allocated in the CMA area, it is recommended to use its page_address() directly to avoid the vulnerability.

Added: Jan 14, 2026, 3:27 PM
Updated: Jan 14, 2026, 4:38 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.4
remediation
8.3
relevance
2.1
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.