PT-2026-166841

CVE-2026-142986

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f midi: fix UAF race during IN request handling
f midi disable() drains and frees pre-allocated IN requests from in req fifo without holding midi->transmit lock. If f midi transmit() runs concurrently on the workqueue, f midi do transmit() can peek a request from in req fifo and write into its buffer while f midi disable() frees it, leading to a use-after-free.
Additionally, when usb ep queue() fails in f midi do transmit() (such as with -ESHUTDOWN when the endpoint is disabled concurrently), it resets req->length = 0 and returns active instead of the error code, causing the do-while loop in f midi transmit() to keep spinning under midi->transmit lock until the substream is drained.
Fix this by acquiring midi->transmit lock in f midi disable() while releasing IN requests from in req fifo, and returning the error code from f midi do transmit() when usb ep queue() fails so f midi transmit() aborts immediately and drops active substreams.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾