CVE-2025-71064 net: hns3: using the num_tqps in the vf driver to apply for resources
A flaw in the Linux kernel hns3 driver causes uninitialized memory access, potentially leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71064?
CVE-2025-71064 is a vulnerability in Linux, published on 13 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-71064?
How do I fix CVE-2025-71064?
Apply the vendor's patch.
Is CVE-2025-71064 being exploited?
There is no known exploitation of CVE-2025-71064 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-71064, DEBIAN-CVE-2025-71064, GHSA-w787-fq27-wmmf, ROOT-OS-DEBIAN-11-CVE-2025-71064, ROOT-OS-DEBIAN-12-CVE-2025-71064, ROOT-OS-DEBIAN-13-CVE-2025-71064 and 3 more.