Vulnerabilities

CVE-2024-49977

Medium 5.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-10-21
Last modified
2026-10-15
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 5.10.221, < 5.10.227 Affected
Linux Linux Kernel ≥ 5.15.162, < 5.15.168 Affected
Linux Linux Kernel ≥ 6.1.96, < 6.1.113 Affected
Linux Linux Kernel ≥ 6.10, < 6.10.14 Affected
Linux Linux Kernel ≥ 6.11, < 6.11.3 Affected
Linux Linux Kernel ≥ 6.6.36, < 6.6.55 Affected
Linux Linux Kernel ≥ 6.9.7, < 6.10 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities