staging: sm750fb: fix division by zero in ps_to_hz()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.258, 5.15.209, 6.1.175, 6.12.83, 6.18.24, 6.19.14, 6.6.136, 7.0.1
- CVEs
- CVE-2026-31603
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:24 UTC · Revision 1
Source evidence
staging: sm750fb: fix division by zero in ps_to_hz()
core-osv · Original sourcePublished 24 Apr 2026, 14:42 UTC
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.
osv:CVE-2026-31603
Kernel
Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1
Complete source record
{
"id": "add20435e173a12afe8fcd6dcdfc07d82df886ba8a6ea9a9956b903e71e68d3a",
"url": "https://osv.dev/vulnerability/CVE-2026-31603",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "staging: sm750fb: fix division by zero in ps_to_hz()",
"summary": "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.",
"evidence": "osv:CVE-2026-31603",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.209",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.136",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.83",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.24",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.14",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-31603",
"aliases": [
"CVE-2026-31603"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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/cve-osv-conversion/osv-output/CVE-2026-31603.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31603.json"
}
}
],
"modified": "2026-10-28T02:30:24.671817526Z",
"provider": "osv",
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31603.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31603",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31603.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31603",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 490865,
"published_at": "2026-04-24T14:42:26.601+00:00"
}