CVE-2025-38312

MediumCVSS 5.5/10Last modified Nov 5, 2026

Description

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

fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod()

In fb_find_mode_cvt(), iff mode->refresh somehow happens to be 0x80000000, cvt.f_refresh will become 0 when multiplying it by 2 due to overflow. It's then passed to fb_cvt_hperiod(), where it's used as a divider -- division by 0 will result in kernel oops. Add a sanity check for cvt.f_refresh to avoid such overflow...

Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 9027ce4c037b566b658b8939a76326b7125e3627; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 610f247f2772e4f92b63442125a1b7ade79898d8; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 2d63433e8eaa3c91b2948190e395bc67009db0d9; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 54947530663edcbaaee1314c01fdd8c72861b124; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < ab91647acdf43b984824776559a452212eaeb21a; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < b235393b9f43ff86a38ca2bde6372312ea215dc5; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 53784073cbad18f75583fd3da9ffdfc4d1f05405; >= 96fe6a2109db29cd15b90a093c16e6cb4b19371a, < 3f6dae09fc8c306eb70fdfef70726e1f154e173a
LinuxLinux2.6.14
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.5, < *
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *

References

Timeline

Published
Jul 10, 2025
Last modified
Nov 5, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-383137.8In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: fix double-free on mc_dev The blamed commit tried to simpCVE-2025-383145.5In the Linux kernel, the following vulnerability has been resolved: virtio-pci: Fix result size returned for the admin command completion CVE-2025-383155.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btintel: Check dsbr size from EFI variable Since the size oCVE-2025-383165.5In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitoCVE-2025-383177.8In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix buffer overflow in debugfs If the user tries to writCVE-2025-383185.5In the Linux kernel, the following vulnerability has been resolved: perf: arm-ni: Fix missing platform_set_drvdata() Add missing platform_CVE-2025-383195.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialiCVE-2025-38326.4The FuseDesk plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘successredirect’ parameter in all versions up to, anCVE-2025-383207.1In the Linux kernel, the following vulnerability has been resolved: arm64/ptrace: Fix stack-out-of-bounds read in regs_get_kernel_stack_nthCVE-2025-383215.5In the Linux kernel, the following vulnerability has been resolved: smb: Log an error when close_all_cached_dirs fails Under low-memory coCVE-2025-383225.5In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix crash in icl_update_topdown_event() The perf_fuzzeCVE-2025-383237.8In the Linux kernel, the following vulnerability has been resolved: net: atm: add lec_mutex syzbot found its way in net/atm/lec.c, and fou
CVE-2025-38312: Medium severity, CVSS 5.5 | Vulnix