What’s Vulnerable › Vulnerabilities
CVE-2026-31603: staging: sm750fb: fix division by zero in ps_to_hz()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-24 · updated 2026-06-17
- Weakness: CWE-369
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 products
- Linux kernel: from 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.1 — fixed in 6.12.83, 6.18.24, 6.19.14, 6.6.136, 7.0.1
How to fix
Upgrade to a fixed version: Linux kernel 6.12.83, 6.18.24, 6.19.14, 6.6.136. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/124a43550db8a74eef080cd4573a4904efe67029
- https://git.kernel.org/stable/c/1412ba36597a82e928f20047f41d6c6582dafe8a
- https://git.kernel.org/stable/c/2f640c6043aeab31a2f607d7605271860c3b11df
- https://git.kernel.org/stable/c/3300b049693138852a4c6738b5f1194a1ee91ddd
- https://git.kernel.org/stable/c/6144895a4335a2491c282931f1f2fa610b86339f
- https://git.kernel.org/stable/c/75a1621e4f91310673c9acbcbb25c2a7ff821cd3
- https://git.kernel.org/stable/c/779412e0e391fd4a0d12e1d1adaa7bf043de62d7
- https://git.kernel.org/stable/c/b285a8f3bbb821a93eb37c2740a68ca1d7112a59
- https://git.kernel.org/stable/c/daf6733bd7c4c5015b431739ac29b0e29021096b
Get alerted when CVE-2026-31603 or the next vulnerability affects your stack