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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-11-12T10:23:23.330Z
- **Modified:** 2026-10-30T13:18:13.700Z

## Who should check

- Anyone running Linux \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< e0a82361cef20380b1c0f342c7e92f8ddabeefc2; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 5f75857ed634d04266301d7a4f695a7deeb9bfdc; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 24315474ca913c0693939ab74b389ee04c7d3020; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 854da2b0df1654d63963d587b12fec6068d89643; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 9228facb308157ac0bdd264b873187896f7a9c7a
- Anyone running Linux 6.1

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

## Affected and fixed versions

- Linux: \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< e0a82361cef20380b1c0f342c7e92f8ddabeefc2; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 5f75857ed634d04266301d7a4f695a7deeb9bfdc; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 24315474ca913c0693939ab74b389ee04c7d3020; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 854da2b0df1654d63963d587b12fec6068d89643; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 9228facb308157ac0bdd264b873187896f7a9c7a (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 9228facb308157ac0bdd264b873187896f7a9c7a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40136. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40136.md
Affected: Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, < e0a82361cef20380b1c0f342c7e92f8ddabeefc2; >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, < 5f75857ed634d04266301d7a4f695a7deeb9bfdc; >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, < 24315474ca913c0693939ab74b389ee04c7d3020; >= 3536cc55cadaf2a03241915…
Fixed in: Linux 5f75857ed634d04266301d7a4f695a7deeb9bfdc, Linux 24315474ca913c0693939ab74b389ee04c7d3020, Linux 854da2b0df1654d63963d587b12fec6068d89643, Linux 9228facb308157ac0bdd264b873187896f7a9c7a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40136 being exploited?

There is no confirmed exploitation: CVE-2025-40136 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40136?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40136?

Linux \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< e0a82361cef20380b1c0f342c7e92f8ddabeefc2; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 5f75857ed634d04266301d7a4f695a7deeb9bfdc; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 24315474ca913c0693939ab74b389ee04c7d3020; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 854da2b0df1654d63963d587b12fec6068d89643; \>= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe, \< 9228facb308157ac0bdd264b873187896f7a9c7a; Linux 6.1.

### Is there a fix for CVE-2025-40136?

Yes. Fixed in Linux 5f75857ed634d04266301d7a4f695a7deeb9bfdc, Linux 24315474ca913c0693939ab74b389ee04c7d3020, Linux 854da2b0df1654d63963d587b12fec6068d89643, Linux 9228facb308157ac0bdd264b873187896f7a9c7a. Upgrade Linux to 9228facb308157ac0bdd264b873187896f7a9c7a or later.

### How do I check if I'm affected by CVE-2025-40136?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40136>

HTML: <https://flawdb.com/CVE-2025-40136> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40136>
