# CVE-2023-52510: ieee802154: ca8210: Fix a potential UAF in ca8210\_probe

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-02 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-52510, DEBIAN-CVE-2023-52510
- Record: https://cvemate.com/vulnerability/CVE-2023-52510 · JSON: https://cvemate.com/vulnerability/CVE-2023-52510/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.242%, percentile 16.464%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 117)

- debian linux (Debian): \< 6.1.64-1 \| \< 6.5.8-1
- ubuntu linux (Ubuntu): \< 4.15.0-230.242 \| \< 5.4.0-171.189 \| \< 5.15.0-94.104
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1174.187 \| \< 5.4.0-1118.128 \| \< 5.15.0-1053.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1053.58~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1118.128~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2112.118 \| All versions (No fix recorded) \| \< 5.4.0-1118.128+fips1 \| \< 5.15.0-1053.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1174.187~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1182.197~14.04.1 \| \< 4.15.0-1182.197~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1123.130 \| \< 5.15.0-1056.64
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1182.197
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add>
- <https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d>
- <https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc>
- <https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f>
- <https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e>
- <https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66>
- <https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640>
- <https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258>
- <https://ubuntu.com/security/CVE-2023-52510>
- <https://git.kernel.org/linus/f990874b1c98fe8e57ee9385669f501822979258>
- <https://www.cve.org/CVERecord?id=CVE-2023-52510>
- <https://ubuntu.com/security/notices/USN-7069-1>
- <https://ubuntu.com/security/notices/USN-7069-2>
- <https://security-tracker.debian.org/tracker/CVE-2023-52510>

---

Data as of 2026-12-05T06:19:45.157Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
