cveboard RSS feed

CVE-2025-38538

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

dmaengine: nbpfaxi: Fix memory corruption in probe()

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgit84fff8e6f11b9af1407e273995b5257d99ff0cffUnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgitaec396b4f736f3f8d2c28a9cd2924a4ada57ae87UnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgit24861ef8b517a309a4225f2793be0cd8fa0bec9eUnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgitf366b36c5e3ce29c9a3c8eed3d1631908e4fc8bbUnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgit4bb016438335ec02b01f96bf1367378c2bfe03e5UnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgit122160289adf8ebf15060f1cbf6265b55a914948UnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgitd6bbd67ab5de37a74ac85c83c5a26664b62034ddUnavailableNone listed
b45b262cefd5b8eb2ba88d20e5bd295881293894affectedgit188c6ba1dd925849c5d94885c8bbdeb0b3dcf510UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
3.17affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver3.17UnavailableNone listed
5.4.297unaffectedsemverUnavailable5.4.*None listed
5.10.241unaffectedsemverUnavailable5.10.*None listed
5.15.190unaffectedsemverUnavailable5.15.*None listed
6.1.147unaffectedsemverUnavailable6.1.*None listed
6.6.100unaffectedsemverUnavailable6.6.*None listed
6.12.40unaffectedsemverUnavailable6.12.*None listed
6.15.8unaffectedsemverUnavailable6.15.*None listed
6.16unaffectedoriginal_commit_for_fixUnavailable*None listed