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.
Published: 2026-04-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the framebuffer driver sm750fb contains a function ps_to_hz that divides by the pixclock value supplied by the FBIOPUT_VSCREENINFO ioctl. When a zero pixclock is passed, the driver performs an illicit division by zero. This arithmetic error (CWE‑369) could lead to a kernel crash or system reboot (inferred). The absence of validation allows an attacker to trigger a denial of service.

Affected Systems

The vulnerability applies to any Linux kernel build that includes the staging sm750fb framebuffer driver before the patch is applied. No specific kernel versions are enumerated, so all builds containing this code are potentially affected.

Risk and Exploitability

The EPSS score is less than 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of exploitation. The CVSS score is 5.5, indicating moderate severity. The likely attack vector involves a privileged user issuing the FBIOPUT_VSCREENINFO ioctl to set pixclock to zero, which can trigger a division by zero. Based on the description, it is inferred that the ioctl typically requires privileged or root access. Once patched, the driver rejects zero pixclock values, preventing the division by zero. The impact is high in environments with the sm750fb driver but the overall risk remains modest due to the low exploitation probability.

Generated by OpenCVE AI on April 29, 2026 at 21:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the sm750fb driver patch.
  • If the kernel cannot be updated immediately, remove or restrict access to the /dev/fb* devices for non‑privileged users to prevent the FBIOPUT_VSCREENINFO ioctl from being invoked.
  • Audit system usage of framebuffer devices and monitor for attempts to set pixclock to zero, enforcing privilege boundaries around framebuffer ioctl calls.

Generated by OpenCVE AI on April 29, 2026 at 21:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6238-1 linux security update
History

Mon, 01 Jun 2026 17:00:00 +0000


Wed, 29 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Mon, 27 Apr 2026 14:15:00 +0000


Mon, 27 Apr 2026 11:30:00 +0000


Sat, 25 Apr 2026 00:15:00 +0000


Fri, 24 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title staging: sm750fb: fix division by zero in ps_to_hz()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-01T16:12:25.229Z

Reserved: 2026-03-09T15:48:24.122Z

Link: CVE-2026-31603

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2026-04-24T15:16:39.453

Modified: 2026-06-01T17:16:51.030

Link: CVE-2026-31603

cve-icon Redhat

Severity :

Publid Date: 2026-04-24T00:00:00Z

Links: CVE-2026-31603 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T21:45:20Z

Weaknesses