CVE-2025-23140
Last modified
CVE-2025-23140 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error After devm_request_irq() fails with error in pci_endpoint_test_request_irq(), the pci_endpoint_test_free_irq_vectors() is called assuming that all IRQs have been released. However, some requested IRQs remain unreleased, so there are still /proc/irq/* entries remaining, and this results in WARN() with the following message: remove_proc_entry: removing non-empty directory 'irq/30', leaking at least 'pci-endpoint-test.0' WARNING: CPU: 0 PID: 202 at fs/proc/generic.c:719 remove_proc_entry +0x190/0x19c To solve this issue, set the number of remaining IRQs to test->num_irqs, and release IRQs in advance by calling pci_endpoint_test_release_irq(). [kwilczynski: commit log]. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error After devm_request_irq() fails with error in pci_endpoint_test_request_irq(), the pci_endpoint_test_free_irq_vectors() is called assuming that all IRQs have been released. However, some requested IRQs remain unreleased, so there are still /proc/irq/* entries remaining, and this results in WARN() with the following message: remove_proc_entry: removing non-empty directory 'irq/30', leaking at least 'pci-endpoint-test.0' WARNING: CPU: 0 PID: 202 at fs/proc/generic.c:719 remove_proc_entry +0x190/0x19c To solve this issue, set the number of remaining IRQs to test->num_irqs, and release IRQs in advance by calling pci_endpoint_test_release_irq(). [kwilczynski: commit log]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.19, < 5.4.293 |
| Linux | Linux Kernel | >= 5.5, < 5.10.237 |
| Linux | Linux Kernel | >= 5.11, < 5.15.181 |
| Linux | Linux Kernel | >= 5.16, < 6.1.135 |
| Linux | Linux Kernel | >= 6.2, < 6.6.88 |
| Linux | Linux Kernel | >= 6.7, < 6.12.25 |
| Linux | Linux Kernel | >= 6.13, < 6.14.3 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-23140?
How severe is CVE-2025-23140?
How do I fix CVE-2025-23140?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-23135In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23136In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23137In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23138In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23139Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-2314The User Profile Builder – Beautiful User Registration Forms…6.4
- CVE-2025-23141In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23142In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-23143In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23144In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23145In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-23146In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-23140?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
