CVE-2023-52870
clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
Check your servers for CVE-2023-52870
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-52870 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.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 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
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before 2617aa8ceaf30e41d3eb7f5fef3445542bef193a affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before 533ca5153ad6c7b7d47ae0114b14d0333964b946 affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before dd1f30d68fa98eb672c0a259297b761656a9025f affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before 10cc81124407d862f0f747db4baa9c006510b480 affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before b5ff3e89b4e7f46ad2aa0de7e08d18e6f87d71bc affected from 1aca9939bf72893887cb7e3455e44c864bada2f9, before b82681042724924ae3ba0f2f2eeec217fa31e830
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 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-52870 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52870
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-52870
trivy image --scanners vuln IMAGE | grep CVE-2023-52870
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
- https://git.kernel.org/stable/c/2617aa8ceaf30e41d3eb7f5fef3445542bef193a git.kernel.org
- https://git.kernel.org/stable/c/533ca5153ad6c7b7d47ae0114b14d0333964b946 git.kernel.org
- https://git.kernel.org/stable/c/dd1f30d68fa98eb672c0a259297b761656a9025f git.kernel.org
- https://git.kernel.org/stable/c/10cc81124407d862f0f747db4baa9c006510b480 git.kernel.org
- https://git.kernel.org/stable/c/b5ff3e89b4e7f46ad2aa0de7e08d18e6f87d71bc git.kernel.org
- https://git.kernel.org/stable/c/b82681042724924ae3ba0f2f2eeec217fa31e830 git.kernel.org
Source: the record CVE-2023-52870 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse