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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux555859308723d8d5b828304f5eb9281143fd86b5 to before 33df8996d07f9cce03267b9a82b5fc6be639be24 Affected555859308723d8d5b828304f5eb9281143fd86b5 to before 8f7cc77013a4081fa23f1f28cbfa5499d1f412c9 Affected555859308723d8d5b828304f5eb9281143fd86b5 to before 8bd642fa60620eb9cfadb1325d97114cf0740ba9 Affected555859308723d8d5b828304f5eb9281143fd86b5 to before 23225f80c21290a5c74ce668208d0e99074f70e4 Affected555859308723d8d5b828304f5eb9281143fd86b5 to before a521cd3421e69c3c3fe69d24f393bd791c04b21d Affected555859308723d8d5b828304f5eb9281143fd86b5 to before 8018040c732dbf5fa2af4b63d809b5a269b4d23c Affected555859308723d8d5b828304f5eb9281143fd86b5 to before 67045b9cd61abc008223580e652f87d46239918f Affected555859308723d8d5b828304f5eb9281143fd86b5 to before f472919f4c0650d7fb22bb230eacaada0c6ee951 Affected
Linux Linux3.17 Affectedbefore 3.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.