Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-49985

5.5 · MEDIUM
Published Oct 21, 2024 linux CWE-667 EPSS 0.20% (10th pctl)

Overview

CVE-2024-49985 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 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:

i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume

In case there is any sort of clock controller attached to this I2C bus

controller, for example Versaclock or even an AIC32x4 I2C codec, then

an I2C transfer triggered from the clock controller clk_ops .prepare

callback may trigger a deadlock on drivers/clk/clk.c prepare_lock mutex.

This is because the clock controller first grabs the prepare_lock mutex

and then performs the prepare operation, including its I2C access. The

I2C access resumes this I2C bus controller via .runtime_resume callback,

which calls clk_prepare_enable(), which attempts to grab the prepare_lock

mutex again and deadlocks.

Since the clock are already prepared since probe() and unprepared in

remove(), use simple clk_enable()/clk_disable() calls to enable and

disable the clock on runtime suspend and resume, to avoid hitting the

prepare_lock mutex.

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.0, < 5.10.227 Affected

Frequently Asked Questions

What is CVE-2024-49985?

CVE-2024-49985 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-49985?

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-2024-49985?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-2024-49985?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-49985 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.