Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-42100

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 547263745e15a038ec3954b5c283805529377626 to < 14c78d69dbca6a28af14095f639ec4318ec07fdcaffected
  • b914ec33b391ec766545a41f0cfc0de3e0b388d7 to < 7a0e2738cb6da5a55c9908dff333600aeb263e07affected
  • b914ec33b391ec766545a41f0cfc0de3e0b388d7 to < ea977d742507e534d9fe4f4d74256f6b7f589338affected
  • 761cbd9c0e4ed082b548bf6a0de25eebad24309daffected
  • 6.6.31 to < 6.6.39affected
  • 6.8.10 to < 6.9affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.6.39 to ≤ 6.6.*unaffected
  • 6.9.9 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References