Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — Avoid hw_desc array overrun in dw-axi-dmac
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U N N H 5.5 .0030 23.1 —
AFFECTED
Product Versions Fixed
Linux ef6fb2d6f1abd56cc067c694253ea362159b5ac3 – —
Linux 5.12 – 5.15.162
TIMELINE
Jul 12 Reserved by Linux
Jul 12 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2024-40970 (Linux). CVSS 7.8 → 5.5 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
Avoid hw_desc array overrun in dw-axi-dmac
I have a use case where nr_buffers = 3 and in which each descriptor is composed by 3
segments, resulting in the DMA channel descs_allocated to be 9. Since axi_desc_put()
handles the hw_desc considering the descs_allocated, this scenario would result in a
kernel panic (hw_desc array will be overrun).
To fix this, the proposal is to add a new member to the axi_dma_desc structure,
where we keep the number of allocated hw_descs (axi_desc_alloc()) and use it in
axi_desc_put() to handle the hw_desc array correctly.
Additionally I propose to remove the axi_chan_start_first_queued() call after completing
the transfer, since it was identified that unbalance can occur (started descriptors can
be interrupted and transfer ignored due to DMA channel not being enabled).
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| July 12, 2024 | Reserved | Reserved by Linux |
| July 12, 2024 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2024-40970 (Linux). CVSS 7.8 → 5.5 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | ef6fb2d6f1abd56cc067c694253ea362159b5ac3 | — |
| Linux | Linux | — | 5.12 | 5.15.162 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-40970 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.