5.5
MEDIUM
CVE-2024-49977
Apache Linux Net Division By Zero
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.

INFO

Published Date :

Oct. 21, 2024, 6:15 p.m.

Last Modified :

Oct. 25, 2024, 8:03 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-49977 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-49977 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-49977 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 25, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/03582f4752427f60817d896f1a827aff772bd31e No Types Assigned https://git.kernel.org/stable/c/03582f4752427f60817d896f1a827aff772bd31e Patch
    Changed Reference Type https://git.kernel.org/stable/c/5d43e1ad4567d67af2b42d3ab7c14152ffed25c6 No Types Assigned https://git.kernel.org/stable/c/5d43e1ad4567d67af2b42d3ab7c14152ffed25c6 Patch
    Changed Reference Type https://git.kernel.org/stable/c/675faf5a14c14a2be0b870db30a70764df81e2df No Types Assigned https://git.kernel.org/stable/c/675faf5a14c14a2be0b870db30a70764df81e2df Patch
    Changed Reference Type https://git.kernel.org/stable/c/837d9df9c0792902710149d1a5e0991520af0f93 No Types Assigned https://git.kernel.org/stable/c/837d9df9c0792902710149d1a5e0991520af0f93 Patch
    Changed Reference Type https://git.kernel.org/stable/c/b0da9504a528f05f97d926b4db74ff21917a33e9 No Types Assigned https://git.kernel.org/stable/c/b0da9504a528f05f97d926b4db74ff21917a33e9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/e297a2bf56d12fd7f91a0c209eb6ea84361f3368 No Types Assigned https://git.kernel.org/stable/c/e297a2bf56d12fd7f91a0c209eb6ea84361f3368 Patch
    Changed Reference Type https://git.kernel.org/stable/c/e33fe25b1efe4f2e6a5858786dbc82ae4c44ed4c No Types Assigned https://git.kernel.org/stable/c/e33fe25b1efe4f2e6a5858786dbc82ae4c44ed4c Patch
    Added CWE NIST CWE-369
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.221 up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.162 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.96 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.36 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9.7 up to (excluding) 6.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.10 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/e33fe25b1efe4f2e6a5858786dbc82ae4c44ed4c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/b0da9504a528f05f97d926b4db74ff21917a33e9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/5d43e1ad4567d67af2b42d3ab7c14152ffed25c6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/03582f4752427f60817d896f1a827aff772bd31e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e297a2bf56d12fd7f91a0c209eb6ea84361f3368 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/837d9df9c0792902710149d1a5e0991520af0f93 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/675faf5a14c14a2be0b870db30a70764df81e2df [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-49977 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-49977 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability