# CVE-2025-40136: crypto: hisilicon/qm - request reserved interrupt for virtual function

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-11-12T10:23:23.330Z
- Modified: 2026-10-30T13:18:13.700Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe before e0a82361cef20380b1c0f342c7e92f8ddabeefc2; from 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe before 5f75857ed634d04266301d7a4f695a7deeb9bfdc; from 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe before 24315474ca913c0693939ab74b389ee04c7d3020; from 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe before 854da2b0df1654d63963d587b12fec6068d89643; from 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe before 9228facb308157ac0bdd264b873187896f7a9c7a; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/e0a82361cef20380b1c0f342c7e92f8ddabeefc2>
- <https://git.kernel.org/stable/c/5f75857ed634d04266301d7a4f695a7deeb9bfdc>
- <https://git.kernel.org/stable/c/24315474ca913c0693939ab74b389ee04c7d3020>
- <https://git.kernel.org/stable/c/854da2b0df1654d63963d587b12fec6068d89643>
- <https://git.kernel.org/stable/c/9228facb308157ac0bdd264b873187896f7a9c7a>

## Sources

- CVE List: [CVE-2025-40136](https://www.cve.org/CVERecord?id=CVE-2025-40136), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-40136](https://nvd.nist.gov/vuln/detail/CVE-2025-40136), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-40136 · Whole record: https://cve.day/CVE-2025-40136.json · Rebuilt by cve.day 2026-11-25T22:59:07.550Z
