Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BCFA3DEFFA for ; Fri, 24 Apr 2026 14:45:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041951; cv=none; b=fvLpiaRweRTK1xsyUuTqZFw6JF0OiPpHbtwm3eK/pHzPy/vOV/hBiJgLAchkMa+mhqdY9iQfbS9MIOGQ6wfHnkNK87JoGzGomSzbMrYvloVrzPoWnO2tNHjznMn3dAQu8mcyP3jeBJtS/wOCjBmKGgV7EOXF2ttg5pPiEocx0JY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041951; c=relaxed/simple; bh=gLHMXJHWhJChj+3Yo+Tum8EI4q9/KjDOXRM9F6qt1Xc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rgw7r84GNupEvAtDvclqdqNTUYw3Df5Cv8Ns/RQ3E+Z6eQ1zP5KTJtyivoWpfRKQlx7LeDaihItw9j32q8JuhNYOcVecpIBo7D/DqoVYRSJenQ4fBDJ49ud+ik97yPXT1eRT8VwdAbCIBkrnAf30ur/GMBJebndiD621RtVW1mQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WJHs48R6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WJHs48R6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4B59C2BCB2; Fri, 24 Apr 2026 14:45:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041951; bh=gLHMXJHWhJChj+3Yo+Tum8EI4q9/KjDOXRM9F6qt1Xc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=WJHs48R6kiVy+nSCX+GF8uMzg8BTO7kTCq/+UXApJwJK8iwTq1uENiAQTeLBSD9PP M39exCPlhkx1WisqNEmAumvitil5K+X9c5h1/7PDqNloKW4cugriIiVS4Ow8Smsw2t 8KnEf+PI/eMSemlxkXGZDQqVZcr8WzCHm9T9lW+g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31603: staging: sm750fb: fix division by zero in ps_to_hz() Date: Fri, 24 Apr 2026 16:43:39 +0200 Message-ID: <2026042419-CVE-2026-31603-bfce@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2251; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eiDXrX4K9EYWil0eoBBmC5DFhnqvxgrbvrCm6Gzdcf0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG9u3/txx8JLtnm2bBGWUji+6LLHy6/bYnPiiV7NT/ i5dozjrY0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMhD2SYZ7ySuGzxWuklQoX 7QiZV7hewm7h45sM8xSvbG09totLdqGy688laveYTsqlZQMA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-31603 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit 2f640c6043aeab31a2f607d7605271860c3b11df Fixed in 6.18.24 with commit 1412ba36597a82e928f20047f41d6c6582dafe8a Fixed in 6.19.14 with commit 6144895a4335a2491c282931f1f2fa610b86339f Fixed in 7.0.1 with commit daf6733bd7c4c5015b431739ac29b0e29021096b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-31603 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/staging/sm750fb/sm750.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/2f640c6043aeab31a2f607d7605271860c3b11df https://git.kernel.org/stable/c/1412ba36597a82e928f20047f41d6c6582dafe8a https://git.kernel.org/stable/c/6144895a4335a2491c282931f1f2fa610b86339f https://git.kernel.org/stable/c/daf6733bd7c4c5015b431739ac29b0e29021096b https://git.kernel.org/stable/c/75a1621e4f91310673c9acbcbb25c2a7ff821cd3