Back to CVE catalog
CVE-2025-71064

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

Linux Linux

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

5.5Medium
Published:
Updated:
EPSS:
0.3%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
4.16Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 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.*; unaffected: ≥ 6.12.64, ≤ 6.12.*; unaffected: ≥ 6.18.3, ≤ 6.18.*; unaffected: ≥ 6.19

Git commit ranges (source code)

  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit c149decd8c18ae6acdd7a6041d74507835cf26e6
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit bcefdb288eedac96fd2f583298927e9c6c481489
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit 6cd8a2930df850f4600fe8c57d0662b376520281
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit 1956d47a03eb625951e9e070db39fe2590e27510
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit 429f946a7af3fbf08761d218746cd4afa80a7954
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit 62f28d79a6186a602a9d926a2dbb5b12b6867df7
  • From commit e2cb1dec9779ba2d89302a653eb0abaeb8682196; before commit c2a16269742e176fccdd0ef9c016a233491a49ad
Vendor:SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)Affected versions:
≥ V3.1.6Show full version range for SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
≥ V3.1.7
Vendor:SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)Affected versions:
≥ V3.1.6Show full version range for SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
≥ V3.1.7
Vendor:SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)Affected versions:
≥ V3.1.6Show full version range for SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
≥ V3.1.7
Vendor:SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)Affected versions:
≥ V3.1.6Show full version range for SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
≥ V3.1.7
Vendor:SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)Affected versions:
≥ V3.1.6Show full version range for SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
≥ V3.1.7
Vendor:Red HatRed Hat Enterprise Linux 10Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 8Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 9Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP6Affected versions:Source does not specify a version range

1–10 of 40 · Page 1 of 4

CVSS scores and metrics2
Red Hat · Red Hat VEX (adp)Primary5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories18

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences