drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation (Linux Linux)

CVE-2026-89806
HIGH 8.4

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation The framebuffer size calculation `fb_size = linebytes * height` can overflow when both values are large (e.g., 46341 * 46341 > INT_MAX). Since linebytes and height are both int types, the multiplication is performed as int * int, which results in undefined behavior on overflow. Use check_mul_overflow() to detect and prevent this overflow, consistent with the approach used in simpledrm.c and corebootdrm.c.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 < 0cec951667a624fafaca2695c46042f45851caec ; affected c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 < 711fe7949d37656a5586244afee9523b9e5e37e9 ; affected c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 < ded6ad826fe0fd059333d3a3b3e1742c8e45ff41 ; affected c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 < d9daf9a6e7a6f82ef338a09386eefc6807100d3f ; affected c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 < c6f48e59ece0123f6a11527ad4d89b21c2d65b87
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.51 ≤ 6.18.* ; unaffected 7.2.5 ≤ 7.2.*

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