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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2026-01-13T15:31:20.503Z
- **Modified:** 2026-11-10T13:18:03.097Z

## Who should check

- Anyone running Linux \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c149decd8c18ae6acdd7a6041d74507835cf26e6; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< bcefdb288eedac96fd2f583298927e9c6c481489; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 6cd8a2930df850f4600fe8c57d0662b376520281; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 1956d47a03eb625951e9e070db39fe2590e27510; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 429f946a7af3fbf08761d218746cd4afa80a7954; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 62f28d79a6186a602a9d926a2dbb5b12b6867df7; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c2a16269742e176fccdd0ef9c016a233491a49ad
- Anyone running Linux 4.16

## 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.

## Affected and fixed versions

- Linux: \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c149decd8c18ae6acdd7a6041d74507835cf26e6; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< bcefdb288eedac96fd2f583298927e9c6c481489; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 6cd8a2930df850f4600fe8c57d0662b376520281; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 1956d47a03eb625951e9e070db39fe2590e27510; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 429f946a7af3fbf08761d218746cd4afa80a7954; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 62f28d79a6186a602a9d926a2dbb5b12b6867df7; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c2a16269742e176fccdd0ef9c016a233491a49ad (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71064. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71064.md
Affected: Linux >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < c149decd8c18ae6acdd7a6041d74507835cf26e6; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < bcefdb288eedac96fd2f583298927e9c6c481489; >= e2cb1dec9779ba2d89302a653eb0abaeb8682196, < 6cd8a2930df850f4600fe8c57d0662b376520281; >= e2cb1dec9779ba2d89302a6…
Fixed in: Linux 6cd8a2930df850f4600fe8c57d0662b376520281, Linux 1956d47a03eb625951e9e070db39fe2590e27510, Linux 429f946a7af3fbf08761d218746cd4afa80a7954, Linux 62f28d79a6186a602a9d926a2dbb5b12b6867df7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71064 being exploited?

There is no confirmed exploitation: CVE-2025-71064 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-71064?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-71064?

Linux \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c149decd8c18ae6acdd7a6041d74507835cf26e6; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< bcefdb288eedac96fd2f583298927e9c6c481489; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 6cd8a2930df850f4600fe8c57d0662b376520281; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 1956d47a03eb625951e9e070db39fe2590e27510; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 429f946a7af3fbf08761d218746cd4afa80a7954; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< 62f28d79a6186a602a9d926a2dbb5b12b6867df7; \>= e2cb1dec9779ba2d89302a653eb0abaeb8682196, \< c2a16269742e176fccdd0ef9c016a233491a49ad; Linux 4.16.

### Is there a fix for CVE-2025-71064?

Yes. Fixed in Linux 6cd8a2930df850f4600fe8c57d0662b376520281, Linux 1956d47a03eb625951e9e070db39fe2590e27510, Linux 429f946a7af3fbf08761d218746cd4afa80a7954, Linux 62f28d79a6186a602a9d926a2dbb5b12b6867df7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-71064?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c149decd8c18ae6acdd7a6041d74507835cf26e6>
- other: <https://git.kernel.org/stable/c/bcefdb288eedac96fd2f583298927e9c6c481489>
- other: <https://git.kernel.org/stable/c/6cd8a2930df850f4600fe8c57d0662b376520281>
- other: <https://git.kernel.org/stable/c/1956d47a03eb625951e9e070db39fe2590e27510>
- other: <https://git.kernel.org/stable/c/429f946a7af3fbf08761d218746cd4afa80a7954>
- other: <https://git.kernel.org/stable/c/62f28d79a6186a602a9d926a2dbb5b12b6867df7>
- other: <https://git.kernel.org/stable/c/c2a16269742e176fccdd0ef9c016a233491a49ad>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71064>

HTML: <https://flawdb.com/CVE-2025-71064> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71064>
