CVE-2025-71064

Linux Kernel <=6.18.3 - HNS3 VF Driver Uninitialized Memory Exposure

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0007
EPSS Percentile 21.0%

Details

Status published
Products (22)
linux/Kernel 4.16.0 - 5.10.248linux
linux/Kernel 5.11.0 - 5.15.198linux
linux/Kernel 5.16.0 - 6.1.160linux
linux/Kernel 6.13.0 - 6.18.3linux
linux/Kernel 6.2.0 - 6.6.120linux
linux/Kernel 6.7.0 - 6.12.64linux
Linux/Linux < 4.16
Linux/Linux 4.16
Linux/Linux 5.10.248 - 5.10.*
Linux/Linux 5.15.198 - 5.15.*
... and 12 more
Published Jan 13, 2026
Tracked Since Feb 18, 2026