PT-2026-163566
CVE-2026-139525
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾