VDB

CVE-2023-52510

CVE-2023-52510 PUBLISHED

ieee802154: ca8210: Fix a potential UAF in ca8210_probe

Reported by linux · Published March 2, 2024

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.5.8, 6.1.59, 5.15.136, 5.10.199, 5.4.259, 4.19.297, 4.14.328

Affected products

VendorProductVersions
LinuxLinuxded845a781a578dfb0b5b2c138e5a067aa3b1242, ded845a781a578dfb0b5b2c138e5a067aa3b1242, ded845a781a578dfb0b5b2c138e5a067aa3b1242
LinuxLinux4.12, 0, 4.14.328
linuxlinux_kernel4.12, 4.12, 4.12
LinuxLinux*, *, *

Timeline

  • Mar 2, 2024 CVE Published
  • Mar 3, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jan 25, 2026 Security Advisory (11 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52510
vulnetix vdb fixes CVE-2023-52510

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52510/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›