CVE-2025-71064

Source
https://cve.org/CVERecord?id=CVE-2025-71064
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71064.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71064
Downstream
Related
Published
2026-01-13T15:31:20.503Z
Modified
2026-03-12T04:32:14.341020Z
Summary
net: hns3: using the num_tqps in the vf driver to apply for resources
Details

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->numtqps, and kinfo->tqp is allocated using kinfo->numtqps. However, kinfo->numtqps is set to min(newtqps, hdev->numtqps); Therefore, kinfo->numtqps may be smaller than hdev->numtqps, which causes some hdev->htqp[i] to remain uninitialized in hclgevfknic_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71064.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2cb1dec9779ba2d89302a653eb0abaeb8682196
Fixed
c149decd8c18ae6acdd7a6041d74507835cf26e6
Fixed
bcefdb288eedac96fd2f583298927e9c6c481489
Fixed
6cd8a2930df850f4600fe8c57d0662b376520281
Fixed
1956d47a03eb625951e9e070db39fe2590e27510
Fixed
429f946a7af3fbf08761d218746cd4afa80a7954
Fixed
62f28d79a6186a602a9d926a2dbb5b12b6867df7
Fixed
c2a16269742e176fccdd0ef9c016a233491a49ad

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71064.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
5.10.248
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.198
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.160
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.64
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71064.json"