CVE-2026-139742
dmaengine: sun6i-dma: Fix use-after-free in error handling paths
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: sun6i-dma: Fix use-after-free in error handling paths In error handling paths, the for loop frees v_lli in the loop body, then accesses v_lli->v_lli_next and v_lli->p_lli_next in the increment expression, which is use-after-free. Fix by refactoring the cleanup into a helper function sun6i_dma_free_desc() that saves both the next virtual and physical pointers before freeing the current node, preventing the use-after-free.
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Dec. 1, 2026, 6:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the kernel patch that refactors cleanup logic.
- Ensure DMA error handling paths are properly tested.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139742.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139742 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139742
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139742 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139742 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: dmaengine: sun6i-dma: Fix use-after-free in error handling paths In error handling paths, the for loop frees v_lli in the loop body, then accesses v_lli->v_lli_next and v_lli->p_lli_next in the increment expression, which is use-after-free. Fix by refactoring the cleanup into a helper function sun6i_dma_free_desc() that saves both the next virtual and physical pointers before freeing the current node, preventing the use-after-free. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139742.json">CVE-2026-139742</a> Added Reference https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4 Added Reference https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24 Added Reference https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f Added Reference https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c Added Reference https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9 Added Reference https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9 Added Reference https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d Added Reference https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951