CVE-2025-71064

net: hns3: using the num_tqps in the vf driver to apply for resources

Not available

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < c149decd8c18ae6acdd7a6041d74507835cf26e6 ; affected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < bcefdb288eedac96fd2f583298927e9c6c481489 ; affected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < 6cd8a2930df850f4600fe8c57d0662b376520281 ; affected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < 1956d47a03eb625951e9e070db39fe2590e27510 ; affected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < 429f946a7af3fbf08761d218746cd4afa80a7954 ; affected e2cb1dec9779ba2d89302a653eb0abaeb8682196 < 62f28d79a6186a602a9d926a2dbb5b12b6867df7
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD