# CVE-2026-31603: staging: sm750fb: fix division by zero in ps_to_hz()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:42:26.601Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-369
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; from 81dee67e215b23f0c98182eece122b906d35765a before 75a1621e4f91310673c9acbcbb25c2a7ff821cd3; 4.1 (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.*; from 6.18.24 up to 6.18.*; from 6.19.14 up to 6.19.*; from 7.0.1 up to 7.0.*; from 7.1 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/124a43550db8a74eef080cd4573a4904efe67029>
- <https://git.kernel.org/stable/c/b285a8f3bbb821a93eb37c2740a68ca1d7112a59>
- <https://git.kernel.org/stable/c/3300b049693138852a4c6738b5f1194a1ee91ddd>
- <https://git.kernel.org/stable/c/779412e0e391fd4a0d12e1d1adaa7bf043de62d7> (patch)
- <https://git.kernel.org/stable/c/2f640c6043aeab31a2f607d7605271860c3b11df> (patch)
- <https://git.kernel.org/stable/c/1412ba36597a82e928f20047f41d6c6582dafe8a> (patch)
- <https://git.kernel.org/stable/c/6144895a4335a2491c282931f1f2fa610b86339f> (patch)
- <https://git.kernel.org/stable/c/daf6733bd7c4c5015b431739ac29b0e29021096b> (patch)
- <https://git.kernel.org/stable/c/75a1621e4f91310673c9acbcbb25c2a7ff821cd3> (patch)

## Sources

- CVE List: [CVE-2026-31603](https://www.cve.org/CVERecord?id=CVE-2026-31603), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-31603](https://nvd.nist.gov/vuln/detail/CVE-2026-31603), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31603 · Whole record: https://cve.day/CVE-2026-31603.json · Rebuilt by cve.day 2026-11-25T22:59:19.510Z
