{"api_version":"1","generated_at":"2026-11-30T15:21:43+00:00","cve":"CVE-2026-139742","urls":{"html":"https://cve.report/CVE-2026-139742","api":"https://cve.report/api/cve/CVE-2026-139742.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139742","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139742"},"summary":{"title":"dmaengine: sun6i-dma: Fix use-after-free in error handling paths","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:06","updated_at":"2026-11-30 14:20:06"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24","name":"https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9","name":"https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","name":"https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d","name":"https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951","name":"https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f","name":"https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4","name":"https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c","name":"https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139742","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139742","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 33df8996d07f9cce03267b9a82b5fc6be639be24 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 8bd642fa60620eb9cfadb1325d97114cf0740ba9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 23225f80c21290a5c74ce668208d0e99074f70e4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 a521cd3421e69c3c3fe69d24f393bd791c04b21d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 8018040c732dbf5fa2af4b63d809b5a269b4d23c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 67045b9cd61abc008223580e652f87d46239918f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 555859308723d8d5b828304f5eb9281143fd86b5 f472919f4c0650d7fb22bb230eacaada0c6ee951 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/dma/sun6i-dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"33df8996d07f9cce03267b9a82b5fc6be639be24","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"8bd642fa60620eb9cfadb1325d97114cf0740ba9","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"23225f80c21290a5c74ce668208d0e99074f70e4","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"a521cd3421e69c3c3fe69d24f393bd791c04b21d","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"8018040c732dbf5fa2af4b63d809b5a269b4d23c","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"67045b9cd61abc008223580e652f87d46239918f","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"},{"lessThan":"f472919f4c0650d7fb22bb230eacaada0c6ee951","status":"affected","version":"555859308723d8d5b828304f5eb9281143fd86b5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/dma/sun6i-dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.17"},{"lessThan":"3.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:33.350Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24"},{"url":"https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9"},{"url":"https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9"},{"url":"https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4"},{"url":"https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d"},{"url":"https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c"},{"url":"https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f"},{"url":"https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951"}],"title":"dmaengine: sun6i-dma: Fix use-after-free in error handling paths","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139742","datePublished":"2026-11-30T13:37:33.350Z","dateReserved":"2026-11-30T13:22:15.950Z","dateUpdated":"2026-11-30T13:37:33.350Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:06","lastModifiedDate":"2026-11-30 14:20:06","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139742","Ordinal":"1","Title":"dmaengine: sun6i-dma: Fix use-after-free in error handling paths","CVE":"CVE-2026-139742","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139742","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"dmaengine: sun6i-dma: Fix use-after-free in error handling paths"}]}}}