CVE-2026-139742
dmaengine: sun6i-dma: Fix use-after-free in error handling paths
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 555859308723d8d5b828304f5eb9281143fd86b5, < 33df8996d07f9cce03267b9a82b5fc6be639be24; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8bd642fa60620eb9cfadb1325d97114cf0740ba9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 23225f80c21290a5c74ce668208d0e99074f70e4; >= 555859308723d8d5b828304f5eb9281143fd86b5, < a521cd3421e69c3c3fe69d24f393bd791c04b21d; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8018040c732dbf5fa2af4b63d809b5a269b4d23c; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 67045b9cd61abc008223580e652f87d46239918f; >= 555859308723d8d5b828304f5eb9281143fd86b5, < f472919f4c0650d7fb22bb230eacaada0c6ee951
- Anyone running Linux 3.17
Vulnerability facts
- Affected
- Linux >= 555859308723d8d5b828304f5eb9281143fd86b5, < 33df8996d07f9cce03267b9a82b5fc6be639be24; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8bd642fa60620eb9cfadb1325d97114cf0740ba9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 23225f80c21290a5c74ce668208d0e99074f70e4; >= 555859308723d8d5b828304f5eb9281143fd86b5, < a521cd3421e69c3c3fe69d24f393bd791c04b21d; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8018040c732dbf5fa2af4b63d809b5a269b4d23c; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 67045b9cd61abc008223580e652f87d46239918f; >= 555859308723d8d5b828304f5eb9281143fd86b5, < f472919f4c0650d7fb22bb230eacaada0c6ee951; Linux 3.17
- Fixed in
- Linux 33df8996d07f9cce03267b9a82b5fc6be639be24, Linux 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9, Linux 8bd642fa60620eb9cfadb1325d97114cf0740ba9, Linux 23225f80c21290a5c74ce668208d0e99074f70e4, Linux 8018040c732dbf5fa2af4b63d809b5a269b4d23c, Linux 67045b9cd61abc008223580e652f87d46239918f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 555859308723d8d5b828304f5eb9281143fd86b5, < 33df8996d07f9cce03267b9a82b5fc6be639be24; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8bd642fa60620eb9cfadb1325d97114cf0740ba9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 23225f80c21290a5c74ce668208d0e99074f70e4; >= 555859308723d8d5b828304f5eb9281143fd86b5, < a521cd3421e69c3c3fe69d24f393bd791c04b21d; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8018040c732dbf5fa2af4b63d809b5a269b4d23c; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 67045b9cd61abc008223580e652f87d46239918f; >= 555859308723d8d5b828304f5eb9281143fd86b5, < f472919f4c0650d7fb22bb230eacaada0c6ee951 | — | cvelist |
| Linux | 3.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139742. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139742.md Affected: Linux >= 555859308723d8d5b828304f5eb9281143fd86b5, < 33df8996d07f9cce03267b9a82b5fc6be639be24; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8bd642fa60620eb9cfadb1325d97114cf0740ba9; >= 555859308723d8d5b828304… Fixed in: Linux 33df8996d07f9cce03267b9a82b5fc6be639be24, Linux 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9, Linux 8bd642fa60620eb9cfadb1325d97114cf0740ba9, Linux 23225f80c21290a5c74ce668208d0e99074f70e4, Linux 8018040c732dbf5fa2af4b63d809b5a269b4d23c, Linux 67045b9cd61abc008223580e652f87d46239918f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24
- https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9
- https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9
- https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4
- https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d
- https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c
- https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f
- https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951
FAQ
Is CVE-2026-139742 being exploited?
There is no confirmed exploitation: CVE-2026-139742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139742?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-139742?
Linux >= 555859308723d8d5b828304f5eb9281143fd86b5, < 33df8996d07f9cce03267b9a82b5fc6be639be24; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8bd642fa60620eb9cfadb1325d97114cf0740ba9; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 23225f80c21290a5c74ce668208d0e99074f70e4; >= 555859308723d8d5b828304f5eb9281143fd86b5, < a521cd3421e69c3c3fe69d24f393bd791c04b21d; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 8018040c732dbf5fa2af4b63d809b5a269b4d23c; >= 555859308723d8d5b828304f5eb9281143fd86b5, < 67045b9cd61abc008223580e652f87d46239918f; >= 555859308723d8d5b828304f5eb9281143fd86b5, < f472919f4c0650d7fb22bb230eacaada0c6ee951; Linux 3.17.
Is there a fix for CVE-2026-139742?
Yes. Fixed in Linux 33df8996d07f9cce03267b9a82b5fc6be639be24, Linux 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9, Linux 8bd642fa60620eb9cfadb1325d97114cf0740ba9, Linux 23225f80c21290a5c74ce668208d0e99074f70e4, Linux 8018040c732dbf5fa2af4b63d809b5a269b4d23c, Linux 67045b9cd61abc008223580e652f87d46239918f. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-139742?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |