CVE-2024-42100

medium

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.

References

https://git.kernel.org/stable/c/ea977d742507e534d9fe4f4d74256f6b7f589338

https://git.kernel.org/stable/c/7a0e2738cb6da5a55c9908dff333600aeb263e07

https://git.kernel.org/stable/c/14c78d69dbca6a28af14095f639ec4318ec07fdc

Details

Source: Mitre, NVD

Published: 2024-07-30

Updated: 2025-09-26

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00087