CVE-2024-42100

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

State
Published
Severity
Not scored
Published
Jul 30, 2024
Updated
May 23, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 547263745e15a038ec3954b5c283805529377626 to before 14c78d69dbca6a28af14095f639ec4318ec07fdcAffected
  • b914ec33b391ec766545a41f0cfc0de3e0b388d7 to before 7a0e2738cb6da5a55c9908dff333600aeb263e07Affected
  • b914ec33b391ec766545a41f0cfc0de3e0b388d7 to before ea977d742507e534d9fe4f4d74256f6b7f589338Affected
  • 761cbd9c0e4ed082b548bf6a0de25eebad24309dAffected
  • 6.6.31 to before 6.6.39Affected
  • 6.8.10 to before 6.9Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.