# CVE-2023-54091: drm/client: Fix memory leak in drm\_client\_target\_cloned

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T13:06:20.376Z
- **Modified:** 2026-06-17T06:46:47.153Z

## Who should check

- Anyone running Linux \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< d3009700f48602b557eade1f22c98b6bc20247e8; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a4b978249e8fa94956fce8b70a709f7797716f62; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 105275879a80503686a8108af2f5c579a1c5aef4; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a85e23a1ef63e45a18f0a30d7816fcb4a865ca95; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< b5359d7a5087ac398fc429da6833133b4784c268; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 4b596a6e2d2e0f9c14e4122506dd715f43fcd727; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< c2a88e8bdf5f6239948d75283d0ae7e0c7945b03
- Anyone running Linux 2.6.35

## Description

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

drm/client: Fix memory leak in drm\_client\_target\_cloned

dmt\_mode is allocated and never freed in this function.
It was found with the ast driver, but most drivers using generic fbdev
setup are probably affected.

This fixes the following kmemleak report:
  backtrace:
    \[\<00000000b391296d\>\] drm\_mode\_duplicate+0x45/0x220 \[drm\]
    \[\<00000000e45bb5b3\>\] drm\_client\_target\_cloned.constprop.0+0x27b/0x480 \[drm\]
    \[\<00000000ed2d3a37\>\] drm\_client\_modeset\_probe+0x6bd/0xf50 \[drm\]
    \[\<0000000010e5cc9d\>\] \_\_drm\_fb\_helper\_initial\_config\_and\_unlock+0xb4/0x2c0 \[drm\_kms\_helper\]
    \[\<00000000909f82ca\>\] drm\_fbdev\_client\_hotplug+0x2bc/0x4d0 \[drm\_kms\_helper\]
    \[\<00000000063a69aa\>\] drm\_client\_register+0x169/0x240 \[drm\]
    \[\<00000000a8c61525\>\] ast\_pci\_probe+0x142/0x190 \[ast\]
    \[\<00000000987f19bb\>\] local\_pci\_probe+0xdc/0x180
    \[\<000000004fca231b\>\] work\_for\_cpu\_fn+0x4e/0xa0
    \[\<0000000000b85301\>\] process\_one\_work+0x8b7/0x1540
    \[\<000000003375b17c\>\] worker\_thread+0x70a/0xed0
    \[\<00000000b0d43cd9\>\] kthread+0x29f/0x340
    \[\<000000008d770833\>\] ret\_from\_fork+0x1f/0x30
unreferenced object 0xff11000333089a00 (size 128):

## Affected and fixed versions

- Linux: \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< d3009700f48602b557eade1f22c98b6bc20247e8; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a4b978249e8fa94956fce8b70a709f7797716f62; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 105275879a80503686a8108af2f5c579a1c5aef4; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a85e23a1ef63e45a18f0a30d7816fcb4a865ca95; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< b5359d7a5087ac398fc429da6833133b4784c268; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 4b596a6e2d2e0f9c14e4122506dd715f43fcd727; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< c2a88e8bdf5f6239948d75283d0ae7e0c7945b03 (cvelist)
- Linux: 2.6.35 (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-2023-54091. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54091.md
Affected: Linux >= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, < d3009700f48602b557eade1f22c98b6bc20247e8; >= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, < a4b978249e8fa94956fce8b70a709f7797716f62; >= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, < 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e; >= 1d42bbc8f7f9ce4d852692e…
Fixed in: Linux 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e, Linux 105275879a80503686a8108af2f5c579a1c5aef4, Linux 4b596a6e2d2e0f9c14e4122506dd715f43fcd727

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-2023-54091 being exploited?

There is no confirmed exploitation: CVE-2023-54091 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-2023-54091?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54091?

Linux \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< d3009700f48602b557eade1f22c98b6bc20247e8; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a4b978249e8fa94956fce8b70a709f7797716f62; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 105275879a80503686a8108af2f5c579a1c5aef4; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< a85e23a1ef63e45a18f0a30d7816fcb4a865ca95; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< b5359d7a5087ac398fc429da6833133b4784c268; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< 4b596a6e2d2e0f9c14e4122506dd715f43fcd727; \>= 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, \< c2a88e8bdf5f6239948d75283d0ae7e0c7945b03; Linux 2.6.35.

### Is there a fix for CVE-2023-54091?

Yes. Fixed in Linux 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e, Linux 105275879a80503686a8108af2f5c579a1c5aef4, Linux 4b596a6e2d2e0f9c14e4122506dd715f43fcd727. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54091?

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

- other: <https://git.kernel.org/stable/c/d3009700f48602b557eade1f22c98b6bc20247e8>
- other: <https://git.kernel.org/stable/c/a4b978249e8fa94956fce8b70a709f7797716f62>
- other: <https://git.kernel.org/stable/c/52daf6ba2e0d201640cb1ce42049c5c4426b4d6e>
- other: <https://git.kernel.org/stable/c/105275879a80503686a8108af2f5c579a1c5aef4>
- other: <https://git.kernel.org/stable/c/a85e23a1ef63e45a18f0a30d7816fcb4a865ca95>
- other: <https://git.kernel.org/stable/c/b5359d7a5087ac398fc429da6833133b4784c268>
- other: <https://git.kernel.org/stable/c/4b596a6e2d2e0f9c14e4122506dd715f43fcd727>
- other: <https://git.kernel.org/stable/c/c2a88e8bdf5f6239948d75283d0ae7e0c7945b03>

## 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-2023-54091>

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