CVE-2023-52510

ieee802154: ca8210: Fix a potential UAF in ca8210_probe

No CVSS score yet EPSS 0.24%

Published 2 Mar 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52510

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-52510 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:

ieee802154: ca8210: Fix a potential UAF in ca8210_probe

If of_clk_add_provider() fails in ca8210_register_ext_clock(), it calls clk_unregister() to release priv->clk and returns an error. However, the caller ca8210_probe() then calls ca8210_remove(), where priv->clk is freed again in ca8210_unregister_ext_clock(). In this case, a use-after-free may happen in the second time we call clk_unregister().

Fix this by removing the first clk_unregister(). Also, priv->clk could be an error code on failure of clk_register_fixed_rate(). Use IS_ERR_OR_NULL to catch this case in ca8210_unregister_ext_clock().

Exploitation

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

The assessment of CISA (SSVC, 4 Mar 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 ded845a781a578dfb0b5b2c138e5a067aa3b1242, before 28b68cba378e3e50a4082b65f262bc4f2c7c2add
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before 85c2857ef90041f567ce98722c1c342c4d31f4bc
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before 55e06850c7894f00d41b767c5f5665459f83f58f
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before 84c6aa0ae5c4dc121f9996bb8fed46c80909d80e
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before 217efe32a45249eb07dcd7197e8403de98345e66
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before becf5c147198f4345243c5df0c4f035415491640
affected from ded845a781a578dfb0b5b2c138e5a067aa3b1242, before f990874b1c98fe8e57ee9385669f501822979258
Other versions: unaffected
Linux
affected 4.12
unaffected before 4.12
unaffected from 4.14.328 up to and including 4.14.*
unaffected from 4.19.297 up to and including 4.19.*
unaffected from 5.4.259 up to and including 5.4.*
unaffected from 5.10.199 up to and including 5.10.*
unaffected from 5.15.136 up to and including 5.15.*
unaffected from 6.1.59 up to and including 6.1.*
unaffected from 6.5.8 up to and including 6.5.*
unaffected 6.6 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-52510 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52510

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-52510
trivy image --scanners vuln IMAGE | grep CVE-2023-52510

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-52510 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.