CVE-2025-21651
net: hns3: don't auto enable misc vector
Description
In the Linux kernel, the following vulnerability has been resolved: net: hns3: don't auto enable misc vector Currently, there is a time window between misc irq enabled and service task inited. If an interrupte is reported at this time, it will cause warning like below: [ 16.324639] Call trace: [ 16.324641] __queue_delayed_work+0xb8/0xe0 [ 16.324643] mod_delayed_work_on+0x78/0xd0 [ 16.324655] hclge_errhand_task_schedule+0x58/0x90 [hclge] [ 16.324662] hclge_misc_irq_handle+0x168/0x240 [hclge] [ 16.324666] __handle_irq_event_percpu+0x64/0x1e0 [ 16.324667] handle_irq_event+0x80/0x170 [ 16.324670] handle_fasteoi_edge_irq+0x110/0x2bc [ 16.324671] __handle_domain_irq+0x84/0xfc [ 16.324673] gic_handle_irq+0x88/0x2c0 [ 16.324674] el1_irq+0xb8/0x140 [ 16.324677] arch_cpu_idle+0x18/0x40 [ 16.324679] default_idle_call+0x5c/0x1bc [ 16.324682] cpuidle_idle_call+0x18c/0x1c4 [ 16.324684] do_idle+0x174/0x17c [ 16.324685] cpu_startup_entry+0x30/0x6c [ 16.324687] secondary_start_kernel+0x1a4/0x280 [ 16.324688] ---[ end trace 6aa0bff672a964aa ]--- So don't auto enable misc vector when request irq..
INFO
Published Date :
Jan. 19, 2025, 11:15 a.m.
Last Modified :
Sept. 14, 2026, 12:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to a version where this issue is resolved.
- Avoid auto-enabling the misc vector in the HNS3 driver.
- Ensure the service task is initialized before enabling interrupts.
Public PoC/Exploit Available at Github
CVE-2025-21651 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21651.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21651 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21651
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Java Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21651 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21651 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 14, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/21xxx/CVE-2025-21651.json">CVE-2025-21651</a> Added Reference https://git.kernel.org/stable/c/41b84c5a603ffe987ec094e163d7da73aaf1841d Added Reference https://git.kernel.org/stable/c/7f1fe43907a6339a41364f4f7915fbf3ab2775a8 Added Reference https://git.kernel.org/stable/c/800a6dfcf570c4a7e168a6fe515904de56e97148 Added Reference https://git.kernel.org/stable/c/98b1e3b27734139c76295754b6c317aa4df6d32e Added Reference https://git.kernel.org/stable/c/bcf430d3bb5525fc89a92a0c451c725ba1aa4306 Added Reference https://git.kernel.org/stable/c/ee2861fce5f66c6901a014f68598e94666b23455 Removed Reference https://git.kernel.org/stable/c/98b1e3b27734139c76295754b6c317aa4df6d32e Removed Reference https://git.kernel.org/stable/c/bcf430d3bb5525fc89a92a0c451c725ba1aa4306 Removed Reference Type https://git.kernel.org/stable/c/98b1e3b27734139c76295754b6c317aa4df6d32e Types: Patch Removed Reference Type https://git.kernel.org/stable/c/bcf430d3bb5525fc89a92a0c451c725ba1aa4306 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7be1b9f3e99f6213d053d16ed2438126931d8351', 'lessThan': 'bcf430d3bb5525fc89a92a0c451c725ba1aa4306', 'versionType': 'git'}, {'status': 'affected', 'version': '7be1b9f3e99f6213d053d16ed2438126931d8351', 'lessThan': '98b1e3b27734139c76295754b6c317aa4df6d32e', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.10', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.13', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Oct. 16, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-362 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 6.12.10 Added Reference Type kernel.org: https://git.kernel.org/stable/c/98b1e3b27734139c76295754b6c317aa4df6d32e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bcf430d3bb5525fc89a92a0c451c725ba1aa4306 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 19, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: hns3: don't auto enable misc vector Currently, there is a time window between misc irq enabled and service task inited. If an interrupte is reported at this time, it will cause warning like below: [ 16.324639] Call trace: [ 16.324641] __queue_delayed_work+0xb8/0xe0 [ 16.324643] mod_delayed_work_on+0x78/0xd0 [ 16.324655] hclge_errhand_task_schedule+0x58/0x90 [hclge] [ 16.324662] hclge_misc_irq_handle+0x168/0x240 [hclge] [ 16.324666] __handle_irq_event_percpu+0x64/0x1e0 [ 16.324667] handle_irq_event+0x80/0x170 [ 16.324670] handle_fasteoi_edge_irq+0x110/0x2bc [ 16.324671] __handle_domain_irq+0x84/0xfc [ 16.324673] gic_handle_irq+0x88/0x2c0 [ 16.324674] el1_irq+0xb8/0x140 [ 16.324677] arch_cpu_idle+0x18/0x40 [ 16.324679] default_idle_call+0x5c/0x1bc [ 16.324682] cpuidle_idle_call+0x18c/0x1c4 [ 16.324684] do_idle+0x174/0x17c [ 16.324685] cpu_startup_entry+0x30/0x6c [ 16.324687] secondary_start_kernel+0x1a4/0x280 [ 16.324688] ---[ end trace 6aa0bff672a964aa ]--- So don't auto enable misc vector when request irq.. Added Reference https://git.kernel.org/stable/c/98b1e3b27734139c76295754b6c317aa4df6d32e Added Reference https://git.kernel.org/stable/c/bcf430d3bb5525fc89a92a0c451c725ba1aa4306