Menu

Star on GitHub · 3.2k

CVE-2023-52635

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: Synchronize devfreq_monitor_[start/stop] There is a chance if a frequent switch of the governor done in a loop re…

Published Apr 2, 2024CWE-835EPSS 0.23%

Overview

CVE-2023-52635 is a medium-severity vulnerability. It was published on April 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

PM / devfreq: Synchronize devfreq_monitor_[start/stop]

There is a chance if a frequent switch of the governor

done in a loop result in timer list corruption where

timer cancel being done from two place one from

cancel_delayed_work_sync() and followed by expire_timers()

can be seen from the traces[1].

while true

do

echo "simple_ondemand" > /sys/class/devfreq/1d84000.ufshc/governor

echo "performance" > /sys/class/devfreq/1d84000.ufshc/governor

done

It looks to be issue with devfreq driver where

device_monitor_[start/stop] need to synchronized so that

delayed work should get corrupted while it is either

being queued or running or being cancelled.

Let's use polling flag and devfreq lock to synchronize the

queueing the timer instance twice and work data being

corrupted.

[1]

...

..

<idle>-0 [003] 9436.209662: timer_cancel timer=0xffffff80444f0428

<idle>-0 [003] 9436.209664: timer_expire_en

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52635?

CVE-2023-52635 is a medium-severity vulnerability. It was published on April 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52635?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52635?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52635?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52635 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all