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

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

ALSA-2025_16880
ALT-PU-2023-6736
BDU:2024-08374
CVE-2023-52510
OESA-2024-1482
OESA-2024-1483
OESA-2024-1484
OESA-2024-1485
OESA-2024-1486
OESA-2024-1487
OPENSUSE-SU-2024_1321-1
OPENSUSE-SU-2024_1322-1
OPENSUSE-SU-2024_1322-2
OPENSUSE-SU-2024_1332-1
OPENSUSE-SU-2024_1332-2
OPENSUSE-SU-2024_1466-1
OPENSUSE-SU-2024_1480-1
OPENSUSE-SU-2024_1490-1
SUSE-SU-2024:1320-1
SUSE-SU-2024:1321-1
SUSE-SU-2024:1466-1
SUSE-SU-2024:1480-1
SUSE-SU-2024:1490-1
USN-7069-1
USN-7069-2

Affected Products

Alt Linux
Astra Linux
Linux Kernel
Red Os
Suse
Ubuntu