一、 漏洞 CVE-2025-23140 基础信息
漏洞信息
                                        # misc:pci_endpoint_test:避免在request_irq错误之后中断仍然存在的问题

## 漏洞概述
Linux 内核中的 `pci_endpoint_test` 驱动在处理中断请求失败后未能正确释放中断,导致某些中断仍保持未释放状态,产生警告信息并留下未清理的 `/proc/irq/*` 入口。

## 影响版本
未具体指定受影响的内核版本,但与 `pci_endpoint_test` 驱动相关。

## 细节
当 `devm_request_irq()` 失败时,`pci_endpoint_test_free_irq_vectors()` 函数被调用,该函数假设所有中断已释放。然而,实际仍有部分请求的中断未释放,导致 `/proc/irq/*` 入口未被清理干净,从而产生如下警告信息:
```
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
```

## 影响
未及时释放的中断可能导致系统资源泄露,以及在系统日志中产生警告信息,影响系统的稳定性和资源利用率。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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]
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于pci_endpoint_test在request_irq错误后未正确处理中断,可能导致内存泄露。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-23140 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-23140 的情报信息