همهٔ گزارش‌ها
کم

kernel: PCI: endpoint: Add missing NULL check for alloc_workqueue()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-71313

احتمال بهره‌برداری در ۳۰ روز آینده: 0.16%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: Add missing NULL check for alloc_workqueue() alloc_workqueue() can return NULL on memory allocation failure. Without proper error checking, this may lead to a NULL pointer dereference when queue_work() is later called with the NULL workqueue pointer in epf_ntb_epc_init(). Add a NULL check immediately after alloc_workqueue() and return -ENOMEM on failure to prevent the driver from loading with an invalid workqueue pointer.

A flaw was found in the Linux kernel's PCI endpoint driver. A missing NULL check for the alloc_workqueue() function can lead to a NULL pointer dereference if memory allocation fails. This vulnerability, specifically within the epf_ntb_epc_init() function, allows a local attacker to cause a system crash, resulting in a Denial of Service (DoS).