CVE-2023-54091

Source
https://cve.org/CVERecord?id=CVE-2023-54091
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54091.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54091
Downstream
Related
Published
2025-12-24T13:06:20.376Z
Modified
2026-03-31T17:29:38.186598943Z
Summary
drm/client: Fix memory leak in drm_client_target_cloned
Details

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

drm/client: Fix memory leak in drmclienttarget_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>] drmmodeduplicate+0x45/0x220 [drm] [<00000000e45bb5b3>] drmclienttargetcloned.constprop.0+0x27b/0x480 [drm] [<00000000ed2d3a37>] drmclientmodesetprobe+0x6bd/0xf50 [drm] [<0000000010e5cc9d>] _drmfbhelperinitialconfigandunlock+0xb4/0x2c0 [drmkmshelper] [<00000000909f82ca>] drmfbdevclienthotplug+0x2bc/0x4d0 [drmkmshelper] [<00000000063a69aa>] drmclientregister+0x169/0x240 [drm] [<00000000a8c61525>] astpciprobe+0x142/0x190 [ast] [<00000000987f19bb>] localpciprobe+0xdc/0x180 [<000000004fca231b>] workforcpufn+0x4e/0xa0 [<0000000000b85301>] processonework+0x8b7/0x1540 [<000000003375b17c>] workerthread+0x70a/0xed0 [<00000000b0d43cd9>] kthread+0x29f/0x340 [<000000008d770833>] retfromfork+0x1f/0x30 unreferenced object 0xff11000333089a00 (size 128):

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54091.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1d42bbc8f7f9ce4d852692ef7aa336b133b0830a
Fixed
d3009700f48602b557eade1f22c98b6bc20247e8
Fixed
a4b978249e8fa94956fce8b70a709f7797716f62
Fixed
52daf6ba2e0d201640cb1ce42049c5c4426b4d6e
Fixed
105275879a80503686a8108af2f5c579a1c5aef4
Fixed
a85e23a1ef63e45a18f0a30d7816fcb4a865ca95
Fixed
b5359d7a5087ac398fc429da6833133b4784c268
Fixed
4b596a6e2d2e0f9c14e4122506dd715f43fcd727
Fixed
c2a88e8bdf5f6239948d75283d0ae7e0c7945b03

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54091.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.35
Fixed
4.14.322
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.291
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.123
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.42
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54091.json"