Skip to main content
No exploitation reportedFix available

CVE-2024-39462

No exploitation reported by the sources we read.

  • Published2024-06-25
  • Fixed ina1dd92fca0d6 · 9368cdf90f52 · 6.9.5 · 6.6.34 · 0dc913217fb7
  • WeaknessCWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In the Linux kernel, the following vulnerability has been resolved: clk: bcm: dvp: 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 clk_dvp_probe() due to ->num being assigned after ->hws has been accessed: UBSAN: array-index-out-of-bounds in drivers/clk/bcm/clk-bcm2711-dvp.c:59:2 index 0 is out of range for type 'struct clk_hw *[] __counted_by(num)' (aka 'struct clk_hw *[]') Move the ->num initialization to before the first access of ->hws, which clears up the warning.

Timeline

dates in UTC
  1. 2024-06-2515:15CVE publishedNVD

Versions per branch

CISA-ADP · NVD · OSV
Linux linux kernel
BranchAffectedFixed in
—≥ f316cdff8d67, < a1dd92fca0d6a1dd92fca0d6
9368.x≥ f316cdff8d67, < 9368cdf90f529368cdf90f52
6.x≥ 6.7, < 6.9.56.9.5
6.x≥ 6.7.0, < 6.9.56.9.5
6.6≥ 6.6, < 6.6.346.6.34
6.6≥ 6.6.0, < 6.6.346.6.34
0.x≥ f316cdff8d67, < 0dc913217fb70dc913217fb7
6.6= 6.6no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 0dc913217fb79096597005bba9ba738e2db5cd02fixed in 0dc913217fb79096597005bba9ba738e2db5cd02git
    • ≥ f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < a1dd92fca0d6b58b55ed0484f75d4205dbb77010fixed in a1dd92fca0d6b58b55ed0484f75d4205dbb77010git
    • ≥ f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 9368cdf90f52a68120d039887ccff74ff33b4444fixed in 9368cdf90f52a68120d039887ccff74ff33b4444git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 6.6no fix stated

    Not affected < 6.6 · ≥ 6.6.34, ≤ 6.6.* · ≥ 6.9.5, ≤ 6.9.* · ≥ 6.10

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-05-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • dwarvesMageia:9all versions · fixed in 1.27-1.mga9
  • kernelopenEuler:24.03-LTSall versions · fixed in 6.6.0-34.0.0.41.oe2403
  • kernelMageia:9all versions · fixed in 6.6.37-1.mga9and 1 other package
  • kmod-virtualboxMageia:9all versions · fixed in 7.0.18-50.mga9
  • kmod-xtables-addonsMageia:9all versions · fixed in 3.24-59.mga9
  • linuxUbuntu:24.04:LTSall versions · fixed in 6.8.0-44.44
  • linuxDebian:14all versions · fixed in 6.9.7-1
  • linuxDebian:13all versions · fixed in 6.9.7-1

22 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-39462 Red Hat Product Security

    kernel: clk: bcm: dvp: Assign -&gt;num before accessing -&gt;hws

Full record on NVD

Fix

  1. Update Linux linux kernel to a1dd92fca0d6 · 9368cdf90f52 · 6.9.5 · 6.6.34 · 0dc913217fb7

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-06-25
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-c94h-cmw2-96cv

Frequently asked questions

What is CVE-2024-39462?

In the Linux kernel, the following vulnerability has been resolved: clk: bcm: dvp: 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 clk_dvp_probe() due to ->num being assigned after ->hws has been accessed: UBSAN: array-index-out-of-bounds in drivers/clk/bcm/clk-bcm2711-dvp.c:59:2 index 0 is out of range for type 'struct clk_hw *[] __counted_by(num)' (aka 'struct clk_hw *[]') Move the ->num initialization to before the first access of ->hws, which clears up the warning.

Is CVE-2024-39462 actively exploited?

Active exploitation of CVE-2024-39462 has not been confirmed. Its EPSS score was 1.0% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-39462?

CVE-2024-39462 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record