{"id":"CVE-2026-139742","aliases":["CVE-2026-139742"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: sun6i-dma: Fix use-after-free in error handling paths","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: sun6i-dma: Fix use-after-free in error handling paths\n\nIn error handling paths, the for loop frees v_lli in the loop body,\nthen accesses v_lli->v_lli_next and v_lli->p_lli_next in the\nincrement expression, which is use-after-free.\n\nFix by refactoring the cleanup into a helper function sun6i_dma_free_desc()\nthat saves both the next virtual and physical pointers before freeing the\ncurrent node, preventing the use-after-free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: sun6i-dma: Fix use-after-free in error handling paths\n\nIn error handling paths, the for loop frees v_lli in the loop body,\nthen accesses v_lli->v_lli_next and v_lli->p_lli_next in the\nincrement expression, which is use-after-free.\n\nFix by refactoring the cleanup into a helper function sun6i_dma_free_desc()\nthat saves both the next virtual and physical pointers before freeing the\ncurrent node, preventing the use-after-free.","source":"cvelist"}],"published":"2026-11-30T13:37:33.350Z","modified":"2026-12-01T06:17:48.333Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"33df8996d07f9cce03267b9a82b5fc6be639be24","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"8bd642fa60620eb9cfadb1325d97114cf0740ba9","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"23225f80c21290a5c74ce668208d0e99074f70e4","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"a521cd3421e69c3c3fe69d24f393bd791c04b21d","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"8018040c732dbf5fa2af4b63d809b5a269b4d23c","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"67045b9cd61abc008223580e652f87d46239918f","status":"affected"},{"type":"git","introduced":"555859308723d8d5b828304f5eb9281143fd86b5","fixed":"f472919f4c0650d7fb22bb230eacaada0c6ee951","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139742","url":"https://www.cve.org/CVERecord?id=CVE-2026-139742","licence":"CVE Terms of Use","modified":"2026-12-01T05:43:11.613Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139742","licence":"Public domain","modified":"2026-12-01T06:17:48.333Z"}],"updatedAt":"2026-12-01T06:32:23.984Z","epss":{"score":0.00267,"percentile":0.20091,"date":"2026-12-01T12:00:22.000Z"}}