CVE-2025-40136 Details
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/qm - request reserved interrupt for virtual function The device interrupt vector 3 is an error interrupt for physical function and a reserved interrupt for virtual function. However, the driver has not registered the reserved interrupt for virtual function. When allocating interrupts, the number of interrupts is allocated based on powers of two, which includes this interrupt. When the system enables GICv4 and the virtual function passthrough to the virtual machine, releasing the interrupt in the driver triggers a warning. The WARNING report is: WARNING: CPU: 62 PID: 14889 at arch/arm64/kvm/vgic/vgic-its.c:852 its_free_ite+0x94/0xb4 Therefore, register a reserved interrupt for VF and set the IRQF_NO_AUTOEN flag to avoid that warning.
A vulnerability exists in the Linux kernel's Hisilicon QM crypto driver related to the handling of virtual function interrupts. The driver fails to register a reserved interrupt for virtual functions, even though the interrupt vector is allocated. This oversight can lead to warnings when the system enables GICv4 and passes virtual functions to a virtual machine. The warning indicates an issue with freeing interrupt table entries, highlighting the need for proper interrupt management in the driver.
The vulnerability has been addressed by modifying the driver to register the reserved interrupt for virtual functions and to set the IRQF_NO_AUTOEN flag, preventing the warning from occurring. Users can apply the latest patches available in the Linux kernel stable tree to remediate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/24315474ca913c0693939ab74b389ee04c7d3020 | kernel.org | |
| https://git.kernel.org/stable/c/5f75857ed634d04266301d7a4f695a7deeb9bfdc | kernel.org | |
| https://git.kernel.org/stable/c/854da2b0df1654d63963d587b12fec6068d89643 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9228facb308157ac0bdd264b873187896f7a9c7a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e0a82361cef20380b1c0f342c7e92f8ddabeefc2 | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Hisilicon QM | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 21, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion