7.8high
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine." Undo the modifications made in commit d410ee5109a1 ("ACPICA: avoid "Info: mapping multiple BARs. Your kernel is fine.""). The initial purpose of this commit was to stop memory mappings for operation regions from overlapping page boundaries, as it can trigger warnings if different page attributes are present. However, it was found that when this situation arises, mapping continues until the boundary's end, but there is still an attempt to read/write the entire length of the map, leading to a NULL pointer deference. For example, if a four-byte mapping request is made but only one byte is mapped because it hits the current page boundary's end, a four-byte read/write attempt is still made, resulting in a NULL pointer deference. Instead, map the entire length, as the ACPI specification does not mandate that it must be within the same page boundary. It is permissible for it to be mapped across different regions.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d410ee5109a1633a686a5663c6743a92e1181f9b before 435ecc978c3d5d0c4e172ec5b956dc1904061d98, from d410ee5109a1633a686a5663c6743a92e1181f9b before ae465109d82f4fb03c5adbe85f2d6a6a3d59124c, from d410ee5109a1633a686a5663c6743a92e1181f9b before 6eca23100e9030725f69c1babacd58803f29ec8d, from d410ee5109a1633a686a5663c6743a92e1181f9b before dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f, from d410ee5109a1633a686a5663c6743a92e1181f9b before ddc1f5f124479360a1fd43f73be950781d172239, from d410ee5109a1633a686a5663c6743a92e1181f9b before 434c6b924e1f4c219aab2d9e05fe79c5364e37d3, from d410ee5109a1633a686a5663c6743a92e1181f9b before e21a4c9129c72fa54dd00f5ebf71219b41d43c04, from d410ee5109a1633a686a5663c6743a92e1181f9b before a83e1385b780d41307433ddbc86e3c528db031f0 and 1 more Not affected: before 2.6.32, from 4.19.317 up to 4.19.*, from 5.4.279 up to 5.4.*, from 5.10.221 up to 5.10.*, from 5.15.162 up to 5.15.*, from 6.1.96 up to 6.1.* | CVE List |
| linux linux_kernel | from 2.6.32 before 4.19.317, from 4.20 before 5.4.279, from 5.5 before 5.10.221, from 5.11 before 5.15.162, from 5.16 before 6.1.96, from 6.2 before 6.6.36, from 6.7 before 6.9.7, 6.10 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
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: ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine." Undo the modifications made in commit d410ee5109a1 ("ACPICA: avoid "Info: mapping multiple BARs. Your kernel is fine.""). The initial purpose of this commit was to stop memory mappings for operation regions from overlapping page boundaries, as it can trigger warnings if different page attributes are present. However, it was found that when this situation arises, mapping continues until the boundary's end, but there is still an attempt to read/write the entire length of the map, leading to a NULL pointer deference. For example, if a four-byte mapping request is made but only one byte is mapped because it hits the current page boundary's end, a four-byte read/write attempt is still made, resulting in a NULL pointer deference. Instead, map the entire length, as the ACPI specification does not mandate that it must be within the same page boundary. It is permissible for it to be mapped across different regions.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ACPICA: Revertir "ACPICA: evitar Información: mapeo de múltiples BAR. Su kernel está bien". Deshaga las modificaciones realizadas en el commit d410ee5109a1 ("ACPICA: evite "Información: mapeo de varias BAR. Su kernel está bien.""). El propósito inicial de esté commit fue evitar que las asignaciones de memoria para regiones de operación se superpongan en los límites de las páginas, ya que puede generar advertencias si hay diferentes atributos de página presentes. Sin embargo, se descubrió que cuando surge esta situación, el mapeo continúa hasta el final del límite, pero todavía hay un intento de leer/escribir en toda la longitud del mapa, lo que lleva a una deferencia del puntero NULL. Por ejemplo, si se realiza una solicitud de asignación de cuatro bytes pero solo se asigna un byte porque llega al final del límite de la página actual, aún se realiza un intento de lectura/escritura de cuatro bytes, lo que resulta en una deferencia de puntero NULL. En su lugar, asigne toda la longitud, ya que la especificación ACPI no exige que deba estar dentro del mismo límite de página. Está permitido mapearlo en diferentes regiones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-40984 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-40984 changed 2026-10-15 | Public domain |