CVE-2023-54217

Source
https://cve.org/CVERecord?id=CVE-2023-54217
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54217.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54217
Downstream
Published
2025-12-30T12:11:13.390Z
Modified
2026-03-10T21:53:46.450787Z
Summary
Revert "drm/msm: Add missing check and destroy for alloc_ordered_workqueue"
Details

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

Revert "drm/msm: Add missing check and destroy for allocorderedworkqueue"

This reverts commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0.

A recent patch that tried to fix up the msmdrminit() paths with respect to the workqueue but only ended up making things worse:

First, the newly added calls to msmdrmuninit() on early errors would trigger NULL-pointer dereferences, for example, as the kms pointer would not have been initialised. (Note that these paths were also modified by a second broken error handling patch which in effect cancelled out this part when merged.)

Second, the newly added allocation sanity check would still leak the previously allocated drm device.

Instead of trying to salvage what was badly broken (and clearly not tested), let's revert the bad commit so that clean and backportable fixes can be added in its place.

Patchwork: https://patchwork.freedesktop.org/patch/525107/

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54217.json"
}
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
643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0
Fixed
9078b434587722a6f2958dc1d536af6e39634db9
Fixed
dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9

Affected versions

v6.*
v6.1
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.3.1

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.2

Database specific

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