CVE-2023-52498

Medium

In the Linux kernel, the following vulnerability has been resolved: PM: sleep: Fix possible deadlocks in core system-wide PM code It is reported that in low-memory situations the system-wide resume core code deadlocks, because async_schedule_dev() executes its argument function synchronously if it cannot allocate memory (and not only in that case) and that function attempts to acquire a mutex that is already held. Executing the argument function synchronously from within dpm_async_fn() may also be problematic for ordering reasons (it may cause a consumer device's resume callback to be invoked before a requisite supplier device's one, for example). Address this by changing the code in question to use async_schedule_dev_nocall() for scheduling the asynchronous execution of device suspend and resume functions and to directly run them synchronously if async_schedule_dev_nocall() returns false.

Package Linux Kernel
Published 2024-03-11
Last modified 2024-12-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-667

CVE-2023-52498 is a Improper Locking vulnerability

What is Improper Locking?

The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.14.171, 4.19.103, 5.4.19, 5.5.3, 5.6 and later are affected. Fixed in 5.10.210, 5.15.149, 6.1.76, 6.6.15, 6.7.3, 6.8 and their respective stable series.

Affected from
≥ 4.14.171 ≥ 4.19.103 ≥ 5.4.19 ≥ 5.5.3 ≥ 5.6
Fixed in
✓ 5.10.210 5.10.x ✓ 5.15.149 5.15.x ✓ 6.1.76 6.1.x ✓ 6.6.15 6.6.x ✓ 6.7.3 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2023-52498?

    CVE-2023-52498 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 4.14.171 onward and has been patched in 5.10.210, 5.15.149, 6.1.76 and others. CVE-2023-52498 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-52498?

    CVE-2023-52498 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2023-52498?

    Yes. CVE-2023-52498 has been patched. Fixed versions include 5.10.210, 5.15.149, 6.1.76 and others. If you are running Linux kernel 4.14.171 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-52498 actively exploited?

    No. CVE-2023-52498 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.