{"id":"CVE-2023-52498","aliases":["CVE-2023-52498"],"related":[],"kind":"vulnerability","state":"published","title":"PM: sleep: Fix possible deadlocks in core system-wide PM code","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: sleep: Fix possible deadlocks in core system-wide PM code\n\nIt is reported that in low-memory situations the system-wide resume core\ncode deadlocks, because async_schedule_dev() executes its argument\nfunction synchronously if it cannot allocate memory (and not only in\nthat case) and that function attempts to acquire a mutex that is already\nheld.  Executing the argument function synchronously from within\ndpm_async_fn() may also be problematic for ordering reasons (it may\ncause a consumer device's resume callback to be invoked before a\nrequisite supplier device's one, for example).\n\nAddress this by changing the code in question to use\nasync_schedule_dev_nocall() for scheduling the asynchronous\nexecution of device suspend and resume functions and to directly\nrun them synchronously if async_schedule_dev_nocall() returns false.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: sleep: Fix possible deadlocks in core system-wide PM code\n\nIt is reported that in low-memory situations the system-wide resume core\ncode deadlocks, because async_schedule_dev() executes its argument\nfunction synchronously if it cannot allocate memory (and not only in\nthat case) and that function attempts to acquire a mutex that is already\nheld.  Executing the argument function synchronously from within\ndpm_async_fn() may also be problematic for ordering reasons (it may\ncause a consumer device's resume callback to be invoked before a\nrequisite supplier device's one, for example).\n\nAddress this by changing the code in question to use\nasync_schedule_dev_nocall() for scheduling the asynchronous\nexecution of device suspend and resume functions and to directly\nrun them synchronously if async_schedule_dev_nocall() returns false.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PM: suspensión: soluciona posibles bloqueos en el código PM de todo el sistema central. Se informa que en situaciones de poca memoria, el código central de reanudación de todo el sistema se bloquea porque async_schedule_dev() ejecuta su el argumento funciona sincrónicamente si no puede asignar memoria (y no solo en ese caso) y esa función intenta adquirir un mutex que ya está retenido. La ejecución de la función de argumento sincrónicamente desde dpm_async_fn() también puede ser problemática por razones de pedido (puede causar que la devolución de llamada de currículum de un dispositivo consumidor se invoque antes que la de un dispositivo proveedor requerido, por ejemplo). Solucione este problema cambiando el código en cuestión para usar async_schedule_dev_nocall() para programar la ejecución asincrónica de las funciones de suspensión y reanudación del dispositivo y para ejecutarlas directamente de forma sincrónica si async_schedule_dev_nocall() devuelve falso.","source":"nvd"}],"published":"2024-02-29T15:52:14.029Z","modified":"2026-06-17T06:42:52.017Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"f46eb832389f162ad13cb780d0b8cde93641990d","status":"affected"},{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"a1d62c775b07213c73f81ae842424c74dd14b5f0","status":"affected"},{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"e1c9d32c98309ae764893a481552d3f99d46cb34","status":"affected"},{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"e681e29d1f59a04ef773296e4bebb17b1b79f8fe","status":"affected"},{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"9bd3dce27b01c51295b60e1433e1dadfb16649f7","status":"affected"},{"type":"git","introduced":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","fixed":"7839d0078e0d5e6cc2fa0b0dfbee71de74f1e557","status":"affected"},{"type":"git","version":"5d56260c5e9fdbbba59655f63622f6159bf0e595","status":"affected"},{"type":"git","version":"76d587bd579a08ddcd51274c6d9fff4e885e184d","status":"affected"},{"type":"git","version":"7dce99d3182a1495bd14cac8403ee471ecdb7ea4","status":"affected"},{"type":"git","version":"0390e974020ebbbb64580fc205ecc892d1fdd462","status":"affected"},{"type":"semver","introduced":"4.14.171","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.103","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.19","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.5.3","fixed":"5.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.210","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.76","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.15","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.3","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.210"},{"status":"affected","introduced":"5.11","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.76"},{"status":"affected","introduced":"6.2","fixed":"6.6.15"},{"status":"affected","introduced":"6.7","fixed":"6.7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f46eb832389f162ad13cb780d0b8cde93641990d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1d62c775b07213c73f81ae842424c74dd14b5f0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1c9d32c98309ae764893a481552d3f99d46cb34","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e681e29d1f59a04ef773296e4bebb17b1b79f8fe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bd3dce27b01c51295b60e1433e1dadfb16649f7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7839d0078e0d5e6cc2fa0b0dfbee71de74f1e557","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:57:20.713Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52498","url":"https://www.cve.org/CVERecord?id=CVE-2023-52498","licence":"CVE Terms of Use","modified":"2026-05-23T15:25:44.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52498","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52498","licence":"Public domain","modified":"2026-06-17T06:42:52.017Z"}],"updatedAt":"2026-11-25T22:58:33.308Z","epss":{"score":0.00238,"percentile":0.15912,"date":"2026-12-01T12:00:22.000Z"}}