{"id":"CVE-2025-71064","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"net: hns3: using the num_tqps in the vf driver to apply for resources","description":"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->htqp is allocated using hdev->num_tqps, and kinfo->tqp\nis allocated using kinfo->num_tqps. However, kinfo->num_tqps is set to\nmin(new_tqps, hdev->num_tqps);  Therefore, kinfo->num_tqps may be smaller\nthan hdev->num_tqps, which causes some hdev->htqp[i] to remain\nuninitialized in hclgevf_knic_setup().\n\nThus, this patch allocates hdev->htqp and kinfo->tqp using hdev->num_tqps,\nensuring that the lengths of hdev->htqp and kinfo->tqp are consistent\nand that all elements are properly initialized.","ai_summary":null,"severity":"unknown","cvss":null,"scores":[],"cwe":[],"remote":null,"remote_unauth":null,"epss":{"score":0.00235,"percentile":0.15379,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"Linux","product":"Linux","versions":">= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < c149decd8c18ae6acdd7a6041d74507835cf26e6; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < bcefdb288eedac96fd2f583298927e9c6c481489; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < 6cd8a2930df850f4600fe8c57d0662b376520281; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < 1956d47a03eb625951e9e070db39fe2590e27510; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < 429f946a7af3fbf08761d218746cd4afa80a7954; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < 62f28d79a6186a602a9d926a2dbb5b12b6867df7; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < c2a16269742e176fccdd0ef9c016a233491a49ad","source":"cvelist"},{"vendor":"Linux","product":"Linux","versions":"4.16","source":"cvelist"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://git.kernel.org/stable/c/c149decd8c18ae6acdd7a6041d74507835cf26e6","kind":"other"},{"url":"https://git.kernel.org/stable/c/bcefdb288eedac96fd2f583298927e9c6c481489","kind":"other"},{"url":"https://git.kernel.org/stable/c/6cd8a2930df850f4600fe8c57d0662b376520281","kind":"other"},{"url":"https://git.kernel.org/stable/c/1956d47a03eb625951e9e070db39fe2590e27510","kind":"other"},{"url":"https://git.kernel.org/stable/c/429f946a7af3fbf08761d218746cd4afa80a7954","kind":"other"},{"url":"https://git.kernel.org/stable/c/62f28d79a6186a602a9d926a2dbb5b12b6867df7","kind":"other"},{"url":"https://git.kernel.org/stable/c/c2a16269742e176fccdd0ef9c016a233491a49ad","kind":"other"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","kind":"other"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","kind":"other"}],"workarounds":null,"vendors":["linux","siemens"],"products":["linux","simatic s7-1500 cpu 1518-4 pn/dp mfp (6es7518-4ax00-1ab0)","simatic s7-1500 cpu 1518-4 pn/dp mfp (6es7518-4ax00-1ac0)","simatic s7-1500 cpu 1518f-4 pn/dp mfp (6es7518-4fx00-1ab0)","simatic s7-1500 cpu 1518f-4 pn/dp mfp (6es7518-4fx00-1ac0)","siplus s7-1500 cpu 1518-4 pn/dp mfp (6ag1518-4ax00-4ac0)"],"cpes":[],"published_at":"2026-01-13T15:31:20.503Z","modified_at":"2026-11-10T13:18:03.097Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71064"}],"links":{"html":"https://flawdb.com/CVE-2025-71064","markdown":"https://flawdb.com/CVE-2025-71064.md","json":"https://flawdb.com/api/v1/entries/CVE-2025-71064"}}