# CVE-2024-43856: dma: fix call order in dmam\_free\_coherent

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-770
- **Published:** 2024-08-17T09:24:26.560Z
- **Modified:** 2026-10-15T01:18:47.923Z

## Who should check

- Anyone running Linux \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< fe2d246080f035e0af5793cb79067ba125e4fb63; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 2f7bbdc744f2e7051d1cb47c8e082162df1923c9; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 257193083e8f43907e99ea633820fc2b3bcd24c7; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 87b34c8c94e29fa01d744e5147697f592998d954; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< f993a4baf6b622232e4c190d34c220179e5d61eb; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 1fe97f68fce1ba24bf823bfb0eb0956003473130; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 22094f5f52e7bc16c5bf9613365049383650b02e; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 28e8b7406d3a1f5329a03aa25a43aa28e087cb20
- Anyone running Linux 2.6.21

## Description

In the Linux kernel, the following vulnerability has been resolved:

dma: fix call order in dmam\_free\_coherent

dmam\_free\_coherent() frees a DMA allocation, which makes the
freed vaddr available for reuse, then calls devres\_destroy()
to remove and free the data structure used to track the DMA
allocation. Between the two calls, it is possible for a
concurrent task to make an allocation with the same vaddr
and add it to the devres list.

If this happens, there will be two entries in the devres list
with the same vaddr and devres\_destroy() can free the wrong
entry, triggering the WARN\_ON() in dmam\_match.

Fix by destroying the devres entry before freeing the DMA
allocation.

  kokonut //net/encryption
    http://sponge2/b9145fe6-0f72-4325-ac2f-a84d81075b03

## Affected and fixed versions

- Linux: \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< fe2d246080f035e0af5793cb79067ba125e4fb63; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 2f7bbdc744f2e7051d1cb47c8e082162df1923c9; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 257193083e8f43907e99ea633820fc2b3bcd24c7; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 87b34c8c94e29fa01d744e5147697f592998d954; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< f993a4baf6b622232e4c190d34c220179e5d61eb; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 1fe97f68fce1ba24bf823bfb0eb0956003473130; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 22094f5f52e7bc16c5bf9613365049383650b02e; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 28e8b7406d3a1f5329a03aa25a43aa28e087cb20 (cvelist)
- Linux: 2.6.21 (cvelist)

## Mitigation

- Upgrade Linux to 28e8b7406d3a1f5329a03aa25a43aa28e087cb20 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43856. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43856.md
Affected: Linux >= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, < fe2d246080f035e0af5793cb79067ba125e4fb63; >= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, < 2f7bbdc744f2e7051d1cb47c8e082162df1923c9; >= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, < 257193083e8f43907e99ea633820fc2b3bcd24c7; >= 9ac7849e35f705830f7b016…
Fixed in: Linux 2f7bbdc744f2e7051d1cb47c8e082162df1923c9, Linux 257193083e8f43907e99ea633820fc2b3bcd24c7, Linux 87b34c8c94e29fa01d744e5147697f592998d954, Linux 1fe97f68fce1ba24bf823bfb0eb0956003473130, Linux 22094f5f52e7bc16c5bf9613365049383650b02e, Linux 28e8b7406d3a1f5329a03aa25a43aa28e087cb20

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43856 being exploited?

There is no confirmed exploitation: CVE-2024-43856 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43856?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43856?

Linux \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< fe2d246080f035e0af5793cb79067ba125e4fb63; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 2f7bbdc744f2e7051d1cb47c8e082162df1923c9; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 257193083e8f43907e99ea633820fc2b3bcd24c7; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 87b34c8c94e29fa01d744e5147697f592998d954; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< f993a4baf6b622232e4c190d34c220179e5d61eb; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 1fe97f68fce1ba24bf823bfb0eb0956003473130; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 22094f5f52e7bc16c5bf9613365049383650b02e; \>= 9ac7849e35f705830f7b016ff272b0ff1f7ff759, \< 28e8b7406d3a1f5329a03aa25a43aa28e087cb20; Linux 2.6.21.

### Is there a fix for CVE-2024-43856?

Yes. Fixed in Linux 2f7bbdc744f2e7051d1cb47c8e082162df1923c9, Linux 257193083e8f43907e99ea633820fc2b3bcd24c7, Linux 87b34c8c94e29fa01d744e5147697f592998d954, Linux 1fe97f68fce1ba24bf823bfb0eb0956003473130, Linux 22094f5f52e7bc16c5bf9613365049383650b02e, Linux 28e8b7406d3a1f5329a03aa25a43aa28e087cb20. Upgrade Linux to 28e8b7406d3a1f5329a03aa25a43aa28e087cb20 or later.

### How do I check if I'm affected by CVE-2024-43856?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/fe2d246080f035e0af5793cb79067ba125e4fb63>
- patch: <https://git.kernel.org/stable/c/2f7bbdc744f2e7051d1cb47c8e082162df1923c9>
- patch: <https://git.kernel.org/stable/c/257193083e8f43907e99ea633820fc2b3bcd24c7>
- patch: <https://git.kernel.org/stable/c/87b34c8c94e29fa01d744e5147697f592998d954>
- patch: <https://git.kernel.org/stable/c/f993a4baf6b622232e4c190d34c220179e5d61eb>
- patch: <https://git.kernel.org/stable/c/1fe97f68fce1ba24bf823bfb0eb0956003473130>
- patch: <https://git.kernel.org/stable/c/22094f5f52e7bc16c5bf9613365049383650b02e>
- patch: <https://git.kernel.org/stable/c/28e8b7406d3a1f5329a03aa25a43aa28e087cb20>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43856>

HTML: <https://flawdb.com/CVE-2024-43856> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43856>
