CVE-2023-54217
Full vulnerability record from the local CVENow database.
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/
View original CVE JSON
{
"id": "CVE-2023-54217",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2025-12-30T13:16:09.960",
"lastModified": "2026-10-28T19:10:00.193",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"drm/msm: Add missing check and destroy for alloc_ordered_workqueue\"\n\nThis reverts commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0.\n\nA recent patch that tried to fix up the msm_drm_init() paths with\nrespect to the workqueue but only ended up making things worse:\n\nFirst, the newly added calls to msm_drm_uninit() on early errors would\ntrigger NULL-pointer dereferences, for example, as the kms pointer would\nnot have been initialised. (Note that these paths were also modified by\na second broken error handling patch which in effect cancelled out this\npart when merged.)\n\nSecond, the newly added allocation sanity check would still leak the\npreviously allocated drm device.\n\nInstead of trying to salvage what was badly broken (and clearly not\ntested), let's revert the bad commit so that clean and backportable\nfixes can be added in its place.\n\nPatchwork: https://patchwork.freedesktop.org/patch/525107/"
},
{
"lang": "es",
"value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nRevertir ’drm/msm: Add missing check and destroy for alloc_ordered_workqueue’\n\nEsto revierte el commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0.\n\nUn parche reciente que intentó corregir las rutas de msm_drm_init() con respecto a la workqueue pero solo terminó empeorando las cosas:\n\nPrimero, las llamadas recién añadidas a msm_drm_uninit() en errores tempranos desencadenarían desreferencias de puntero NULL, por ejemplo, ya que el puntero kms no habría sido inicializado. (Tenga en cuenta que estas rutas también fueron modificadas por un segundo parche de manejo de errores defectuoso que, en efecto, canceló esta parte al fusionarse.)\n\nSegundo, la comprobación de cordura de asignación recién añadida seguiría filtrando el dispositivo drm previamente asignado.\n\nEn lugar de intentar rescatar lo que estaba gravemente roto (y claramente no probado), revirtamos el commit defectuoso para que correcciones limpias y retrocompatibles puedan ser añadidas en su lugar.\n\nPatchwork: https://patchwork.freedesktop.org/patch/525107/"
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/gpu/drm/msm/msm_drv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0",
"lessThan": "9078b434587722a6f2958dc1d536af6e39634db9",
"versionType": "git",
"status": "affected"
},
{
"version": "643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0",
"lessThan": "dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/gpu/drm/msm/msm_drv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.3",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.3",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.3.2",
"lessThanOrEqual": "6.3.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.4",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/9078b434587722a6f2958dc1d536af6e39634db9",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}