Skip to main content
VulnerabilityPublished

CVE-2026-139525: Linux kernel · dmaengine: switchtec-dma: fix resource leak in alloc_chan_resources

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139525

Not known to be exploited : upgrade to 1188942d6160b9f799af297bdb5d7812cd7fde6d or 40c59812a3193d01fc52be22f86eb485f37a27de when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 1188942d6160b9f799af297bdb5d7812cd7fde6d, 40c59812a3193d01fc52be22f86eb485f37a27de

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to 1188942d6160b9f799af297bdb5d7812cd7fde6d or 40c59812a3193d01fc52be22f86eb485f37a27de.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 30eba9df76adf1294e88214dbf9cea402fa7af37, < 1188942d6160b9f799af297bdb5d7812cd7fde6d
Fixed in
  • 1188942d6160b9f799af297bdb5d7812cd7fde6d
LinuxLinuxAffected
  • ≥ 30eba9df76adf1294e88214dbf9cea402fa7af37, < 40c59812a3193d01fc52be22f86eb485f37a27de
Fixed in
  • 40c59812a3193d01fc52be22f86eb485f37a27de
LinuxLinuxAffected
  • =7.1
Fixed in–

Description

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.

References

Community reviews

Loading reviews…