Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139525

published

dmaengine: switchtec-dma: fix resource leak in alloc_chan_resources

Published
30 Nov 2026, 13:35:33 UTC
Updated
30 Nov 2026, 13:35:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux30eba9df76adf1294e88214dbf9cea402fa7af37 to < 40c59812a3193d01fc52be22f86eb485f37a27de · 30eba9df76adf1294e88214dbf9cea402fa7af37 to < 1188942d6160b9f799af297bdb5d7812cd7fde6d · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 30eba9df76adf1294e88214dbf9cea402fa7af37 to < 40c59812a3193d01fc52be22f86eb485f37a27de (affected · git)30eba9df76adf1294e88214dbf9cea402fa7af37 to < 1188942d6160b9f799af297bdb5d7812cd7fde6d (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

dmaengine: switchtec-dma: fix resource leak in alloc_chan_resources

Provenance

Schema
5.2
Searchable
yes
Content hash
b5e0c56a6f37d905befec5672866711055f07e0bb57282df2a7bab5aa55e7ade
Ingested
30 Nov 2026, 13:42:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected