# CVE-2024-38664: drm: zynqmp\_dpsub: Always register bridge

> 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, NVD) `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.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-06-24T13:50:52.371Z
- **Modified:** 2026-06-17T07:40:49.810Z

## Who should check

- Anyone running Linux \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 603661357056b5e5ba6d86f505fbc936eff396ba; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< be3f3042391d061cfca2bd22630e0d101acea5fc
- Anyone running Linux 6.2

## Description

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

drm: zynqmp\_dpsub: Always register bridge

We must always register the DRM bridge, since zynqmp\_dp\_hpd\_work\_func
calls drm\_bridge\_hpd\_notify, which in turn expects hpd\_mutex to be
initialized. We do this before zynqmp\_dpsub\_drm\_init since that calls
drm\_bridge\_attach. This fixes the following lockdep warning:

\[   19.217084\] ------------\[ cut here \]------------
\[   19.227530\] DEBUG\_LOCKS\_WARN\_ON(lock-\>magic != lock)
\[   19.227768\] WARNING: CPU: 0 PID: 140 at kernel/locking/mutex.c:582 \_\_mutex\_lock+0x4bc/0x550
\[   19.241696\] Modules linked in:
\[   19.244937\] CPU: 0 PID: 140 Comm: kworker/0:4 Not tainted 6.6.20+ \#96
\[   19.252046\] Hardware name: xlnx,zynqmp (DT)
\[   19.256421\] Workqueue: events zynqmp\_dp\_hpd\_work\_func
\[   19.261795\] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   19.269104\] pc : \_\_mutex\_lock+0x4bc/0x550
\[   19.273364\] lr : \_\_mutex\_lock+0x4bc/0x550
\[   19.277592\] sp : ffffffc085c5bbe0
\[   19.281066\] x29: ffffffc085c5bbe0 x28: 0000000000000000 x27: ffffff88009417f8
\[   19.288624\] x26: ffffff8800941788 x25: ffffff8800020008 x24: ffffffc082aa3000
\[   19.296227\] x23: ffffffc080d90e3c x22: 0000000000000002 x21: 0000000000000000
\[   19.303744\] x20: 0000000000000000 x19: ffffff88002f5210 x18: 0000000000000000
\[   19.311295\] x17: 6c707369642e3030 x16: 3030613464662072 x15: 0720072007200720
\[   19.318922\] x14: 0000000000000000 x13: 284e4f5f4e524157 x12: 0000000000000001
\[   19.326442\] x11: 0001ffc085c5b940 x10: 0001ff88003f388b x9 : 0001ff88003f3888
\[   19.334003\] x8 : 0001ff88003f3888 x7 : 0000000000000000 x6 : 0000000000000000
\[   19.341537\] x5 : 0000000000000000 x4 : 0000000000001668 x3 : 0000000000000000
\[   19.349054\] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff88003f3880
\[   19.356581\] Call trace:
\[   19.359160\]  \_\_mutex\_lock+0x4bc/0x550
\[   19.363032\]  mutex\_lock\_nested+0x24/0x30
\[   19.367187\]  drm\_bridge\_hpd\_notify+0x2c/0x6c
\[   19.371698\]  zynqmp\_dp\_hpd\_work\_func+0x44/0x54
\[   19.376364\]  process\_one\_work+0x3ac/0x988
\[   19.380660\]  worker\_thread+0x398/0x694
\[   19.384736\]  kthread+0x1bc/0x1c0
\[   19.388241\]  ret\_from\_fork+0x10/0x20
\[   19.392031\] irq event stamp: 183
\[   19.395450\] hardirqs last  enabled at (183): \[\<ffffffc0800b9278\>\] finish\_task\_switch.isra.0+0xa8/0x2d4
\[   19.405140\] hardirqs last disabled at (182): \[\<ffffffc081ad3754\>\] \_\_schedule+0x714/0xd04
\[   19.413612\] softirqs last  enabled at (114): \[\<ffffffc080133de8\>\] srcu\_invoke\_callbacks+0x158/0x23c
\[   19.423128\] softirqs last disabled at (110): \[\<ffffffc080133de8\>\] srcu\_invoke\_callbacks+0x158/0x23c
\[   19.432614\] ---\[ end trace 0000000000000000 \]---

(cherry picked from commit 61ba791c4a7a09a370c45b70a81b8c7d4cf6b2ae)

## Affected and fixed versions

- Linux: \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 603661357056b5e5ba6d86f505fbc936eff396ba; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< be3f3042391d061cfca2bd22630e0d101acea5fc (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-38664.md
Affected: Linux >= eb2d64bfcc174919a921295a5327b99a3b8f4166, < 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9; >= eb2d64bfcc174919a921295a5327b99a3b8f4166, < 603661357056b5e5ba6d86f505fbc936eff396ba; >= eb2d64bfcc174919a921295a5327b99a3b8f4166, < be3f3042391d061cfca2bd22630e0d101acea5fc; Linux 6.2
Fixed in: Linux 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9, Linux 603661357056b5e5ba6d86f505fbc936eff396ba

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

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

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

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

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

Linux \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< 603661357056b5e5ba6d86f505fbc936eff396ba; \>= eb2d64bfcc174919a921295a5327b99a3b8f4166, \< be3f3042391d061cfca2bd22630e0d101acea5fc; Linux 6.2.

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

Yes. Fixed in Linux 6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9, Linux 603661357056b5e5ba6d86f505fbc936eff396ba. No fix listed yet: follow the vendor advisory.

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

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/6ead3eccf67bc8318b1ce95ed879b2cc05b4fce9>
- patch: <https://git.kernel.org/stable/c/603661357056b5e5ba6d86f505fbc936eff396ba>
- patch: <https://git.kernel.org/stable/c/be3f3042391d061cfca2bd22630e0d101acea5fc>

## 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-38664>

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