{"id":"CVE-2026-139515","state":"PUBLISHED","title":"dmaengine: ste_dma40: Init hardware before registration","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ste_dma40: Init hardware before registration\n\nd40_probe() enables the interrupt handler and registers DMAengine devices\nbefore calling d40_hw_init(). An interrupt pending from the bootloader can\ntherefore reach the handler while the hardware interrupt state is not\ninitialized and channel lookup entries are empty. The handler deliberately\ndoes not acknowledge an interrupt for an unknown channel, so a level IRQ\ncan retrigger continuously.\n\nInitialize the hardware and set the DMA segment limit before requesting\nthe IRQ or registering DMAengine devices. d40_hw_init() clears pending\nlogical and physical interrupt status, so request_irq() can enable the\nline normally after the hardware state is initialized.\n\nThis ensures that the handler and clients only observe initialized\nhardware.","publishedAt":"2026-11-30T13:35:27.792Z","updatedAt":"2026-11-30T13:35:27.792Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"014d760d97b783fef611687967d426aed1195181","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"cfb611e6689216cbb2f0bc0eb3574d043936dd81","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"1d740ca0378406ded93898b39138f36d51647d3c","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"ffd583a734dc4bdafb9e18d9aa48b6efafd1a628","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":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","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/014d760d97b783fef611687967d426aed1195181","https://git.kernel.org/stable/c/cfb611e6689216cbb2f0bc0eb3574d043936dd81","https://git.kernel.org/stable/c/1d740ca0378406ded93898b39138f36d51647d3c","https://git.kernel.org/stable/c/ffd583a734dc4bdafb9e18d9aa48b6efafd1a628"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139515.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139515","state":"PUBLISHED","datePublished":"2026-11-30T13:35:27.792Z","dateUpdated":"2026-11-30T13:35:27.792Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.938Z"},"containers":{"cna":{"title":"dmaengine: ste_dma40: Init hardware before registration","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ste_dma40: Init hardware before registration\n\nd40_probe() enables the interrupt handler and registers DMAengine devices\nbefore calling d40_hw_init(). An interrupt pending from the bootloader can\ntherefore reach the handler while the hardware interrupt state is not\ninitialized and channel lookup entries are empty. The handler deliberately\ndoes not acknowledge an interrupt for an unknown channel, so a level IRQ\ncan retrigger continuously.\n\nInitialize the hardware and set the DMA segment limit before requesting\nthe IRQ or registering DMAengine devices. d40_hw_init() clears pending\nlogical and physical interrupt status, so request_irq() can enable the\nline normally after the hardware state is initialized.\n\nThis ensures that the handler and clients only observe initialized\nhardware."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"014d760d97b783fef611687967d426aed1195181","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"cfb611e6689216cbb2f0bc0eb3574d043936dd81","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"1d740ca0378406ded93898b39138f36d51647d3c","versionType":"git"},{"version":"8d318a50b3d72e3daf94131f91e1ab799a8d5ad4","status":"affected","lessThan":"ffd583a734dc4bdafb9e18d9aa48b6efafd1a628","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":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","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/014d760d97b783fef611687967d426aed1195181"},{"url":"https://git.kernel.org/stable/c/cfb611e6689216cbb2f0bc0eb3574d043936dd81"},{"url":"https://git.kernel.org/stable/c/1d740ca0378406ded93898b39138f36d51647d3c"},{"url":"https://git.kernel.org/stable/c/ffd583a734dc4bdafb9e18d9aa48b6efafd1a628"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:27.792Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}