CVE-2025-40136

Source
https://cve.org/CVERecord?id=CVE-2025-40136
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40136.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40136
Downstream
Related
Published
2025-11-12T10:23:23.330Z
Modified
2026-03-12T03:54:33.503366Z
Summary
crypto: hisilicon/qm - request reserved interrupt for virtual function
Details

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 itsfreeite+0x94/0xb4

Therefore, register a reserved interrupt for VF and set the IRQFNOAUTOEN flag to avoid that warning.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40136.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3536cc55cadaf2a03241915f9cfdaf6cd073e4fe
Fixed
854da2b0df1654d63963d587b12fec6068d89643
Fixed
9228facb308157ac0bdd264b873187896f7a9c7a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40136.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40136.json"