CVEvulnerability

CVE-2025-23140

5.5 MEDIUM Published 2025-05-01 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-05-01
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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]

Affected configurations

• 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