FKIE_CVE-2025-71064

Vulnerability from fkie_nvd - Published: 2026-01-13 16:16 - Updated: 2026-06-17 10:03
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: net: hns3: using the num_tqps in the vf driver to apply for resources Currently, hdev->htqp is allocated using hdev->num_tqps, and kinfo->tqp is allocated using kinfo->num_tqps. However, kinfo->num_tqps is set to min(new_tqps, hdev->num_tqps); Therefore, kinfo->num_tqps may be smaller than hdev->num_tqps, which causes some hdev->htqp[i] to remain uninitialized in hclgevf_knic_setup(). Thus, this patch allocates hdev->htqp and kinfo->tqp using hdev->num_tqps, ensuring that the lengths of hdev->htqp and kinfo->tqp are consistent and that all elements are properly initialized.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c149decd8c18ae6acdd7a6041d74507835cf26e6",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "bcefdb288eedac96fd2f583298927e9c6c481489",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "6cd8a2930df850f4600fe8c57d0662b376520281",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "1956d47a03eb625951e9e070db39fe2590e27510",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "429f946a7af3fbf08761d218746cd4afa80a7954",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "62f28d79a6186a602a9d926a2dbb5b12b6867df7",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            },
            {
              "lessThan": "c2a16269742e176fccdd0ef9c016a233491a49ad",
              "status": "affected",
              "version": "e2cb1dec9779ba2d89302a653eb0abaeb8682196",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.16"
            },
            {
              "lessThan": "4.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.248",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: using the num_tqps in the vf driver to apply for resources\n\nCurrently, hdev-\u003ehtqp is allocated using hdev-\u003enum_tqps, and kinfo-\u003etqp\nis allocated using kinfo-\u003enum_tqps. However, kinfo-\u003enum_tqps is set to\nmin(new_tqps, hdev-\u003enum_tqps);  Therefore, kinfo-\u003enum_tqps may be smaller\nthan hdev-\u003enum_tqps, which causes some hdev-\u003ehtqp[i] to remain\nuninitialized in hclgevf_knic_setup().\n\nThus, this patch allocates hdev-\u003ehtqp and kinfo-\u003etqp using hdev-\u003enum_tqps,\nensuring that the lengths of hdev-\u003ehtqp and kinfo-\u003etqp are consistent\nand that all elements are properly initialized."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: hns3: usando los num_tqps en el controlador vf para solicitar recursos\n\nActualmente, hdev-\u0026gt;htqp se asigna usando hdev-\u0026gt;num_tqps, y kinfo-\u0026gt;tqp se asigna usando kinfo-\u0026gt;num_tqps. Sin embargo, kinfo-\u0026gt;num_tqps se establece en min(new_tqps, hdev-\u0026gt;num_tqps); Por lo tanto, kinfo-\u0026gt;num_tqps puede ser menor que hdev-\u0026gt;num_tqps, lo que provoca que algunos hdev-\u0026gt;htqp[i] permanezcan sin inicializar en hclgevf_knic_setup().\n\nAs\u00ed, este parche asigna hdev-\u0026gt;htqp y kinfo-\u0026gt;tqp usando hdev-\u0026gt;num_tqps, asegurando que las longitudes de hdev-\u0026gt;htqp y kinfo-\u0026gt;tqp sean consistentes y que todos los elementos se inicialicen correctamente."
    }
  ],
  "id": "CVE-2025-71064",
  "lastModified": "2026-06-17T10:03:35.087",
  "metrics": {},
  "published": "2026-01-13T16:16:05.740",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1956d47a03eb625951e9e070db39fe2590e27510"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/429f946a7af3fbf08761d218746cd4afa80a7954"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/62f28d79a6186a602a9d926a2dbb5b12b6867df7"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6cd8a2930df850f4600fe8c57d0662b376520281"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bcefdb288eedac96fd2f583298927e9c6c481489"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c149decd8c18ae6acdd7a6041d74507835cf26e6"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c2a16269742e176fccdd0ef9c016a233491a49ad"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Deferred"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…