drm/i915/gem: Fix Virtual Memory mapping boundaries calculation (Linux Linux)

CVE-2024-42259
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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)

Faiblesses (CWE)

  • CWE-131 — Calcul incorrect de la taille d'un tampon

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c58305af1835095ddc25ee6f548ac05915e66ac5 < 3e06073d24807f04b4694108a8474decb7b99e60 ; affected c58305af1835095ddc25ee6f548ac05915e66ac5 < a256d019eaf044864c7e50312f0a65b323c24f39 ; affected c58305af1835095ddc25ee6f548ac05915e66ac5 < 50111a8098fb9ade621eeff82228a997d42732ab ; affected c58305af1835095ddc25ee6f548ac05915e66ac5 < 911f8055f175c82775d0fd8cedcd0b75413f4ba7 ; affected c58305af1835095ddc25ee6f548ac05915e66ac5 < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b ; affected c58305af1835095ddc25ee6f548ac05915e66ac5 < 4b09513ce93b3dcb590baaaff2ce96f2d098312d
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 4.19.320 ≤ 4.19.* ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD