CVE-2025-23140: Linux kernel · misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 4 Nov 2026, 18:25 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
AI-suggested
A fix is available as described in the commit log: the number of remaining IRQs is set correctly, and IRQs are released in advance by calling pci_endpoint_test_release_irq(). Users should apply the official Linux kernel patch that addresses this issue to prevent interrupt resource leaks and kernel warnings.
Description
CVE-2025-23140 is a vulnerability in the Linux kernel's pci_endpoint_test component where interrupts may remain unreleased after a request_irq error, causing warnings and potential resource leaks. The issue arises because pci_endpoint_test_free_irq_vectors() assumes all IRQs are released, but some remain, leading to non-empty /proc/irq directories and kernel warnings. The fix involves properly releasing remaining IRQs by calling pci_endpoint_test_release_irq() and adjusting the count of remaining IRQs.
References
- nvd.nist.gov/vuln/detail/CVE-2025-23140 (opens in a new tab)
- git.kernel.org/stable/c/0557e70e2aeba8647bf5a950820b67cfb86533db (opens in a new tab)
- git.kernel.org/stable/c/54c9f299ad7d7c4be5d271ed12d01a59e95b8907 (opens in a new tab)
- git.kernel.org/stable/c/5a4b7181213268c9b07bef8800905528435db44a (opens in a new tab)
- git.kernel.org/stable/c/705be96504779e4a333ea042b4779ea941f0ace9 (opens in a new tab)
- git.kernel.org/stable/c/770407f6173f4f39f4e2c1b54422b79ce6c98bdb (opens in a new tab)
- git.kernel.org/stable/c/9d5118b107b1a2353ed0dff24404aee2e6b7ca0a (opens in a new tab)
- git.kernel.org/stable/c/e516e187bf32d8decc7c7d0025ae4857cad13c0e (opens in a new tab)
- git.kernel.org/stable/c/f6cb7828c8e17520d4f5afb416515d3fae1af9a9 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)