CVEvulnerability
CVE-2024-42100
5.5 MEDIUM
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
- https://git.kernel.org/stable/c/14c78d69dbca6a28af14095f639ec4318ec07fdc Patch
- https://git.kernel.org/stable/c/7a0e2738cb6da5a55c9908dff333600aeb263e07 Patch
- https://git.kernel.org/stable/c/ea977d742507e534d9fe4f4d74256f6b7f589338 Patch
- https://git.kernel.org/stable/c/14c78d69dbca6a28af14095f639ec4318ec07fdc Patch
- https://git.kernel.org/stable/c/7a0e2738cb6da5a55c9908dff333600aeb263e07 Patch
- https://git.kernel.org/stable/c/ea977d742507e534d9fe4f4d74256f6b7f589338 Patch