Skip to main content
← All vulnerabilities
CVE-2024-42100

clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.39, 6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common In order to set the rate range of a hw sunxi_ccu_probe calls hw_to_ccu_common() assuming all entries in desc->ccu_clks are contained in a ccu_common struct. This assumption is incorrect and, in consequence, causes invalid pointer de-references. Remove the faulty call. Instead, add one more loop that iterates over the ccu_clks and sets the rate range, if required.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.6.31 · fixed in 6.6.39; From 6.8.10 · fixed in 6.9

  • Linux Linux

    6.9

References 3

git.kernel.org