7.8high
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915/gem: Fix Virtual Memory mapping boundaries calculation Calculating the size of the mapped area as the lesser value between the requested size and the actual size does not consider the partial mapping offset. This can cause page fault access. Fix the calculation of the starting and ending addresses, the total size is now deduced from the difference between the end and start addresses. Additionally, the calculations have been rewritten in a clearer and more understandable form. [Joonas: Add Requires: tag] Requires: 60a2066c5005 ("drm/i915/gem: Adjust vma offset for framebuffer mmap offset") (cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c58305af1835095ddc25ee6f548ac05915e66ac5 before 3e06073d24807f04b4694108a8474decb7b99e60, from c58305af1835095ddc25ee6f548ac05915e66ac5 before a256d019eaf044864c7e50312f0a65b323c24f39, from c58305af1835095ddc25ee6f548ac05915e66ac5 before 50111a8098fb9ade621eeff82228a997d42732ab, from c58305af1835095ddc25ee6f548ac05915e66ac5 before 911f8055f175c82775d0fd8cedcd0b75413f4ba7, from c58305af1835095ddc25ee6f548ac05915e66ac5 before e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b, from c58305af1835095ddc25ee6f548ac05915e66ac5 before 4b09513ce93b3dcb590baaaff2ce96f2d098312d, from c58305af1835095ddc25ee6f548ac05915e66ac5 before ead9289a51ea82eb5b27029fcf4c34b2dd60cf06, from c58305af1835095ddc25ee6f548ac05915e66ac5 before 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 and 1 more Not affected: before 4.9, from 4.19.320 up to 4.19.*, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.106 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.9 before 4.19.320, from 4.20 before 5.4.282, from 5.5 before 5.10.224, from 5.11 before 5.15.165, from 5.16 before 6.1.106, from 6.2 before 6.6.46, from 6.7 before 6.10.5 | 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: drm/i915/gem: Fix Virtual Memory mapping boundaries calculation Calculating the size of the mapped area as the lesser value between the requested size and the actual size does not consider the partial mapping offset. This can cause page fault access. Fix the calculation of the starting and ending addresses, the total size is now deduced from the difference between the end and start addresses. Additionally, the calculations have been rewritten in a clearer and more understandable form. [Joonas: Add Requires: tag] Requires: 60a2066c5005 ("drm/i915/gem: Adjust vma offset for framebuffer mmap offset") (cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/i915/gem: Arreglar el cálculo de los límites del mapeo de la memoria virtual. El cálculo del tamaño del área mapeada como el valor menor entre el tamaño solicitado y el tamaño real no considera el desplazamiento del mapeo parcial. . Esto puede provocar un error de acceso a la página. Corrija el cálculo de las direcciones inicial y final; el tamaño total ahora se deduce de la diferencia entre las direcciones final e inicial. Además, los cálculos se han reescrito de una forma más clara y comprensible. [Joonas: Add Requires: tag] Requiere: 60a2066c5005 ("drm/i915/gem: Ajustar el desplazamiento de vma para el desplazamiento de mmap del framebuffer") (seleccionado de la confirmación 97b6784753da06d9d40232328efc5c5367e53417)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42259 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-42259 changed 2026-10-15 | Public domain |