5.5medium
EFI/CPER: don't go past the ARM processor CPER record buffer
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: EFI/CPER: don't go past the ARM processor CPER record buffer There's a logic inside GHES/CPER to detect if the section_length is too small, but it doesn't detect if it is too big. Currently, if the firmware receives an ARM processor CPER record stating that a section length is big, kernel will blindly trust section_length, producing a very long dump. For instance, a 67 bytes record with ERR_INFO_NUM set 46198 and section length set to 854918320 would dump a lot of data going a way past the firmware memory-mapped area. Fix it by adding a logic to prevent it to go past the buffer if ERR_INFO_NUM is too big, making it report instead: [Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 [Hardware Error]: event severity: recoverable [Hardware Error]: Error 0, type: recoverable [Hardware Error]: section_type: ARM processor error [Hardware Error]: MIDR: 0xff304b2f8476870a [Hardware Error]: section length: 854918320, CPER size: 67 [Hardware Error]: section length is too big [Hardware Error]: firmware-generated error record is incorrect [Hardware Error]: ERR_INFO_NUM is 46198 [ rjw: Subject and changelog tweaks ]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before c80113dcfc807308f5ab33847fae77e07531aeb8, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before ca2aad8771aa9091bc9e42e7d546bd40b72ddcd4, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before a68d22902a6916e10ee235fee609239004e129d0, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before 64eb63f573f497553e1a0c388bbcdd639e0f0704, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before be10c1bdf64a39832998f54900aa309b3917abcf, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before 25b290624b0e3d2f0f90238709ee0b6009b9fde8, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before 45766863baf899059e75595dd3cb1116467f2095, from 2f74f09bce4f8d0236f20174a6daae63e10fe733 before eae21beecb95a3b69ee5c38a659f774e171d730e and 1 more Not affected: before 4.13, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.13 before 5.10.252, from 5.11 before 5.15.202, from 5.16 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: EFI/CPER: don't go past the ARM processor CPER record buffer There's a logic inside GHES/CPER to detect if the section_length is too small, but it doesn't detect if it is too big. Currently, if the firmware receives an ARM processor CPER record stating that a section length is big, kernel will blindly trust section_length, producing a very long dump. For instance, a 67 bytes record with ERR_INFO_NUM set 46198 and section length set to 854918320 would dump a lot of data going a way past the firmware memory-mapped area. Fix it by adding a logic to prevent it to go past the buffer if ERR_INFO_NUM is too big, making it report instead: [Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 [Hardware Error]: event severity: recoverable [Hardware Error]: Error 0, type: recoverable [Hardware Error]: section_type: ARM processor error [Hardware Error]: MIDR: 0xff304b2f8476870a [Hardware Error]: section length: 854918320, CPER size: 67 [Hardware Error]: section length is too big [Hardware Error]: firmware-generated error record is incorrect [Hardware Error]: ERR_INFO_NUM is 46198 [ rjw: Subject and changelog tweaks ]
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: EFI/CPER: no exceder el búfer de registro CPER del procesador ARM Hay una lógica dentro de GHES/CPER para detectar si la section_length es demasiado pequeña, pero no detecta si es demasiado grande. Actualmente, si el firmware recibe un registro CPER del procesador ARM indicando que una longitud de sección es grande, el kernel confiará ciegamente en section_length, produciendo un volcado muy largo. Por ejemplo, un registro de 67 bytes con ERR_INFO_NUM establecido en 46198 y la longitud de sección establecida en 854918320 volcaría una gran cantidad de datos yendo mucho más allá del área mapeada en memoria del firmware. Solucionarlo añadiendo una lógica para evitar que exceda el búfer si ERR_INFO_NUM es demasiado grande, haciendo que informe en su lugar: [Error de hardware]: Error de hardware de la fuente de error de hardware genérica APEI: 1 [Error de hardware]: gravedad del evento: recuperable [Error de hardware]: Error 0, tipo: recuperable [Error de hardware]: section_type: error del procesador ARM [Error de hardware]: MIDR: 0x ff304b2f8476870a [Error de hardware]: longitud de sección: 854918320, tamaño CPER: 67 [Error de hardware]: la longitud de sección es demasiado grande [Error de hardware]: el registro de error generado por el firmware es incorrecto [Error de hardware]: ERR_INFO_NUM es 46198 [ rjw: Ajustes de asunto y registro de cambios ]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43266 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43266 changed 2026-11-11 | Public domain |