CVE-2024-42100

Source
https://cve.org/CVERecord?id=CVE-2024-42100
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42100.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42100
Downstream
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (1)
UBUNTU (1)
Published
2024-07-30T07:45:56Z
Modified
2026-11-17T07:00:49Z
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 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.

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
761cbd9c0e4ed082b548bf6a0de25eebad24309d

Affected versions

v6.*
v6.6.31
v6.6.32
v6.6.33
v6.6.34
v6.6.35
v6.6.36
v6.6.37
v6.6.38
v6.8.10
v6.8.11
v6.8.12

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.31
Fixed
6.6.39
Type
ECOSYSTEM
Events
Introduced
6.8.10
Fixed
6.9
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.9

Database specific

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