CVE-2023-54091

drm/client: Fix memory leak in drm_client_target_cloned

No CVSS score yet EPSS 0.27%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54091

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54091 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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):

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before d3009700f48602b557eade1f22c98b6bc20247e8
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before a4b978249e8fa94956fce8b70a709f7797716f62
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before 105275879a80503686a8108af2f5c579a1c5aef4
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before a85e23a1ef63e45a18f0a30d7816fcb4a865ca95
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before b5359d7a5087ac398fc429da6833133b4784c268
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before 4b596a6e2d2e0f9c14e4122506dd715f43fcd727
affected from 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a, before c2a88e8bdf5f6239948d75283d0ae7e0c7945b03
Other versions: unaffected
Linux
affected 2.6.35
unaffected before 2.6.35
unaffected from 4.14.322 up to and including 4.14.*
unaffected from 4.19.291 up to and including 4.19.*
unaffected from 5.4.251 up to and including 5.4.*
unaffected from 5.10.188 up to and including 5.10.*
unaffected from 5.15.123 up to and including 5.15.*
unaffected from 6.1.42 up to and including 6.1.*
unaffected from 6.4.7 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54091 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54091

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54091
trivy image --scanners vuln IMAGE | grep CVE-2023-54091

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54091 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.