clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2024-39932
- GCVE · GCVE-0-2024-42100
CERT-FR advisories
- CERTFR-2024-AVI-1080 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1013 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0997 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0957 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.31 < 6.6.39cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.8.10 < 6.9cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.9.1 < 6.9.9cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 547263745e15a038ec3954b5c283805529377626 < 14c78d69dbca6a28af14095f639ec4318ec07fdc ; affected b914ec33b391ec766545a41f0cfc0de3e0b388d7 < 7a0e2738cb6da5a55c9908dff333600aeb263e07 ; affected b914ec33b391ec766545a41f0cfc0de3e0b388d7 < ea977d742507e534d9fe4f4d74256f6b7f589338 ; affected 761cbd9c0e4ed082b548bf6a0de25eebad24309d ; affected 6.6.31 < 6.6.39 ; affected 6.8.10 < 6.9 |
| Linux · Linux | affected 6.9 ; unaffected 0 < 6.9 ; unaffected 6.6.39 ≤ 6.6.* ; unaffected 6.9.9 ≤ 6.9.* ; unaffected 6.10 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |