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-39461

5.5 · MEDIUM
Published Jun 25, 2024 linux CWE-129 EPSS 0.21% (11th pctl)

Overview

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

clk: bcm: rpi: Assign ->num before accessing ->hws

Commit f316cdff8d67 ("clk: Annotate struct clk_hw_onecell_data with

__counted_by") annotated the hws member of 'struct clk_hw_onecell_data'

with __counted_by, which informs the bounds sanitizer about the number

of elements in hws, so that it can warn when hws is accessed out of

bounds. As noted in that change, the __counted_by member must be

initialized with the number of elements before the first array access

happens, otherwise there will be a warning from each access prior to the

initialization because the number of elements is zero. This occurs in

raspberrypi_discover_clocks() due to ->num being assigned after ->hws

has been accessed:

UBSAN: array-index-out-of-bounds in drivers/clk/bcm/clk-raspberrypi.c:374:4

index 3 is out of range for type 'struct clk_hw *[] __counted_by(num)' (aka 'struct clk_hw *[]')

Move the ->num initialization to before the first acce

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 >= 6.6, < 6.6.34 Affected

Frequently Asked Questions

What is CVE-2024-39461?

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

How severe is CVE-2024-39461?

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-39461?

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-39461?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-39461 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.