CVE-2026-31603
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 81dee67e215b23f0c98182eece122b906d35765a before 124a43550db8a74eef080cd4573a4904efe67029, from 81dee67e215b23f0c98182eece122b906d35765a before b285a8f3bbb821a93eb37c2740a68ca1d7112a59, from 81dee67e215b23f0c98182eece122b906d35765a before 3300b049693138852a4c6738b5f1194a1ee91ddd, from 81dee67e215b23f0c98182eece122b906d35765a before 779412e0e391fd4a0d12e1d1adaa7bf043de62d7, from 81dee67e215b23f0c98182eece122b906d35765a before 2f640c6043aeab31a2f607d7605271860c3b11df, from 81dee67e215b23f0c98182eece122b906d35765a before 1412ba36597a82e928f20047f41d6c6582dafe8a, from 81dee67e215b23f0c98182eece122b906d35765a before 6144895a4335a2491c282931f1f2fa610b86339f, from 81dee67e215b23f0c98182eece122b906d35765a before daf6733bd7c4c5015b431739ac29b0e29021096b and 2 more
Not affected: before 4.1, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.*
CVE List
linux linux_kernelfrom 4.1 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, from 7.0 before 7.0.1NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: staging: sm750fb: corregir división por cero en ps_to_hz() ps_to_hz() es llamada desde hw_sm750_crtc_set_mode() sin validar que pixclock no es cero. Un pixclock cero pasado a través de FBIOPUT_VSCREENINFO causa una división por cero. Solución rechazando pixclock cero en lynxfb_ops_check_var(), consistente con otros controladores de framebuffer.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31603 changed 2026-06-14CVE Terms of Use
NVDCVE-2026-31603 changed 2026-11-11Public domain