staging: sm750fb: fix division by zero in ps_to_hz()
Summary
| CVE | CVE-2026-31603 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-24 15:16:39 UTC |
| Updated | 2026-06-01 17:16:51 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000180000 probability, percentile 0.048130000 (date 2026-04-27)
Problem Types: CWE-369
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 124a43550db8a74eef080cd4573a4904efe67029 git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a b285a8f3bbb821a93eb37c2740a68ca1d7112a59 git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 3300b049693138852a4c6738b5f1194a1ee91ddd git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 779412e0e391fd4a0d12e1d1adaa7bf043de62d7 git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 2f640c6043aeab31a2f607d7605271860c3b11df git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 1412ba36597a82e928f20047f41d6c6582dafe8a git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 6144895a4335a2491c282931f1f2fa610b86339f git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a daf6733bd7c4c5015b431739ac29b0e29021096b git | Not specified |
| CNA | Linux | Linux | affected 81dee67e215b23f0c98182eece122b906d35765a 75a1621e4f91310673c9acbcbb25c2a7ff821cd3 git | Not specified |
| CNA | Linux | Linux | affected 4.1 | Not specified |
| CNA | Linux | Linux | unaffected 4.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.136 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.83 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.24 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.14 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.1 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/daf6733bd7c4c5015b431739ac29b0e29021096b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/124a43550db8a74eef080cd4573a4904efe67029 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6144895a4335a2491c282931f1f2fa610b86339f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2f640c6043aeab31a2f607d7605271860c3b11df | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b285a8f3bbb821a93eb37c2740a68ca1d7112a59 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/779412e0e391fd4a0d12e1d1adaa7bf043de62d7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3300b049693138852a4c6738b5f1194a1ee91ddd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/75a1621e4f91310673c9acbcbb25c2a7ff821cd3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1412ba36597a82e928f20047f41d6c6582dafe8a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.