CVE-2026-31603

Source
https://cve.org/CVERecord?id=CVE-2026-31603
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31603.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31603
Downstream
Related
Published
2026-04-24T14:42:26.601Z
Modified
2026-06-18T03:57:40.078681692Z
Summary
staging: sm750fb: fix division by zero in ps_to_hz()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

pstohz() is called from hwsm750crtcsetmode() 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 lynxfbopscheck_var(), consistent with other framebuffer drivers.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31603.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
81dee67e215b23f0c98182eece122b906d35765a
Fixed
124a43550db8a74eef080cd4573a4904efe67029
Fixed
b285a8f3bbb821a93eb37c2740a68ca1d7112a59
Fixed
3300b049693138852a4c6738b5f1194a1ee91ddd
Fixed
779412e0e391fd4a0d12e1d1adaa7bf043de62d7
Fixed
2f640c6043aeab31a2f607d7605271860c3b11df
Fixed
1412ba36597a82e928f20047f41d6c6582dafe8a
Fixed
6144895a4335a2491c282931f1f2fa610b86339f
Fixed
daf6733bd7c4c5015b431739ac29b0e29021096b
Fixed
75a1621e4f91310673c9acbcbb25c2a7ff821cd3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31603.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.136
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.83
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.24
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.14
Type
ECOSYSTEM
Events
Introduced
6.20.0
Fixed
7.0.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31603.json"