CVE-2023-52865

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

No CVSS score yet EPSS 0.25%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52865

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52865 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 24 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before c26feedbc561f2a3cee1a4f717e61bdbdfb4fa92
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 4c79cbfb8e9e2311be77182893fda5ea4068c836
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 2705c5b97f504e831ae1935c05f0e44f80dfa6b3
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 81b16286110728674dcf81137be0687c5055e7bf
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 3aefc6fcfbada57fac27f470602d5565e5b76cb4
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 357df1c2f6ace96defd557fad709ed1f9f70e16c
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before be3f12f16038a558f08fa93cc32fa715746a5235
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 122ac6496e4975ddd7ec1edba4f6fc1e15e39478
affected from 96596aa06628e86ea0e1c08c34b0ccc7619e43ac, before 606f6366a35a3329545e38129804d65ef26ed7d2
Other versions: unaffected
Linux
affected 4.12
unaffected before 4.12
unaffected from 4.14.330 up to and including 4.14.*
unaffected from 4.19.299 up to and including 4.19.*
unaffected from 5.4.261 up to and including 5.4.*
unaffected from 5.10.201 up to and including 5.10.*
unaffected from 5.15.139 up to and including 5.15.*
unaffected from 6.1.63 up to and including 6.1.*
unaffected from 6.5.12 up to and including 6.5.*
unaffected from 6.6.2 up to and including 6.6.*
unaffected 6.7 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52865 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52865

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52865
trivy image --scanners vuln IMAGE | grep CVE-2023-52865

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52865 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.