---
id: CVE-2025-40136
title: 'crypto: hisilicon/qm - request reserved interrupt for virtual function'
summary: |-
  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 interru…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe <
    5f75857ed634d04266301d7a4f695a7deeb9bfdc
  - >-
    Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe <
    24315474ca913c0693939ab74b389ee04c7d3020
  - >-
    Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe <
    854da2b0df1654d63963d587b12fec6068d89643
  - >-
    Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe <
    9228facb308157ac0bdd264b873187896f7a9c7a
  - Linux 6.1
published: '2025-11-12'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:37:49.467Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-40136'
references:
  - url: 'https://git.kernel.org/stable/c/5f75857ed634d04266301d7a4f695a7deeb9bfdc'
  - url: 'https://git.kernel.org/stable/c/24315474ca913c0693939ab74b389ee04c7d3020'
  - url: 'https://git.kernel.org/stable/c/854da2b0df1654d63963d587b12fec6068d89643'
  - url: 'https://git.kernel.org/stable/c/9228facb308157ac0bdd264b873187896f7a9c7a'
tags:
  - cve.org
epss: 0.00247
epssPercentile: 0.15881
ingestedAt: '2026-10-21T12:48:53.683Z'
---

## Overview

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

- `Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe < 5f75857ed634d04266301d7a4f695a7deeb9bfdc`
- `Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe < 24315474ca913c0693939ab74b389ee04c7d3020`
- `Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe < 854da2b0df1654d63963d587b12fec6068d89643`
- `Linux >= 3536cc55cadaf2a03241915f9cfdaf6cd073e4fe < 9228facb308157ac0bdd264b873187896f7a9c7a`
- `Linux 6.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
