Technical impact
ima_restore_measurement_list() in the Linux kernel parses a persisted measurement list during a kexec restore. The function calculates the end of the data blob using a buffer_size field that is read directly from the blob, with no check against the actual size of the blob. If this declared buffer_size exceeds the real size, subsequent reads in the parse loop read past the end of the buffer, exposing data that may reside beyond the blob’s bounds. This flaw is a classic out‑of‑bounds read (CWE‑125) and can leak kernel memory contents during the boot‑time kexec restore process.
Affected Systems
All Linux kernels that include the Integrity Measurement Architecture subsystem and support the kexec restore pathway are affected. The vulnerability resides in core kernel code and is not limited to a specific release series. Any kernel configuration that incorporates IMA and kexec functionality contains the original ima_restore_measurement_list implementation and remains vulnerable until the upstream fix is merged.
Risk and Exploitability
The fault is an out‑of‑bounds read that occurs only during the very early boot phase when a previous kernel’s ima‑kexec buffer is processed. An attacker must control the contents of that persisted buffer before reboot; this requirement makes exploitation largely offline and dependent on prior kernel compromise rather than a third‑party network attack. The EPSS score is currently unavailable and the vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation campaigns. Despite its read‑only nature, the data exposed could aid an attacker in further compromising the system, so the risk is considered moderate to high pending a publicly available patch.