Bug 2586782 (CVE-2026-139742) - CVE-2026-139742 kernel: kernel: sun6i-dma: Denial of Service via use-after-free in error handling paths
Summary: CVE-2026-139742 kernel: kernel: sun6i-dma: Denial of Service via use-after-fr...
Keywords:
Status: NEW
Alias: CVE-2026-139742
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:40 UTC by OSIDB Bzimport
Modified: 2026-12-01 04:50 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:40:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.