Bug 2301463 (CVE-2024-42100) - CVE-2024-42100 kernel: clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
Summary: CVE-2024-42100 kernel: clk: sunxi-ng: common: Don't call hw_to_ccu_common...
Keywords:
Status: NEW
Alias: CVE-2024-42100
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301758
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:20 UTC by OSIDB Bzimport
Modified: 2024-07-31 04:50 UTC (History)
4 users (show)

Fixed In Version: kernel 6.6.39, kernel 6.9.9, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:20:40 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 18:11:12 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073018-CVE-2024-42100-bc58@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 18:11:32 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301758]


Note You need to log in before you can comment on or make changes to this bug.