Skip to content
Heist/ feed
Back to feed
MediumFix available

linux — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2024-49977

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.

Products
linux
Affected versions
6.1.106-1, 6.1.106-2, 6.1.106-3, 6.1.112-1, 6.1.27-1, 6.1.37-1, 6.1.38-1, 6.1.38-2, 6.1.38-2~bpo11+1, 6.1.38-3, 6.1.38-4, 6.1.38-4~bpo11+1, 6.1.52-1, 6.1.55-1, 6.1.55-1~bpo11+1, 6.1.64-1, 6.1.66-1, 6.1.67-1, 6.1.69-1, 6.1.69-1~bpo11+1, 6.1.76-1, 6.1.76-1~bpo11+1, 6.1.82-1, 6.1.85-1, 6.1.90-1, 6.1.90-1~bpo11+1, 6.1.94-1, 6.1.94-1~bpo11+1, 6.1.98-1, 6.1.99-1
Fixed versions
6.1.115-1, 6.11.4-1
CVEs
CVE-2024-49977
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2024-49977

core-osv · Original source

Published 21 Oct 2024, 18:15 UTC

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.

osv:DEBIAN-CVE-2024-49977

linux

Fixed versions: 6.1.115-1

linux

Fixed versions: 6.11.4-1

linux

Fixed versions: 6.11.4-1

Complete source record
{
  "id": "36c3ae2764e3e24f2168361cc75c2b53c2d1c825b34172c91d85aff33fb08512",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-49977",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2024-49977",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2024-49977",
    "products": [
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.115-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.1.106-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.106-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.106-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.112-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.27-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.37-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-2~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-4~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.52-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.55-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.55-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.64-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.66-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.67-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.69-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.69-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.76-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.76-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.82-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.85-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.90-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.90-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.94-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.94-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.98-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.99-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.11.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.11.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2024-49977",
      "aliases": [
        "DEBIAN-CVE-2024-49977"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.1.115-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "6.1.106-1",
            "6.1.106-2",
            "6.1.106-3",
            "6.1.112-1",
            "6.1.27-1",
            "6.1.37-1",
            "6.1.38-1",
            "6.1.38-2",
            "6.1.38-2~bpo11+1",
            "6.1.38-3",
            "6.1.38-4",
            "6.1.38-4~bpo11+1",
            "6.1.52-1",
            "6.1.55-1",
            "6.1.55-1~bpo11+1",
            "6.1.64-1",
            "6.1.66-1",
            "6.1.67-1",
            "6.1.69-1",
            "6.1.69-1~bpo11+1",
            "6.1.76-1",
            "6.1.76-1~bpo11+1",
            "6.1.82-1",
            "6.1.85-1",
            "6.1.90-1",
            "6.1.90-1~bpo11+1",
            "6.1.94-1",
            "6.1.94-1~bpo11+1",
            "6.1.98-1",
            "6.1.99-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-49977.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.11.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-49977.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.11.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-49977.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:36.303354068Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-49977"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2024-49977"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-49977",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327908,
  "published_at": "2024-10-21T18:15:18.417+00:00"
}