# CVE-2025-22093: drm/amd/display: avoid NPD when ASIC does not support DMUB

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-04-16T14:12:44.802Z
- **Modified:** 2026-06-17T08:45:07.960Z

## Who should check

- Anyone running Linux \>= b7d2461858ac75c9d6bc4ab8af1a738d0814b716, \< d953e2cd59ab466569c6f9da460e01caf1c83559; \>= 758abba3dd413dc5de2016f8588403294263a30a, \< b3a93a2407ad23c8d5bacabaf7cecbb4c6cdd461; \>= 4b46fc30b37e457d25cf3908c0c4dc3fbedd2044, \< 3453bcaf2ca92659346bf8504c2b52b3993fbd79; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 5e4b1e04740cdb28de189285007366d99a92f1ce; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 35ad39afd007eddf34b3307bebb715c26891cc96; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 42d9d7bed270247f134190ba0cb05bbd072f58c2; \>= 6.1.128, \< 6.1.134; \>= 6.6.75, \< 6.6.87; \>= 6.12.12, \< 6.12.23
- Anyone running Linux 6.13

## Description

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

drm/amd/display: avoid NPD when ASIC does not support DMUB

ctx-\>dmub\_srv will de NULL if the ASIC does not support DMUB, which is
tested in dm\_dmub\_sw\_init.

However, it will be dereferenced in dmub\_hw\_lock\_mgr\_cmd if
should\_use\_dmub\_lock returns true.

This has been the case since dmub support has been added for PSR1.

Fix this by checking for dmub\_srv in should\_use\_dmub\_lock.

\[   37.440832\] BUG: kernel NULL pointer dereference, address: 0000000000000058
\[   37.447808\] \#PF: supervisor read access in kernel mode
\[   37.452959\] \#PF: error\_code(0x0000) - not-present page
\[   37.458112\] PGD 0 P4D 0
\[   37.460662\] Oops: Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
\[   37.465553\] CPU: 2 UID: 1000 PID: 1745 Comm: DrmThread Not tainted 6.14.0-rc1-00003-gd62e938120f0 \#23 99720e1cb1e0fc4773b8513150932a07de3c6e88
\[   37.478324\] Hardware name: Google Morphius/Morphius, BIOS Google\_Morphius.13434.858.0 10/26/2023
\[   37.487103\] RIP: 0010:dmub\_hw\_lock\_mgr\_cmd+0x77/0xb0
\[   37.492074\] Code: 44 24 0e 00 00 00 00 48 c7 04 24 45 00 00 0c 40 88 74 24 0d 0f b6 02 88 44 24 0c 8b 01 89 44 24 08 85 f6 75 05 c6 44 24 0e 01 \<48\> 8b 7f 58 48 89 e6 ba 01 00 00 00 e8 08 3c 2a 00 65 48 8b 04 5
\[   37.510822\] RSP: 0018:ffff969442853300 EFLAGS: 00010202
\[   37.516052\] RAX: 0000000000000000 RBX: ffff92db03000000 RCX: ffff969442853358
\[   37.523185\] RDX: ffff969442853368 RSI: 0000000000000001 RDI: 0000000000000000
\[   37.530322\] RBP: 0000000000000001 R08: 00000000000004a7 R09: 00000000000004a5
\[   37.537453\] R10: 0000000000000476 R11: 0000000000000062 R12: ffff92db0ade8000
\[   37.544589\] R13: ffff92da01180ae0 R14: ffff92da011802a8 R15: ffff92db03000000
\[   37.551725\] FS:  0000784a9cdfc6c0(0000) GS:ffff92db2af00000(0000) knlGS:0000000000000000
\[   37.559814\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[   37.565562\] CR2: 0000000000000058 CR3: 0000000112b1c000 CR4: 00000000003506f0
\[   37.572697\] Call Trace:
\[   37.575152\]  \<TASK\>
\[   37.577258\]  ? \_\_die\_body+0x66/0xb0
\[   37.580756\]  ? page\_fault\_oops+0x3e7/0x4a0
\[   37.584861\]  ? exc\_page\_fault+0x3e/0xe0
\[   37.588706\]  ? exc\_page\_fault+0x5c/0xe0
\[   37.592550\]  ? asm\_exc\_page\_fault+0x22/0x30
\[   37.596742\]  ? dmub\_hw\_lock\_mgr\_cmd+0x77/0xb0
\[   37.601107\]  dcn10\_cursor\_lock+0x1e1/0x240
\[   37.605211\]  program\_cursor\_attributes+0x81/0x190
\[   37.609923\]  commit\_planes\_for\_stream+0x998/0x1ef0
\[   37.614722\]  update\_planes\_and\_stream\_v2+0x41e/0x5c0
\[   37.619703\]  dc\_update\_planes\_and\_stream+0x78/0x140
\[   37.624588\]  amdgpu\_dm\_atomic\_commit\_tail+0x4362/0x49f0
\[   37.629832\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.633847\]  ? mark\_held\_locks+0x6d/0xd0
\[   37.637774\]  ? \_raw\_spin\_unlock\_irq+0x24/0x50
\[   37.642135\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.646148\]  ? lockdep\_hardirqs\_on+0x95/0x150
\[   37.650510\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.654522\]  ? \_raw\_spin\_unlock\_irq+0x2f/0x50
\[   37.658883\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.662897\]  ? wait\_for\_common+0x186/0x1c0
\[   37.666998\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.671009\]  ? drm\_crtc\_next\_vblank\_start+0xc3/0x170
\[   37.675983\]  commit\_tail+0xf5/0x1c0
\[   37.679478\]  drm\_atomic\_helper\_commit+0x2a2/0x2b0
\[   37.684186\]  drm\_atomic\_commit+0xd6/0x100
\[   37.688199\]  ? \_\_cfi\_\_\_drm\_printfn\_info+0x10/0x10
\[   37.692911\]  drm\_atomic\_helper\_update\_plane+0xe5/0x130
\[   37.698054\]  drm\_mode\_cursor\_common+0x501/0x670
\[   37.702600\]  ? \_\_cfi\_drm\_mode\_cursor\_ioctl+0x10/0x10
\[   37.707572\]  drm\_mode\_cursor\_ioctl+0x48/0x70
\[   37.711851\]  drm\_ioctl\_kernel+0xf2/0x150
\[   37.715781\]  drm\_ioctl+0x363/0x590
\[   37.719189\]  ? \_\_cfi\_drm\_mode\_cursor\_ioctl+0x10/0x10
\[   37.724165\]  amdgpu\_drm\_ioctl+0x41/0x80
\[   37.728013\]  \_\_se\_sys\_ioctl+0x7f/0xd0
\[   37.731685\]  do\_syscall\_64+0x87/0x100
\[   37.735355\]  ? vma\_end\_read+0x12/0xe0
\[   37.739024\]  ? srso\_return\_thunk+0x5/0x5f
\[   37.743041\]  ? find\_held\_lock+0x47/0xf0
\[   37.746884\]  ? vma\_end\_read+0x12/0xe0
\[   37.750552\]  ? srso\_return\_thunk+0x5/0
---truncated---

## Affected and fixed versions

- Linux: \>= b7d2461858ac75c9d6bc4ab8af1a738d0814b716, \< d953e2cd59ab466569c6f9da460e01caf1c83559; \>= 758abba3dd413dc5de2016f8588403294263a30a, \< b3a93a2407ad23c8d5bacabaf7cecbb4c6cdd461; \>= 4b46fc30b37e457d25cf3908c0c4dc3fbedd2044, \< 3453bcaf2ca92659346bf8504c2b52b3993fbd79; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 5e4b1e04740cdb28de189285007366d99a92f1ce; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 35ad39afd007eddf34b3307bebb715c26891cc96; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 42d9d7bed270247f134190ba0cb05bbd072f58c2; \>= 6.1.128, \< 6.1.134; \>= 6.6.75, \< 6.6.87; \>= 6.12.12, \< 6.12.23 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.23 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-22093.md
Affected: Linux >= b7d2461858ac75c9d6bc4ab8af1a738d0814b716, < d953e2cd59ab466569c6f9da460e01caf1c83559; >= 758abba3dd413dc5de2016f8588403294263a30a, < b3a93a2407ad23c8d5bacabaf7cecbb4c6cdd461; >= 4b46fc30b37e457d25cf3908c0c4dc3fbedd2044, < 3453bcaf2ca92659346bf8504c2b52b3993fbd79; >= b5c764d6ed556c4e81fbe3f…
Fixed in: Linux 3453bcaf2ca92659346bf8504c2b52b3993fbd79, Linux 5e4b1e04740cdb28de189285007366d99a92f1ce, Linux 35ad39afd007eddf34b3307bebb715c26891cc96, Linux 42d9d7bed270247f134190ba0cb05bbd072f58c2, Linux 6.1.134, Linux 6.6.87, Linux 6.12.23

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-2025-22093 being exploited?

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

### How serious is CVE-2025-22093?

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

### Which versions are affected by CVE-2025-22093?

Linux \>= b7d2461858ac75c9d6bc4ab8af1a738d0814b716, \< d953e2cd59ab466569c6f9da460e01caf1c83559; \>= 758abba3dd413dc5de2016f8588403294263a30a, \< b3a93a2407ad23c8d5bacabaf7cecbb4c6cdd461; \>= 4b46fc30b37e457d25cf3908c0c4dc3fbedd2044, \< 3453bcaf2ca92659346bf8504c2b52b3993fbd79; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 5e4b1e04740cdb28de189285007366d99a92f1ce; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 35ad39afd007eddf34b3307bebb715c26891cc96; \>= b5c764d6ed556c4e81fbe3fd976da77ec450c08e, \< 42d9d7bed270247f134190ba0cb05bbd072f58c2; \>= 6.1.128, \< 6.1.134; \>= 6.6.75, \< 6.6.87; \>= 6.12.12, \< 6.12.23; Linux 6.13.

### Is there a fix for CVE-2025-22093?

Yes. Fixed in Linux 3453bcaf2ca92659346bf8504c2b52b3993fbd79, Linux 5e4b1e04740cdb28de189285007366d99a92f1ce, Linux 35ad39afd007eddf34b3307bebb715c26891cc96, Linux 42d9d7bed270247f134190ba0cb05bbd072f58c2, Linux 6.1.134, Linux 6.6.87, Linux 6.12.23. Upgrade Linux to 6.12.23 or later.

### How do I check if I'm affected by CVE-2025-22093?

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/d953e2cd59ab466569c6f9da460e01caf1c83559>
- patch: <https://git.kernel.org/stable/c/b3a93a2407ad23c8d5bacabaf7cecbb4c6cdd461>
- patch: <https://git.kernel.org/stable/c/3453bcaf2ca92659346bf8504c2b52b3993fbd79>
- patch: <https://git.kernel.org/stable/c/5e4b1e04740cdb28de189285007366d99a92f1ce>
- patch: <https://git.kernel.org/stable/c/35ad39afd007eddf34b3307bebb715c26891cc96>
- patch: <https://git.kernel.org/stable/c/42d9d7bed270247f134190ba0cb05bbd072f58c2>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.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-2025-22093>

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