PT-2023-9542 · Linux+5 · Linux Kernel+5
Dinghao Liu
·
Published
2023-10-07
·
Updated
2025-09-29
·
CVE-2023-52510
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a potential use-after-free (UAF) in the
ca8210 probe function. 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(). This can lead to a use-after-free when clk unregister() is called the second time. The fix involves removing the first clk unregister() call and using IS ERR OR NULL to catch the case where priv->clk is an error code on failure of clk register fixed rate().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linux Kernel
Red Os
Suse
Ubuntu