CVE-2024-42100

Source
https://cve.org/CVERecord?id=CVE-2024-42100
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42100.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42100
Downstream
Related
Published
2024-07-30T07:45:56.462Z
Modified
2026-03-13T07:57:18.781626Z
Summary
clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In order to set the rate range of a hw sunxiccuprobe calls hwtoccucommon() assuming all entries in desc->ccuclks 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42100.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
547263745e15a038ec3954b5c283805529377626
Fixed
14c78d69dbca6a28af14095f639ec4318ec07fdc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b914ec33b391ec766545a41f0cfc0de3e0b388d7
Fixed
7a0e2738cb6da5a55c9908dff333600aeb263e07
Fixed
ea977d742507e534d9fe4f4d74256f6b7f589338
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
761cbd9c0e4ed082b548bf6a0de25eebad24309d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42100.json"