-

CVE-2025-71064

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

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.
Daten sind bereitgestellt durch das CVE Programm von Authorized Data Publishers (ADP) (Unstrukturiert)
HerstellerSiemens
≫
Produkt SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Default Statusunknown
Version V3.1.6
Version < *
Status affected
HerstellerSiemens
≫
Produkt SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Default Statusunknown
Version V3.1.6
Version < *
Status affected
HerstellerSiemens
≫
Produkt SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Default Statusunknown
Version V3.1.6
Version < *
Status affected
HerstellerSiemens
≫
Produkt SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Default Statusunknown
Version V3.1.6
Version < *
Status affected
HerstellerSiemens
≫
Produkt SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Default Statusunknown
Version V3.1.6
Version < *
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.18% 0.082
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/6cd8a2930df850f4600fe8c57d0662b376520281
https://git.kernel.org/stable/c/1956d47a03eb625951e9e070db39fe2590e27510
https://git.kernel.org/stable/c/429f946a7af3fbf08761d218746cd4afa80a7954
https://git.kernel.org/stable/c/62f28d79a6186a602a9d926a2dbb5b12b6867df7
https://git.kernel.org/stable/c/c2a16269742e176fccdd0ef9c016a233491a49ad
https://git.kernel.org/stable/c/bcefdb288eedac96fd2f583298927e9c6c481489
https://git.kernel.org/stable/c/c149decd8c18ae6acdd7a6041d74507835cf26e6
https://cert-portal.siemens.com/productcert/html/ssa-019113.html