{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52498","id":"CVE-2023-52498","title":"PM: sleep: Fix possible deadlocks in core system-wide PM code","description":"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 th","descriptionLong":"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.","published":"2024-02-29T15:52:14.029Z","updated":"2026-11-17T07:01:21.443479689Z","reserved":"2024-02-20T12:30:33.305Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"f46eb832389f162ad13cb780d0b8cde93641990d","status":"affected","versionType":"git"},{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"a1d62c775b07213c73f81ae842424c74dd14b5f0","status":"affected","versionType":"git"},{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"e1c9d32c98309ae764893a481552d3f99d46cb34","status":"affected","versionType":"git"},{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"e681e29d1f59a04ef773296e4bebb17b1b79f8fe","status":"affected","versionType":"git"},{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"9bd3dce27b01c51295b60e1433e1dadfb16649f7","status":"affected","versionType":"git"},{"version":"0552e05fdfea191a2cf3a0abd33574b5ef9ca818","lessThan":"7839d0078e0d5e6cc2fa0b0dfbee71de74f1e557","status":"affected","versionType":"git"},{"version":"5d56260c5e9fdbbba59655f63622f6159bf0e595","status":"affected","versionType":"git"},{"version":"76d587bd579a08ddcd51274c6d9fff4e885e184d","status":"affected","versionType":"git"},{"version":"7dce99d3182a1495bd14cac8403ee471ecdb7ea4","status":"affected","versionType":"git"},{"version":"0390e974020ebbbb64580fc205ecc892d1fdd462","status":"affected","versionType":"git"},{"version":"4.14.171","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.103","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.19","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.5.3","lessThan":"5.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.10.210","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.149","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.76","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.15","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.3","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f46eb832389f162ad13cb780d0b8cde93641990d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a1d62c775b07213c73f81ae842424c74dd14b5f0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e1c9d32c98309ae764893a481552d3f99d46cb34","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e681e29d1f59a04ef773296e4bebb17b1b79f8fe","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/9bd3dce27b01c51295b60e1433e1dadfb16649f7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7839d0078e0d5e6cc2fa0b0dfbee71de74f1e557","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52498.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52498","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00238,"epssPercentile":0.15042,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52498","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52498","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52498","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52498","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}