Skip to content
Heist/ feed
Back to feed
HighFix available

net: hns3: fix a deadlock problem when config TC during resetting

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix a deadlock problem when config TC during resetting When config TC during the reset process, may cause a deadlock, the flow is as below: pf reset start │ ▼ ...... setup tc │ │ ▼ ▼ DOWN: napi_disable() napi_disable()(skip) │ │ │ ▼ ▼ ...... ...... │ │ ▼ │ napi_enable() │ ▼ UINIT: netif_napi_del() │ ▼ ...... │ ▼ INIT: netif_napi_add() │ ▼ ...... global reset start │ │ ▼ ▼ UP: napi_enable()(skip) ...... │ │ ▼ ▼ ...... napi_disable() In reset process, the driver will DOWN the port and then UINIT, in this case, the setup tc process will UP the port before UINIT, so cause the problem. Adds a DOWN process in UINIT to fix it.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.225, 5.15.166, 5.4.283, 6.1.107, 6.10.7, 6.6.48
CVEs
CVE-2024-44995
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:56 UTC · Revision 1

Source evidence

net: hns3: fix a deadlock problem when config TC during resetting

core-osv · Original source

Published 4 Sept 2024, 19:54 UTC

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix a deadlock problem when config TC during resetting When config TC during the reset process, may cause a deadlock, the flow is as below: pf reset start │ ▼ ...... setup tc │ │ ▼ ▼ DOWN: napi_disable() napi_disable()(skip) │ │ │ ▼ ▼ ...... ...... │ │ ▼ │ napi_enable() │ ▼ UINIT: netif_napi_del() │ ▼ ...... │ ▼ INIT: netif_napi_add() │ ▼ ...... global reset start │ │ ▼ ▼ UP: napi_enable()(skip) ...... │ │ ▼ ▼ ...... napi_disable() In reset process, the driver will DOWN the port and then UINIT, in this case, the setup tc process will UP the port before UINIT, so cause the problem. Adds a DOWN process in UINIT to fix it.

osv:CVE-2024-44995

Kernel

Fixed versions: 5.4.283, 5.10.225, 5.15.166, 6.1.107, 6.6.48, 6.10.7

Complete source record
{
  "id": "760b6a768f55b603c65135a3af3f1fde22d75ff44950d001ddbdabbe8f00bfb6",
  "url": "https://osv.dev/vulnerability/CVE-2024-44995",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: hns3: fix a deadlock problem when config TC during resetting",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix a deadlock problem when config TC during resetting When config TC during the reset process, may cause a deadlock, the flow is as below: pf reset start │ ▼ ...... setup tc │ │ ▼ ▼ DOWN: napi_disable() napi_disable()(skip) │ │ │ ▼ ▼ ...... ...... │ │ ▼ │ napi_enable() │ ▼ UINIT: netif_napi_del() │ ▼ ...... │ ▼ INIT: netif_napi_add() │ ▼ ...... global reset start │ │ ▼ ▼ UP: napi_enable()(skip) ...... │ │ ▼ ▼ ...... napi_disable() In reset process, the driver will DOWN the port and then UINIT, in this case, the setup tc process will UP the port before UINIT, so cause the problem. Adds a DOWN process in UINIT to fix it.",
    "evidence": "osv:CVE-2024-44995",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.283",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.225",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.166",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.107",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.48",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-44995",
      "aliases": [
        "CVE-2024-44995"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bb6b94a896d4dd4dcdeccca87c3fd22521c652c0"
                },
                {
                  "fixed": "67492d4d105c0a6321b00c393eec96b9a7a97a16"
                },
                {
                  "fixed": "fc250eca15bde34c4c8f806b9d88f55bd56a992c"
                },
                {
                  "fixed": "195918217448a6bb7f929d6a2ffffce9f1ece1cc"
                },
                {
                  "fixed": "6ae2b7d63cd056f363045eb65409143e16f23ae8"
                },
                {
                  "fixed": "fa1d4de7265c370e673583ac8d1bd17d21826cd9"
                },
                {
                  "fixed": "de37408d5c26fc4a296a28a0c96dcb814219bfa1"
                },
                {
                  "fixed": "be5e816d00a506719e9dbb1a9c861c5ced30a109"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-44995.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.4.283"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.225"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.166"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.107"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.48"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-44995.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.104434652Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/195918217448a6bb7f929d6a2ffffce9f1ece1cc",
        "https://git.kernel.org/stable/c/67492d4d105c0a6321b00c393eec96b9a7a97a16",
        "https://git.kernel.org/stable/c/6ae2b7d63cd056f363045eb65409143e16f23ae8",
        "https://git.kernel.org/stable/c/be5e816d00a506719e9dbb1a9c861c5ced30a109",
        "https://git.kernel.org/stable/c/de37408d5c26fc4a296a28a0c96dcb814219bfa1",
        "https://git.kernel.org/stable/c/fa1d4de7265c370e673583ac8d1bd17d21826cd9",
        "https://git.kernel.org/stable/c/fc250eca15bde34c4c8f806b9d88f55bd56a992c",
        "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44995.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-44995",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44995.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-44995",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499840,
  "published_at": "2024-09-04T19:54:40.878+00:00"
}