NULL pointer dereference in Linux

CVE-2024-42100

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.

EPSS: 0.002 (15.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Linux — versions b914ec33b391ec766545a41f0cfc0de3e0b388d7, 6.9, 547263745e15a038ec3954b5c283805529377626
  • Linux Linux_kernel — versions 6.9, 6.10

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-42100?
CVE-2024-42100 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2024-07-30.
How severe is CVE-2024-42100?
Medium severity. CVSS v3 base score is 5.5 out of 10.