{"id":"CVE-2026-139514","state":"PUBLISHED","title":"dmaengine: ste_dma40: Fix memcpy channel parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ste_dma40: Fix memcpy channel parsing\n\nd40_of_probe() validates the memcpy-channels property against\nD40_MEMCPY_MAX_CHANS, but reads the property directly into a smaller global\narray. A long property can therefore overwrite adjacent data. The mutable\nglobal also lets a later DMA40 instance replace the memcpy channel mapping\nused for future allocations on an earlier instance.\n\nStore the mapping in the per-device platform data, validate the property\nagainst that storage, and check the property read result. The property is\nrequired and d40_probe() always populates the platform data, so remove the\nobsolete global mapping and fallback.","publishedAt":"2026-11-30T13:35:27.249Z","updatedAt":"2026-11-30T13:35:27.249Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"d23c160c9d42e7a0665519fadf75dc4a6e54abe6","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"43ad2d1a301caf187aa3cdf443f05f57fc719a65","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"c5cd415a0bb86587c2e34bbe203d2cc33150a0ad","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"8a68c0d3112b551dafe822fe384b0ac1881ee35a","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"f2baf04a695de4f952513cb00ccf0338c6db2e00","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/ste_dma40.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.11","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/ste_dma40.c"]}],"references":["https://git.kernel.org/stable/c/d23c160c9d42e7a0665519fadf75dc4a6e54abe6","https://git.kernel.org/stable/c/43ad2d1a301caf187aa3cdf443f05f57fc719a65","https://git.kernel.org/stable/c/c5cd415a0bb86587c2e34bbe203d2cc33150a0ad","https://git.kernel.org/stable/c/8a68c0d3112b551dafe822fe384b0ac1881ee35a","https://git.kernel.org/stable/c/f2baf04a695de4f952513cb00ccf0338c6db2e00"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139514.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139514","state":"PUBLISHED","datePublished":"2026-11-30T13:35:27.249Z","dateUpdated":"2026-11-30T13:35:27.249Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.938Z"},"containers":{"cna":{"title":"dmaengine: ste_dma40: Fix memcpy channel parsing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ste_dma40: Fix memcpy channel parsing\n\nd40_of_probe() validates the memcpy-channels property against\nD40_MEMCPY_MAX_CHANS, but reads the property directly into a smaller global\narray. A long property can therefore overwrite adjacent data. The mutable\nglobal also lets a later DMA40 instance replace the memcpy channel mapping\nused for future allocations on an earlier instance.\n\nStore the mapping in the per-device platform data, validate the property\nagainst that storage, and check the property read result. The property is\nrequired and d40_probe() always populates the platform data, so remove the\nobsolete global mapping and fallback."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"d23c160c9d42e7a0665519fadf75dc4a6e54abe6","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"43ad2d1a301caf187aa3cdf443f05f57fc719a65","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"c5cd415a0bb86587c2e34bbe203d2cc33150a0ad","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"8a68c0d3112b551dafe822fe384b0ac1881ee35a","versionType":"git"},{"version":"a7dacb68b35a193d9bdaabde1e4e98140d81a991","status":"affected","lessThan":"f2baf04a695de4f952513cb00ccf0338c6db2e00","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/ste_dma40.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.11","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/ste_dma40.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d23c160c9d42e7a0665519fadf75dc4a6e54abe6"},{"url":"https://git.kernel.org/stable/c/43ad2d1a301caf187aa3cdf443f05f57fc719a65"},{"url":"https://git.kernel.org/stable/c/c5cd415a0bb86587c2e34bbe203d2cc33150a0ad"},{"url":"https://git.kernel.org/stable/c/8a68c0d3112b551dafe822fe384b0ac1881ee35a"},{"url":"https://git.kernel.org/stable/c/f2baf04a695de4f952513cb00ccf0338c6db2e00"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:27.249Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}