Skip to main content
Network Thinking Solutions Logo

CVE-2025-21650

Linux kernel: net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue

All CVEs
CVE-2025-21650Published 1/19/2025

Linux kernel: net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue The TQP BAR space is divided into two segments. TQPs 0-1023 and TQPs 1024-1279 are in different BAR space addresses. However, hclge_fetch_pf_reg does not distinguish the tqp space information when reading the tqp space information. When the number of TQPs is greater than 1024, access bar space overwriting occurs. The problem of different segments has been considered during the initialization of tqp.io_base. Therefore, tqp.io_base is directly used when the queue is read in hclge_fetch_pf_reg. The error message: Unable to handle kernel paging request at virtual address ffff800037200000 pc : hclge_fetch_pf_reg+0x138/0x250 [hclge] lr : hclge_get_regs+0x84/0x1d0 [hclge] Call trace: hclge_fetch_pf_reg+0x138/0x250 [hclge] hclge_get_regs+0x84/0x1d0 [hclge] hns3_get_regs+0x2c/0x50 [hns3] ethtool_get_regs+0xf4/0x270 dev_ethtool+0x674/0x8a0 dev_ioctl+0x270/0x36c sock_do_ioctl+0x110/0x2a0 sock_ioctl+0x2ac/0x530 __arm64_sys_ioctl+0xa8/0x100 invoke_syscall+0x4c/0x124 el0_svc_common.constprop.0+0x140/0x15c do_el0_svc+0x30/0xd0 el0_svc+0x1c/0x2c el0_sync_handler+0xb0/0xb4 el0_sync+0x168/0x180

Published
1/19/2025
Last modified
10/21/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.4.16, < 6.5

Verify advisory

Source
linux kernel
linux
≥ 6.5.3, < 6.12.10

Verify advisory

Source
linux kernel
linux
6.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 939ccd107ffcade20c9c7055a2e7ae0fd724fb72, < a85246635466752b9af72188e4a839541120d952

Verify advisory

Source
Linux
Linux
≥ 939ccd107ffcade20c9c7055a2e7ae0fd724fb72, < 0575baa733fc4219f230aef22d5bc35d922f1e9a

Verify advisory

Source
Linux
Linux
≥ 939ccd107ffcade20c9c7055a2e7ae0fd724fb72, < 7997ddd46c54408bcba5e37fe18b4d832e45d4d4

Verify advisory

Source
Linux
Linux
df34972a33d268a7113c119fe4e4b07a6819aa0c

Verify advisory

Source
Linux
Linux
2b1fff96a297034f03466cfecda9824adafe16ed

Verify advisory

Source
Linux
Linux
≥ 6.4.16, < 6.5

Verify advisory

Source
Linux
Linux
≥ 6.5.3, < 6.6

Verify advisory

Source
Linux
Linux
6.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.