Aller au contenu
Non notée

CVE-2024-49977 In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Fix zero-division error when…

Description

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Fix zero-division error when disabling tc cbs The commit b8c43360f6e4 ("net: stmmac: No need to calculate speed divider when offload is disabled") allows the "port_transmit_rate_kbps" to be set to a value of 0, which is then passed to the "div_s64" function when tc-cbs is disabled. This leads to a zero-division error. When tc-cbs is disabled, the idleslope, sendslope, and credit values the credit values are not required to be configured. Therefore, adding a return statement after setting the txQ mode to DCB when tc-cbs is disabled would prevent a zero-division error.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.12 premières → < 6.12 6.12
Linux 6.11 premières → < 6.11.3 6.11.3
Linux 6.10 6.10.14
Linux 6.6 premières → < 6.6.55 6.6.55
Linux 6.1 premières → < 6.1.113 6.1.113
Linux 5.15 premières → < 5.15.168 5.15.168
Linux 5.10 premières → < 5.10.227 5.10.227
RUGGEDCOM RST2428P 3.2 premières → < 3.2 3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 premières → < 3.2 3.2
Afficher les 2 autres branches
Produit Versions touchées Corrigé en
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 premières → < 3.2 3.2
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE