# CVE-2023-54217: Revert "drm/msm: Add missing check and destroy for alloc_ordered_workqueue"

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-30T12:11:13.390Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## Description

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

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

This reverts commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0.

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

First, the newly added calls to msm_drm_uninit() 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0 before 9078b434587722a6f2958dc1d536af6e39634db9; from 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0 before dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9; 6.3 (not affected: before 6.3; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/9078b434587722a6f2958dc1d536af6e39634db9>
- <https://git.kernel.org/stable/c/dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9>

## Sources

- CVE List: [CVE-2023-54217](https://www.cve.org/CVERecord?id=CVE-2023-54217), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54217](https://nvd.nist.gov/vuln/detail/CVE-2023-54217), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-54217 · Whole record: https://cve.day/CVE-2023-54217.json · Rebuilt by cve.day 2026-11-25T22:58:35.226Z
