CVEvulnerability

CVE-2024-42100

5.5 MEDIUM Published 2024-07-30 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-07-30
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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 configurations

• linux linux kernel (>= 6.6.31 < 6.6.39) • linux linux kernel (>= 6.8.10 < 6.9) • linux linux kernel (>= 6.9.1 < 6.9.9) • linux linux kernel 6.9 • linux linux kernel 6.10

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References