CVE-2023-52865

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

State
Published
Severity
Not scored
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-mt6797: 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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before c26feedbc561f2a3cee1a4f717e61bdbdfb4fa92Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 4c79cbfb8e9e2311be77182893fda5ea4068c836Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 2705c5b97f504e831ae1935c05f0e44f80dfa6b3Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 81b16286110728674dcf81137be0687c5055e7bfAffected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 3aefc6fcfbada57fac27f470602d5565e5b76cb4Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 357df1c2f6ace96defd557fad709ed1f9f70e16cAffected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before be3f12f16038a558f08fa93cc32fa715746a5235Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 122ac6496e4975ddd7ec1edba4f6fc1e15e39478Affected
  • 96596aa06628e86ea0e1c08c34b0ccc7619e43ac to before 606f6366a35a3329545e38129804d65ef26ed7d2Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 4.14.330 through 4.14.*Not affected
  • 4.19.299 through 4.19.*Not 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.