Description
In the Linux kernel, the following vulnerability has been resolved:

ima: verify the previous kernel's IMA buffer lies in addressable RAM

Patch series "Address page fault in ima_restore_measurement_list()", v3.

When the second-stage kernel is booted via kexec with a limiting command
line such as "mem=<size>" we observe a pafe fault that happens.

BUG: unable to handle page fault for address: ffff97793ff47000
RIP: ima_restore_measurement_list+0xdc/0x45a
#PF: error_code(0x0000) not-present page

This happens on x86_64 only, as this is already fixed in aarch64 in
commit: cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer
against memory bounds")


This patch (of 3):

When the second-stage kernel is booted with a limiting command line (e.g.
"mem=<size>"), the IMA measurement buffer handed over from the previous
kernel may fall outside the addressable RAM of the new kernel. Accessing
such a buffer can fault during early restore.

Introduce a small generic helper, ima_validate_range(), which verifies
that a physical [start, end] range for the previous-kernel IMA buffer lies
within addressable memory:
- On x86, use pfn_range_is_mapped().
- On OF based architectures, use page_is_ram().
Published: 2026-05-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability arises in the Linux kernel's IMA subsystem on x86_64 architectures when a second‑stage kernel is loaded via kexec while the boot command line limits the available memory (for example, using mem=<size>). The IMA measurement buffer handed over from the prior kernel may be located outside the addressable RAM of the new kernel. Accessing such a buffer during the early restore phase triggers an unhandled page fault, causing a kernel panic. The flaw corresponds to out‑of‑bounds memory access.

Affected Systems

The problem is present in all Linux kernel implementations that have not yet incorporated the third commit of the patch series "Address page fault in ima_restore_measurement_list()". The fix is deployed on aarch64 architectures in earlier commits, but for x86_64 the vulnerability remains in kernels prior to the introduction of the ima_validate_range() helper. All affected machines running a vulnerable kernel version, regardless of vendor distribution, are at risk when they support kexec with a memory‑limiting command line.

Risk and Exploitability

The CVSS score of 5.5 categorizes this issue as moderate severity. The EPSS score of < 1% indicates a very low but non‑zero exploitation probability, and the flaw is not listed in the CISA KEV catalog. The vulnerability can cause a kernel panic during early IMA restoration, resulting in a denial of service for the entire system. The flaw requires that the second‑stage kernel be booted via kexec with a mem=<size> limiting argument that allows an IMA buffer to lie outside addressable RAM. Based on the description, it is inferred that an attacker would need the ability to initiate a kexec load or otherwise influence the boot process. Such capability is typically restricted to privileged or local users, so the exploitation probability is likely low under normal operating conditions but could rise if an attacker can set a crafted mem= parameter or trigger kexec.

Generated by OpenCVE AI on May 8, 2026 at 20:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the patch series "Address page fault in ima_restore_measurement_list()", v3.
  • Reconfigure or avoid using kexec with a mem= parameter that limits memory below the size of the IMA buffer, ensuring the buffer falls within addressable RAM.
  • Restrict kexec access to trusted users and enforce least privilege; if patching is not yet possible, disable kexec or limit its usage until an update is applied.
  • Enable early kernel logging or debug output to detect unexpected page faults during IMA restoration.

Generated by OpenCVE AI on May 8, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 08 May 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Thu, 07 May 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 07 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-805
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 06 May 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 06 May 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ima: verify the previous kernel's IMA buffer lies in addressable RAM Patch series "Address page fault in ima_restore_measurement_list()", v3. When the second-stage kernel is booted via kexec with a limiting command line such as "mem=<size>" we observe a pafe fault that happens. BUG: unable to handle page fault for address: ffff97793ff47000 RIP: ima_restore_measurement_list+0xdc/0x45a #PF: error_code(0x0000) not-present page This happens on x86_64 only, as this is already fixed in aarch64 in commit: cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer against memory bounds") This patch (of 3): When the second-stage kernel is booted with a limiting command line (e.g. "mem=<size>"), the IMA measurement buffer handed over from the previous kernel may fall outside the addressable RAM of the new kernel. Accessing such a buffer can fault during early restore. Introduce a small generic helper, ima_validate_range(), which verifies that a physical [start, end] range for the previous-kernel IMA buffer lies within addressable memory: - On x86, use pfn_range_is_mapped(). - On OF based architectures, use page_is_ram().
Title ima: verify the previous kernel's IMA buffer lies in addressable RAM
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:18:19.113Z

Reserved: 2026-05-01T14:12:55.988Z

Link: CVE-2026-43129

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-06T12:16:29.963

Modified: 2026-05-11T13:08:54.557

Link: CVE-2026-43129

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-06T00:00:00Z

Links: CVE-2026-43129 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-08T21:00:10Z

Weaknesses