CVE-2023-52498
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52498 is a vulnerability in the Linux kernel's power management (PM) sleep functionality, discovered in late 2023. The issue affects the system-wide PM code, specifically during device resume operations. The vulnerability impacts Linux kernel versions up to 5.10.210, from 5.11 to 5.15.149, from 5.16 to 6.1.76, from 6.2 to 6.6.15, and from 6.7 onwards (NVD).

Technical details

The vulnerability occurs in low-memory situations where the system-wide resume core code can deadlock. This happens because asyncscheduledev() executes its argument function synchronously if it cannot allocate memory, and that function attempts to acquire a mutex that is already held. Additionally, executing the argument function synchronously from within dpmasyncfn() can be problematic for ordering reasons, potentially causing a consumer device's resume callback to be invoked before a requisite supplier device's one (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to system deadlocks during the resume process, particularly in low-memory conditions. This can result in system hangs and denial of service, affecting system availability (NVD).

Mitigation and workarounds

The issue has been fixed by changing the code to use asyncscheduledevnocall() for scheduling the asynchronous execution of device suspend and resume functions. The fix also includes directly running these functions synchronously if asyncscheduledevnocall() returns false (Kernel Patch). The fix has been incorporated into various Linux kernel versions through security updates (Debian LTS).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management