Memory Corruption in Linux Kernel's DMA Engine Component
CVE-2025-38538
What is CVE-2025-38538?
A vulnerability has been identified in the Linux kernel's DMA engine component, specifically in the nbpfaxi feature, where improper memory allocation leads to potential memory corruption. This issue arises from an overshoot in loop iterations while accessing the nbpf->chan[] array beyond its allocated size. Additionally, during data copying from the irqbuf[] array, error checks are included to prevent misalignment. With these safeguards, the earlier flaws in the original code that could result in erroneous iteration and subsequent return errors have been addressed, enhancing overall system integrity.
Affected Version(s)
Linux b45b262cefd5b8eb2ba88d20e5bd295881293894
Linux b45b262cefd5b8eb2ba88d20e5bd295881293894 < 4bb016438335ec02b01f96bf1367378c2bfe03e5
Linux b45b262cefd5b8eb2ba88d20e5bd295881293894 < 122160289adf8ebf15060f1cbf6265b55a914948