{"id":"CVE-2026-139742","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:06.540","lastModified":"2026-12-01T06:17:48.333","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/dma/sun6i-dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"33df8996d07f9cce03267b9a82b5fc6be639be24","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"8bd642fa60620eb9cfadb1325d97114cf0740ba9","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"23225f80c21290a5c74ce668208d0e99074f70e4","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"a521cd3421e69c3c3fe69d24f393bd791c04b21d","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"8018040c732dbf5fa2af4b63d809b5a269b4d23c","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"67045b9cd61abc008223580e652f87d46239918f","versionType":"git","status":"affected"},{"version":"555859308723d8d5b828304f5eb9281143fd86b5","lessThan":"f472919f4c0650d7fb22bb230eacaada0c6ee951","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/dma/sun6i-dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/23225f80c21290a5c74ce668208d0e99074f70e4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/33df8996d07f9cce03267b9a82b5fc6be639be24","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/67045b9cd61abc008223580e652f87d46239918f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8018040c732dbf5fa2af4b63d809b5a269b4d23c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8bd642fa60620eb9cfadb1325d97114cf0740ba9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8f7cc77013a4081fa23f1f28cbfa5499d1f412c9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a521cd3421e69c3c3fe69d24f393bd791c04b21d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f472919f4c0650d7fb22bb230eacaada0c6ee951","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}