CVE-2025-23140

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]
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

05 Nov 2025, 21:46

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
First Time Debian debian Linux
Linux
Debian
Linux linux Kernel
References () https://git.kernel.org/stable/c/0557e70e2aeba8647bf5a950820b67cfb86533db - () https://git.kernel.org/stable/c/0557e70e2aeba8647bf5a950820b67cfb86533db - Patch
References () https://git.kernel.org/stable/c/54c9f299ad7d7c4be5d271ed12d01a59e95b8907 - () https://git.kernel.org/stable/c/54c9f299ad7d7c4be5d271ed12d01a59e95b8907 - Patch
References () https://git.kernel.org/stable/c/5a4b7181213268c9b07bef8800905528435db44a - () https://git.kernel.org/stable/c/5a4b7181213268c9b07bef8800905528435db44a - Patch
References () https://git.kernel.org/stable/c/705be96504779e4a333ea042b4779ea941f0ace9 - () https://git.kernel.org/stable/c/705be96504779e4a333ea042b4779ea941f0ace9 - Patch
References () https://git.kernel.org/stable/c/770407f6173f4f39f4e2c1b54422b79ce6c98bdb - () https://git.kernel.org/stable/c/770407f6173f4f39f4e2c1b54422b79ce6c98bdb - Patch
References () https://git.kernel.org/stable/c/9d5118b107b1a2353ed0dff24404aee2e6b7ca0a - () https://git.kernel.org/stable/c/9d5118b107b1a2353ed0dff24404aee2e6b7ca0a - Patch
References () https://git.kernel.org/stable/c/e516e187bf32d8decc7c7d0025ae4857cad13c0e - () https://git.kernel.org/stable/c/e516e187bf32d8decc7c7d0025ae4857cad13c0e - Patch
References () https://git.kernel.org/stable/c/f6cb7828c8e17520d4f5afb416515d3fae1af9a9 - () https://git.kernel.org/stable/c/f6cb7828c8e17520d4f5afb416515d3fae1af9a9 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - Mailing List, Third Party Advisory
CWE NVD-CWE-noinfo

03 Nov 2025, 20:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html -
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -

02 May 2025, 13:53

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: misc: pci_endpoint_test: evitar el problema de las interrupciones restantes después del error request_irq Después de que devm_request_irq() falla con un error en pci_endpoint_test_request_irq(), se llama a pci_endpoint_test_free_irq_vectors() asumiendo que se han liberado todas las IRQ. Sin embargo, algunas IRQ solicitadas permanecen sin liberar, por lo que aún quedan entradas /proc/irq/* restantes y esto genera un WARN() con el siguiente mensaje: remove_proc_entry: eliminando el directorio no vacío 'irq/30', filtrando al menos 'pci-endpoint-test.0' ADVERTENCIA: CPU: 0 PID: 202 en fs/proc/generic.c:719 remove_proc_entry +0x190/0x19c Para resolver este problema, establezca el número de IRQ restantes en test->num_irqs y libere las IRQ con anticipación llamando a pci_endpoint_test_release_irq(). [kwilczynski: registro de confirmaciones]

02 May 2025, 07:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/54c9f299ad7d7c4be5d271ed12d01a59e95b8907 -
  • () https://git.kernel.org/stable/c/705be96504779e4a333ea042b4779ea941f0ace9 -
  • () https://git.kernel.org/stable/c/e516e187bf32d8decc7c7d0025ae4857cad13c0e -

01 May 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 13:15

Updated : 2025-11-05 21:46


NVD link : CVE-2025-23140

Mitre link : CVE-2025-23140

CVE.ORG link : CVE-2025-23140


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel