VDB

CVE-2025-21650

CVE-2025-21650 PUBLISHED CVSS 7.1 HIGH

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

Reported by linux · Published January 19, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux7997ddd46c54408bcba5e37fe18b4d832e45d4d4

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux939ccd107ffcade20c9c7055a2e7ae0fd724fb72, 939ccd107ffcade20c9c7055a2e7ae0fd724fb72, 939ccd107ffcade20c9c7055a2e7ae0fd724fb72
LinuxLinux6.6, 0, 6.6.160
LinuxLinux6.6.160, 6.12.10, 939ccd107ffcade20c9c7055a2e7ae0fd724fb72
linuxlinux_kernel6.4.16, 6.5.3, 6.6

Timeline

  • Jan 19, 2025 CVE Published
  • Jan 20, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 20, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 22, 2025 Security Advisory (93 in total, the first dated here)
  • Sep 24, 2026 Distribution Patch (87 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21650
vulnetix vdb fixes CVE-2025-21650

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21650/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›