CVE-2026-139525

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 30eba9df76adf1294e88214dbf9cea402fa7af37, < 40c59812a3193d01fc52be22f86eb485f37a27de; >= 30eba9df76adf1294e88214dbf9cea402fa7af37, < 1188942d6160b9f799af297bdb5d7812cd7fde6d
LinuxLinux7.1

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139526In the Linux kernel, the following vulnerability has been resolved: dmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc() CVE-2026-139527In the Linux kernel, the following vulnerability has been resolved: drm/msm/a5xx: don't read the GPMU registers on GPUs without a GPMU OnlCVE-2026-139528In the Linux kernel, the following vulnerability has been resolved: wifi: carl9170: NUL terminate string in debugfs The "buf" buffer comesCVE-2026-139529In the Linux kernel, the following vulnerability has been resolved: wifi: b43legacy: debugfs: NUL terminate string in debugfs The "buf" buCVE-2026-139536.5Inappropriate implementation in SplitView in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the rendererCVE-2026-139530In the Linux kernel, the following vulnerability has been resolved: wifi: b43: don't pass unterminated string to sscanf() The "buf" bufferCVE-2026-139531In the Linux kernel, the following vulnerability has been resolved: ASoC: rt722-sdca: always cancel jack work on remove rt722_sdca_sdw_remCVE-2026-139532In the Linux kernel, the following vulnerability has been resolved: ASoC: rt721-sdca: always cancel jack work on remove rt721_sdca_sdw_remCVE-2026-139533In the Linux kernel, the following vulnerability has been resolved: ASoC: rt712-sdca: always cancel jack work on remove rt712_sdca_sdw_remCVE-2026-139534In the Linux kernel, the following vulnerability has been resolved: ASoC: rt711-sdca: always cancel jack work on remove rt711_sdca_sdw_remCVE-2026-139535In the Linux kernel, the following vulnerability has been resolved: ASoC: rt711-sdw: always cancel jack work on remove rt711_sdw_remove() CVE-2026-139536In the Linux kernel, the following vulnerability has been resolved: ASoC: rt5682-sdw: always cancel jack work on remove rt5682_sdw_remove(
CVE-2026-139525: Unscored | Vulnix