Skip to main content
Network Thinking Solutions Logo

CVE-2024-49977

Linux kernel: net: stmmac: Fix zero-division error when disabling tc cbs

All CVEs
CVE-2024-49977Published 10/21/2024

Linux kernel: net: stmmac: Fix zero-division error when disabling tc cbs

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/21/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.10.221, < 5.10.227

Verify advisory

Source
linux kernel
linux
≥ 5.15.162, < 5.15.168

Verify advisory

Source
linux kernel
linux
≥ 6.1.96, < 6.1.113

Verify advisory

Source
linux kernel
linux
≥ 6.6.36, < 6.6.55

Verify advisory

Source
linux kernel
linux
≥ 6.9.7, < 6.10

Verify advisory

Source
linux kernel
linux
≥ 6.10, < 6.10.14

Verify advisory

Source
linux kernel
linux
≥ 6.11, < 6.11.3

Verify advisory

Source
Linux
Linux
≥ b4bca4722fda928810d024350493990de39f1e40, < e33fe25b1efe4f2e6a5858786dbc82ae4c44ed4c

Verify advisory

Source
Linux
Linux
≥ 2145583e5995598f50d66f8710c86bb1e910ac46, < b0da9504a528f05f97d926b4db74ff21917a33e9

Verify advisory

Source
Linux
Linux
≥ 521d42a1c24d638241220d4b9fa7e7a0ed02b88e, < 5d43e1ad4567d67af2b42d3ab7c14152ffed25c6

Verify advisory

Source
Linux
Linux
≥ a71b686418ee6bcb6d6365f7f6d838d9874d9c64, < 03582f4752427f60817d896f1a827aff772bd31e

Verify advisory

Source
Linux
Linux
≥ b8c43360f6e424131fa81d3ba8792ad8ff25a09e, < e297a2bf56d12fd7f91a0c209eb6ea84361f3368

Verify advisory

Source
Linux
Linux
≥ b8c43360f6e424131fa81d3ba8792ad8ff25a09e, < 837d9df9c0792902710149d1a5e0991520af0f93

Verify advisory

Source
Linux
Linux
≥ b8c43360f6e424131fa81d3ba8792ad8ff25a09e, < 675faf5a14c14a2be0b870db30a70764df81e2df

Verify advisory

Source
Linux
Linux
f01782804147a8c21f481b3342c83422c041d2c0

Verify advisory

Source
Linux
Linux
≥ 5.10.221, < 5.10.227

Verify advisory

Source
Linux
Linux
≥ 5.15.162, < 5.15.168

Verify advisory

Source
Linux
Linux
≥ 6.1.96, < 6.1.113

Verify advisory

Source
Linux
Linux
≥ 6.6.36, < 6.6.55

Verify advisory

Source
Linux
Linux
≥ 6.9.7, < 6.10

Verify advisory

Source
Linux
Linux
6.10

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source
RUGGEDCOM RST2428P
Siemens
< V3.2

Verify advisory

Source
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
Siemens
< V3.2

Verify advisory

Source
SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Siemens
< V3.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.