Linux kernel: dmaengine: nbpfaxi: Fix memory corruption in probe()
Overview
In the Linux kernel, the following vulnerability has been resolved: dmaengine: nbpfaxi: Fix memory corruption in probe() The nbpf->chan[] array is allocated earlier in the nbpf_probe() function and it has "num_channels" elements. These three loops iterate one element farther than they should and corrupt memory. The changes to the second loop are more involved. In this case, we're copying data from the irqbuf[] array into the nbpf->chan[] array. If the data in irqbuf[i] is the error IRQ then we skip it, so the iterators are not in sync. I added a check to ensure that we don't go beyond the end of the irqbuf[] array. I'm pretty sure this can't happen, but it seemed harmless to add a check. On the other hand, after the loop has ended there is a check to ensure that the "chan" iterator is where we expect it to be. In the original code we went one element beyond the end of the array so the iterator wasn't in the correct place and it would always return -EINVAL. However, now it will always be in the correct place. I deleted the check since we know the result.
- Published
- 8/16/2025
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 3.17, < 5.4.297 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.241 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.190 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.147 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.100 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.40 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.15.8 | Verify advisory | Source |
linux kernel linux | 6.16 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
debian linux debian | 11.0 | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < 84fff8e6f11b9af1407e273995b5257d99ff0cff | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < aec396b4f736f3f8d2c28a9cd2924a4ada57ae87 | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < 24861ef8b517a309a4225f2793be0cd8fa0bec9e | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < f366b36c5e3ce29c9a3c8eed3d1631908e4fc8bb | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < 4bb016438335ec02b01f96bf1367378c2bfe03e5 | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < 122160289adf8ebf15060f1cbf6265b55a914948 | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < d6bbd67ab5de37a74ac85c83c5a26664b62034dd | Verify advisory | Source |
Linux Linux | ≥ b45b262cefd5b8eb2ba88d20e5bd295881293894, < 188c6ba1dd925849c5d94885c8bbdeb0b3dcf510 | Verify advisory | Source |
Linux Linux | 3.17 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.