PT-2026-163566
CVE-2026-139525
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: switchtec-dma: fix resource leak in alloc chan resources
switchtec dma alloc chan resources() returns directly on any later
failure, without ever freeing the descriptor rings and coherent DMA
memory it just allocated. The dmaengine core does not call
device free chan resources() when device alloc chan resources() fails,
so the driver has to unwind its own partial state.
The device-removed check also runs after ring active and
comp ring active have already been set true, so a failure there left
the channel marked active despite alloc chan resources() reporting
failure.
Add an error-unwind path that disables the channel and frees the
descriptor rings on every failure after allocation. ring active and
comp ring active are cleared under the same locks
switchtec dma free chan resources() already uses, since the completion
tasklet checks comp ring active under complete lock before touching
the completion ring, and a stale IRQ can still be in flight when this
unwind path runs.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾