CVE-2023-52510·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.5.8
- Published
- 2024-03-02
Affected versions
From: 6.2
Until: 6.5.8
Fixed in: 6.5.8
How to fix this CVE
Update your Linux kernel to version 6.5.8 or later to resolve a use-after-free vulnerability in the ca8210 IEEE 802.15.4 wireless driver. This flaw could allow a local attacker with low privileges to cause a denial of service or potentially execute code with elevated privileges. Apply the kernel update through your distribution's package manager and reboot your system.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version with: uname -r
- Verify if the ca8210 driver is loaded: lsmod | grep ca8210
- Check if you have IEEE 802.15.4 wireless devices: ip link | grep wpan
- Confirm the fix by comparing your kernel version against 6.5.8 (must be equal or greater); if less than 6.5.8 and you have ca8210 hardware, you are vulnerable
- After patching, reboot and run uname -r again to verify the new kernel is active
FAQ
What is CVE-2023-52510?
A use-after-free memory vulnerability in the Linux kernel's ca8210 IEEE 802.15.4 wireless driver that occurs when the external clock initialization fails, causing a double-free condition if the probe function's cleanup path is invoked.
Is CVE-2023-52510 being actively exploited?
No, there is no evidence of active exploitation or publicly available exploits for this vulnerability as of the latest CISA KEV data.
What versions of Kernel are affected by CVE-2023-52510?
Linux kernel versions 6.2 through 6.5.7 are affected; version 6.5.8 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-52510?
Run uname -r to check your kernel version; if it is 6.2 or newer but older than 6.5.8, and you have ca8210 hardware (check with lsmod | grep ca8210), your system is vulnerable.
Does Defensia detect CVE-2023-52510?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on a monitored server, CVE-2023-52510 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66
- https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add
- https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f
- https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e
- https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52510. Free for 1 server.
Get started free