staging: sm750fb: fix division by zero in ps_to_hz() (Linux Linux)

CVE-2026-31603
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: staging: sm750fb: fix division by zero in ps_to_hz() ps_to_hz() is called from hw_sm750_crtc_set_mode() without validating that pixclock is non-zero. A zero pixclock passed via FBIOPUT_VSCREENINFO causes a division by zero. Fix by rejecting zero pixclock in lynxfb_ops_check_var(), consistent with other framebuffer drivers.

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:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 81dee67e215b23f0c98182eece122b906d35765a < 124a43550db8a74eef080cd4573a4904efe67029 ; affected 81dee67e215b23f0c98182eece122b906d35765a < b285a8f3bbb821a93eb37c2740a68ca1d7112a59 ; affected 81dee67e215b23f0c98182eece122b906d35765a < 3300b049693138852a4c6738b5f1194a1ee91ddd ; affected 81dee67e215b23f0c98182eece122b906d35765a < 779412e0e391fd4a0d12e1d1adaa7bf043de62d7 ; affected 81dee67e215b23f0c98182eece122b906d35765a < 2f640c6043aeab31a2f607d7605271860c3b11df ; affected 81dee67e215b23f0c98182eece122b906d35765a < 1412ba36597a82e928f20047f41d6c6582dafe8a
Linux · Linuxaffected 4.1 ; unaffected 0 < 4.1 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 6.6.*

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