5.5medium
x86/kexec: add a sanity check on previous kernel's ima kexec buffer
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before 37f18915a261afe84dab462624ed829cddb77a9b, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before 22e460b6333a5f818b042ac89201f8e735556f4a, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before 7e2476057950c174c7b2c2802246707bbfb497e4, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before f8f73bf0f8a57ee9b86792456bd42079bc98c6b7, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before d4a132f121c591b60dbaf57ea91f1faf11631fbc, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before 4d7a8f5f28187e3d2958b2a134473da2665207e7, from b69a2afd5afce9bf6d56e349d6ab592c916e20f2 before c5489d04337b47e93c0623e8145fcba3f5739efd, 6.0 Not affected: before 6.0, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.6.143 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.* | CVE List |
| linux linux_kernel | from 6.0 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: x86/kexec: añadir una comprobación de cordura en el búfer ima kexec del kernel anterior Cuando el kernel de segunda etapa es arrancado vía kexec con una línea de comandos limitante como ’mem=[size]’, el rango físico que contiene la lista de mediciones IMA transferida puede caer fuera de la RAM truncada llevando a un pánico del kernel. BUG: incapaz de manejar fallo de página para la dirección: ffff97793ff47000 RIP: ima_restore_measurement_list+0xdc/0x45a #PF: código_de_error(0x 0000) - página no presente Otras arquitecturas ya validan el rango con page_is_ram(), como se hizo en el commit cbf9c4b9617b (’of: comprobar el búfer ima-kexec del kernel anterior contra los límites de memoria’) hacer una comprobación similar en x86. Sin transferir la lista de mediciones a través de kexec, la atestación fallaría.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43240 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43240 changed 2026-11-11 | Public domain |