Aller au contenu
Non notée

CVE-2025-38312 fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod()

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.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.16 premières → < 6.16 6.16
Linux 6.15 premières → < 6.15.3 6.15.3
Linux 6.12 premières → < 6.12.34 6.12.34
Linux 6.6 premières → < 6.6.94 6.6.94
Linux 6.1 premières → < 6.1.142 6.1.142
Linux 5.15 premières → < 5.15.186 5.15.186
Linux 5.10 premières → < 5.10.239 5.10.239
Linux 5.4 premières → < 5.4.295 5.4.295
Linux 2.6.14 Pas de correctif indiqué
Afficher les 3 autres branches
Produit Versions touchées Corrigé en
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.5 → dernières Pas de correctif indiqué
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.5 → dernières Pas de correctif indiqué
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.5 → dernières Pas de correctif indiqué
Les 18286 CVE de Linux →
Suivre cette CVE