# CVE-2024-35990: dma: xilinx\_dpdma: Fix locking

> 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.26% (percentile 10, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-20T09:47:55.736Z
- **Modified:** 2026-10-15T01:18:18.547Z

## Who should check

- Anyone running Linux \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< fcdd5bb4a8c81c64c1334d7e0aba41a8829a24de; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 0ccac964520a6f19e355652c8ca38af2a7f27076; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8bf574183282d219cfa991f7df37aad491d74c11; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8e3c94767cad5150198e4337c8b91f3bb068e14b; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< c660be571609e03e7d5972343536a736fcb31557; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 244296cc3a155199a8b080d19e645d7d49081a38
- Anyone running Linux 5.9

## Description

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

dma: xilinx\_dpdma: Fix locking

There are several places where either chan-\>lock or chan-\>vchan.lock was
not held. Add appropriate locking. This fixes lockdep warnings like

\[   31.077578\] ------------\[ cut here \]------------
\[   31.077831\] WARNING: CPU: 2 PID: 40 at drivers/dma/xilinx/xilinx\_dpdma.c:834 xilinx\_dpdma\_chan\_queue\_transfer+0x274/0x5e0
\[   31.077953\] Modules linked in:
\[   31.078019\] CPU: 2 PID: 40 Comm: kworker/u12:1 Not tainted 6.6.20+ \#98
\[   31.078102\] Hardware name: xlnx,zynqmp (DT)
\[   31.078169\] Workqueue: events\_unbound deferred\_probe\_work\_func
\[   31.078272\] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   31.078377\] pc : xilinx\_dpdma\_chan\_queue\_transfer+0x274/0x5e0
\[   31.078473\] lr : xilinx\_dpdma\_chan\_queue\_transfer+0x270/0x5e0
\[   31.078550\] sp : ffffffc083bb2e10
\[   31.078590\] x29: ffffffc083bb2e10 x28: 0000000000000000 x27: ffffff880165a168
\[   31.078754\] x26: ffffff880164e920 x25: ffffff880164eab8 x24: ffffff880164d480
\[   31.078920\] x23: ffffff880165a148 x22: ffffff880164e988 x21: 0000000000000000
\[   31.079132\] x20: ffffffc082aa3000 x19: ffffff880164e880 x18: 0000000000000000
\[   31.079295\] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
\[   31.079453\] x14: 0000000000000000 x13: ffffff8802263dc0 x12: 0000000000000001
\[   31.079613\] x11: 0001ffc083bb2e34 x10: 0001ff880164e98f x9 : 0001ffc082aa3def
\[   31.079824\] x8 : 0001ffc082aa3dec x7 : 0000000000000000 x6 : 0000000000000516
\[   31.079982\] x5 : ffffffc7f8d43000 x4 : ffffff88003c9c40 x3 : ffffffffffffffff
\[   31.080147\] x2 : ffffffc7f8d43000 x1 : 00000000000000c0 x0 : 0000000000000000
\[   31.080307\] Call trace:
\[   31.080340\]  xilinx\_dpdma\_chan\_queue\_transfer+0x274/0x5e0
\[   31.080518\]  xilinx\_dpdma\_issue\_pending+0x11c/0x120
\[   31.080595\]  zynqmp\_disp\_layer\_update+0x180/0x3ac
\[   31.080712\]  zynqmp\_dpsub\_plane\_atomic\_update+0x11c/0x21c
\[   31.080825\]  drm\_atomic\_helper\_commit\_planes+0x20c/0x684
\[   31.080951\]  drm\_atomic\_helper\_commit\_tail+0x5c/0xb0
\[   31.081139\]  commit\_tail+0x234/0x294
\[   31.081246\]  drm\_atomic\_helper\_commit+0x1f8/0x210
\[   31.081363\]  drm\_atomic\_commit+0x100/0x140
\[   31.081477\]  drm\_client\_modeset\_commit\_atomic+0x318/0x384
\[   31.081634\]  drm\_client\_modeset\_commit\_locked+0x8c/0x24c
\[   31.081725\]  drm\_client\_modeset\_commit+0x34/0x5c
\[   31.081812\]  \_\_drm\_fb\_helper\_restore\_fbdev\_mode\_unlocked+0x104/0x168
\[   31.081899\]  drm\_fb\_helper\_set\_par+0x50/0x70
\[   31.081971\]  fbcon\_init+0x538/0xc48
\[   31.082047\]  visual\_init+0x16c/0x23c
\[   31.082207\]  do\_bind\_con\_driver.isra.0+0x2d0/0x634
\[   31.082320\]  do\_take\_over\_console+0x24c/0x33c
\[   31.082429\]  do\_fbcon\_takeover+0xbc/0x1b0
\[   31.082503\]  fbcon\_fb\_registered+0x2d0/0x34c
\[   31.082663\]  register\_framebuffer+0x27c/0x38c
\[   31.082767\]  \_\_drm\_fb\_helper\_initial\_config\_and\_unlock+0x5c0/0x91c
\[   31.082939\]  drm\_fb\_helper\_initial\_config+0x50/0x74
\[   31.083012\]  drm\_fbdev\_dma\_client\_hotplug+0xb8/0x108
\[   31.083115\]  drm\_client\_register+0xa0/0xf4
\[   31.083195\]  drm\_fbdev\_dma\_setup+0xb0/0x1cc
\[   31.083293\]  zynqmp\_dpsub\_drm\_init+0x45c/0x4e0
\[   31.083431\]  zynqmp\_dpsub\_probe+0x444/0x5e0
\[   31.083616\]  platform\_probe+0x8c/0x13c
\[   31.083713\]  really\_probe+0x258/0x59c
\[   31.083793\]  \_\_driver\_probe\_device+0xc4/0x224
\[   31.083878\]  driver\_probe\_device+0x70/0x1c0
\[   31.083961\]  \_\_device\_attach\_driver+0x108/0x1e0
\[   31.084052\]  bus\_for\_each\_drv+0x9c/0x100
\[   31.084125\]  \_\_device\_attach+0x100/0x298
\[   31.084207\]  device\_initial\_probe+0x14/0x20
\[   31.084292\]  bus\_probe\_device+0xd8/0xdc
\[   31.084368\]  deferred\_probe\_work\_func+0x11c/0x180
\[   31.084451\]  process\_one\_work+0x3ac/0x988
\[   31.084643\]  worker\_thread+0x398/0x694
\[   31.084752\]  kthread+0x1bc/0x1c0
\[   31.084848\]  ret\_from\_fork+0x10/0x20
\[   31.084932\] irq event stamp: 64549
\[   31.084970\] hardirqs last  enabled at (64548): \[\<ffffffc081adf35c\>\] \_raw\_spin\_unlock\_irqrestore+0x80/0x90
\[   31.085157\]
---truncated---

## Affected and fixed versions

- Linux: \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< fcdd5bb4a8c81c64c1334d7e0aba41a8829a24de; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 0ccac964520a6f19e355652c8ca38af2a7f27076; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8bf574183282d219cfa991f7df37aad491d74c11; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8e3c94767cad5150198e4337c8b91f3bb068e14b; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< c660be571609e03e7d5972343536a736fcb31557; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 244296cc3a155199a8b080d19e645d7d49081a38 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 244296cc3a155199a8b080d19e645d7d49081a38 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-35990. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35990.md
Affected: Linux >= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, < fcdd5bb4a8c81c64c1334d7e0aba41a8829a24de; >= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, < 0ccac964520a6f19e355652c8ca38af2a7f27076; >= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, < 8bf574183282d219cfa991f7df37aad491d74c11; >= 7cbb0c63de3fc218fd06ecf…
Fixed in: Linux 0ccac964520a6f19e355652c8ca38af2a7f27076, Linux 8bf574183282d219cfa991f7df37aad491d74c11, Linux 8e3c94767cad5150198e4337c8b91f3bb068e14b, Linux 244296cc3a155199a8b080d19e645d7d49081a38

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-35990 being exploited?

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

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

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

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

Linux \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< fcdd5bb4a8c81c64c1334d7e0aba41a8829a24de; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 0ccac964520a6f19e355652c8ca38af2a7f27076; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8bf574183282d219cfa991f7df37aad491d74c11; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 8e3c94767cad5150198e4337c8b91f3bb068e14b; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< c660be571609e03e7d5972343536a736fcb31557; \>= 7cbb0c63de3fc218fd06ecfedb477772a4d12f76, \< 244296cc3a155199a8b080d19e645d7d49081a38; Linux 5.9.

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

Yes. Fixed in Linux 0ccac964520a6f19e355652c8ca38af2a7f27076, Linux 8bf574183282d219cfa991f7df37aad491d74c11, Linux 8e3c94767cad5150198e4337c8b91f3bb068e14b, Linux 244296cc3a155199a8b080d19e645d7d49081a38. Upgrade Linux to 244296cc3a155199a8b080d19e645d7d49081a38 or later.

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

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/fcdd5bb4a8c81c64c1334d7e0aba41a8829a24de>
- patch: <https://git.kernel.org/stable/c/0ccac964520a6f19e355652c8ca38af2a7f27076>
- patch: <https://git.kernel.org/stable/c/8bf574183282d219cfa991f7df37aad491d74c11>
- patch: <https://git.kernel.org/stable/c/8e3c94767cad5150198e4337c8b91f3bb068e14b>
- patch: <https://git.kernel.org/stable/c/c660be571609e03e7d5972343536a736fcb31557>
- patch: <https://git.kernel.org/stable/c/244296cc3a155199a8b080d19e645d7d49081a38>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.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-35990>

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