CVE-2026-139742

dmaengine: sun6i-dma: Fix use-after-free in error handling paths

7.0 high EPSS 0.27%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139742

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139742 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.0 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 33df8996d07f9cce03267b9a82b5fc6be639be24
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 8bd642fa60620eb9cfadb1325d97114cf0740ba9
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 23225f80c21290a5c74ce668208d0e99074f70e4
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before a521cd3421e69c3c3fe69d24f393bd791c04b21d
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 8018040c732dbf5fa2af4b63d809b5a269b4d23c
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before 67045b9cd61abc008223580e652f87d46239918f
affected from 555859308723d8d5b828304f5eb9281143fd86b5, before f472919f4c0650d7fb22bb230eacaada0c6ee951
Other versions: unaffected
Linux
affected 3.17
unaffected before 3.17
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139742 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139742

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139742
trivy image --scanners vuln IMAGE | grep CVE-2026-139742

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139742 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.