CVE-2026-139526 dmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc()

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139526?

CVE-2026-139526 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc()

switchtec_dma_free_desc() frees swdma_chan->hw_sq, hw_cq, and every desc_ring[] entry without clearing the pointers afterward. If switchtec_dma_alloc_chan_resources() fails partway through and calls it during unwind, then a later retry of alloc_chan_resources() fails in switchtec_dma_alloc_desc() before reallocating one of those pointers, its own failure path calls switchtec_dma_free_desc() again and frees the same, already-freed pointers a second time.

NULL out each pointer as it's freed so a subsequent call is a no-op for anything already released.

Which versions are affected by CVE-2026-139526?

How do I fix CVE-2026-139526?

Upgrade to a fixed version.

Is CVE-2026-139526 being exploited?

There is no known exploitation of CVE-2026-139526 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-139526, GHSA-c28h-966p-56c3, UBUNTU-CVE-2026-139526.

Is CVE-2026-139526 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free