drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() (Linux Linux)

CVE-2024-56369
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() drm_mode_vrefresh() is trying to avoid divide by zero by checking whether htotal or vtotal are zero. But we may still end up with a div-by-zero of vtotal*htotal*...

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 < e7c7b48a0fc5ed83baae400a1b15e33978c25d7f ; affected 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 < 69fbb01e891701e6d04db1ddb5ad49e42c4dd963 ; affected 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 < b39de5a71bac5641d0fda33d1cf5682d82cf1ae5 ; affected 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 < 47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f ; affected 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 < 9398332f23fab10c5ec57c168b44e72997d6318e
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.15.176 ≤ 5.15.* ; unaffected 6.1.122 ≤ 6.1.* ; unaffected 6.6.68 ≤ 6.6.* ; unaffected 6.12.7 ≤ 6.12.*

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