CVE-2025-21651: net: hns3: don't auto enable misc vector
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] queuedelayedwork+0xb8/0xe0 [ 16.324643] moddelayedworkon+0x78/0xd0 [ 16.324655] hclgeerrhandtaskschedule+0x58/0x90 [hclge] [ 16.324662] hclgemiscirqhandle+0x168/0x240 [hclge] [ 16.324666] handleirqeventpercpu+0x64/0x1e0 [ 16.324667] handleirqevent+0x80/0x170 [ 16.324670] handlefasteoiedgeirq+0x110/0x2bc [ 16.324671] handledomainirq+0x84/0xfc [ 16.324673] gichandleirq+0x88/0x2c0 [ 16.324674] el1irq+0xb8/0x140 [ 16.324677] archcpuidle+0x18/0x40 [ 16.324679] defaultidlecall+0x5c/0x1bc [ 16.324682] cpuidleidlecall+0x18c/0x1c4 [ 16.324684] doidle+0x174/0x17c [ 16.324685] cpustartupentry+0x30/0x6c [ 16.324687] secondarystartkernel+0x1a4/0x280 [ 16.324688] ---[ end trace 6aa0bff672a964aa ]---
So don't auto enable misc vector when request irq..
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.27-1 - Configuration
Apply the fix described as "net: hns3: don't auto enable misc vector"—do not auto enable the misc vector when requesting the IRQ, to avoid the time window between "misc irq enabled" and "service task inited" that can trigger the reported warning/call trace.
Linux kernel net/hns3 (hns3 misc irq) auto_enable_misc_vector_on_request_irq = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21651?
CVE-2025-21651 has been classified as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2025-21651?
To fix CVE-2025-21651, ensure you update your Linux kernel to the latest version where the vulnerability has been patched.
What components are affected by CVE-2025-21651?
CVE-2025-21651 affects the hns3 network driver within the Linux kernel.
What kind of issues does CVE-2025-21651 cause?
CVE-2025-21651 can lead to warning messages during the initialization of the service task if interrupts occur during a specific time window.
Are there any workarounds for CVE-2025-21651?
Currently, there are no documented workarounds for CVE-2025-21651, hence upgrading is recommended.