CVE-2024-49977

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedOct 21, 2024
First seenOct 21, 2024

How to fix

Update
  • linux linux_kernel5.10.227, 5.15.168, 6.1.113, 6.6.55, 6.10, 6.10.14, 6.11.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.10.221 ≤ v < 5.10.227, 5.15.162 ≤ v < 5.15.168, 6.1.96 ≤ v < 6.1.113, 6.6.36 ≤ v < 6.6.55, 6.9.7 ≤ v < 6.10, 6.10 ≤ v < 6.10.14, 6.11 ≤ v < 6.11.35.10.227, 5.15.168, 6.1.113, 6.6.55, 6.10, 6.10.14, 6.11.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.