CVE-2023-52858

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

State
Published
Severity
6.2 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-mt7629: 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.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before e8ae4b49dd9cfde69d8de8c0c0cd7cf1b004482eAffected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before 4f861b63945e076f9f003a5fad958174096df1eeAffected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before e964d21dc034b650d719c4ea39564bec72b42f94Affected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before a836efc21ef04608333d6d05753e558ebd1f85d0Affected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before 1d89430fc3158f872d492f1b88d07262f48290c0Affected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before 5fbea47eebff5daeca7d918c99289bcd3ae4dc8dAffected
  • 3b5e748615e714711220b2a95d19bd25a037db09 to before 2befa515c1bb6cdd33c262b909d93d1973a219aaAffected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.4.261 through 5.4.*Not 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.