{"id":"CVE-2025-23140","aliases":["CVE-2025-23140"],"related":[],"kind":"vulnerability","state":"published","title":"misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error\n\nAfter devm_request_irq() fails with error in pci_endpoint_test_request_irq(),\nthe pci_endpoint_test_free_irq_vectors() is called assuming that all IRQs\nhave been released.\n\nHowever, some requested IRQs remain unreleased, so there are still\n/proc/irq/* entries remaining, and this results in WARN() with the\nfollowing message:\n\n  remove_proc_entry: removing non-empty directory 'irq/30', leaking at least 'pci-endpoint-test.0'\n  WARNING: CPU: 0 PID: 202 at fs/proc/generic.c:719 remove_proc_entry +0x190/0x19c\n\nTo solve this issue, set the number of remaining IRQs to test->num_irqs,\nand release IRQs in advance by calling pci_endpoint_test_release_irq().\n\n[kwilczynski: commit log]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error\n\nAfter devm_request_irq() fails with error in pci_endpoint_test_request_irq(),\nthe pci_endpoint_test_free_irq_vectors() is called assuming that all IRQs\nhave been released.\n\nHowever, some requested IRQs remain unreleased, so there are still\n/proc/irq/* entries remaining, and this results in WARN() with the\nfollowing message:\n\n  remove_proc_entry: removing non-empty directory 'irq/30', leaking at least 'pci-endpoint-test.0'\n  WARNING: CPU: 0 PID: 202 at fs/proc/generic.c:719 remove_proc_entry +0x190/0x19c\n\nTo solve this issue, set the number of remaining IRQs to test->num_irqs,\nand release IRQs in advance by calling pci_endpoint_test_release_irq().\n\n[kwilczynski: commit log]","source":"cvelist"},{"lang":"es","text":"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-&gt;num_irqs y libere las IRQ con anticipación llamando a pci_endpoint_test_release_irq(). [kwilczynski: registro de confirmaciones]","source":"nvd"}],"published":"2025-05-01T12:55:30.885Z","modified":"2026-06-17T08:52:13.723Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"705be96504779e4a333ea042b4779ea941f0ace9","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"e516e187bf32d8decc7c7d0025ae4857cad13c0e","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"54c9f299ad7d7c4be5d271ed12d01a59e95b8907","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"9d5118b107b1a2353ed0dff24404aee2e6b7ca0a","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"5a4b7181213268c9b07bef8800905528435db44a","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"0557e70e2aeba8647bf5a950820b67cfb86533db","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"770407f6173f4f39f4e2c1b54422b79ce6c98bdb","status":"affected"},{"type":"git","introduced":"e03327122e2c8e6ae4565ef5b3d3cbe4364546a1","fixed":"f6cb7828c8e17520d4f5afb416515d3fae1af9a9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.4.293","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.237","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.25","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19","fixed":"5.4.293"},{"status":"affected","introduced":"5.5","fixed":"5.10.237"},{"status":"affected","introduced":"5.11","fixed":"5.15.181"},{"status":"affected","introduced":"5.16","fixed":"6.1.135"},{"status":"affected","introduced":"6.2","fixed":"6.6.88"},{"status":"affected","introduced":"6.7","fixed":"6.12.25"},{"status":"affected","introduced":"6.13","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/705be96504779e4a333ea042b4779ea941f0ace9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e516e187bf32d8decc7c7d0025ae4857cad13c0e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54c9f299ad7d7c4be5d271ed12d01a59e95b8907","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d5118b107b1a2353ed0dff24404aee2e6b7ca0a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a4b7181213268c9b07bef8800905528435db44a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0557e70e2aeba8647bf5a950820b67cfb86533db","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/770407f6173f4f39f4e2c1b54422b79ce6c98bdb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6cb7828c8e17520d4f5afb416515d3fae1af9a9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-23140","url":"https://www.cve.org/CVERecord?id=CVE-2025-23140","licence":"CVE Terms of Use","modified":"2026-05-11T21:13:43.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-23140","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23140","licence":"Public domain","modified":"2026-06-17T08:52:13.723Z"}],"updatedAt":"2026-11-25T22:58:57.256Z","epss":{"score":0.00227,"percentile":0.14336,"date":"2026-12-01T12:00:22.000Z"}}