Bug 2586663 (CVE-2026-139526) - CVE-2026-139526 kernel: kernel: Denial of Service via double-free in Switchtec DMA driver
Summary: CVE-2026-139526 kernel: kernel: Denial of Service via double-free in Switchte...
Keywords:
Status: NEW
Alias: CVE-2026-139526
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:32 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:47 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:32:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.