CVE-2023-52870

clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data

State
Published
Severity
4.1 Medium
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

Description

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

clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data

Add the check for the return value of mtk_alloc_clk_data() in order to avoid NULL pointer dereference.

Scores

CVSSScoreVectorSource
3.14.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before 2617aa8ceaf30e41d3eb7f5fef3445542bef193aAffected
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before 533ca5153ad6c7b7d47ae0114b14d0333964b946Affected
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before dd1f30d68fa98eb672c0a259297b761656a9025fAffected
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before 10cc81124407d862f0f747db4baa9c006510b480Affected
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before b5ff3e89b4e7f46ad2aa0de7e08d18e6f87d71bcAffected
  • 1aca9939bf72893887cb7e3455e44c864bada2f9 to before b82681042724924ae3ba0f2f2eeec217fa31e830Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.201 through 5.10.*Not affected
  • 5.15.139 through 5.15.*Not affected
  • 6.1.63 through 6.1.*Not affected
  • 6.5.12 through 6.5.*Not affected
  • 6.6.2 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.