7.8
HIGH CVSS 3.1
CVE-2023-52510
ieee802154: ca8210: Fix a potential UAF in ca8210_probe
Description

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

INFO

Published Date :

March 2, 2024, 10:15 p.m.

Last Modified :

Dec. 11, 2024, 3:11 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2023-52510 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
This addresses a use-after-free vulnerability in the Linux kernel's ieee802154 component.
  • Update the affected Linux kernel packages.
  • Reboot the system after the update.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-52510 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-52510 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-52510 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52510 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 11, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.12 up to (excluding) 4.14.328 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.297 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.259 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.199 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.136 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.59 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.8 *cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*
    Changed Reference Type https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66 No Types Assigned https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66 Patch
    Changed Reference Type https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66 No Types Assigned https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66 Patch
    Changed Reference Type https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add No Types Assigned https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add Patch
    Changed Reference Type https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add No Types Assigned https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add Patch
    Changed Reference Type https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f No Types Assigned https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f Patch
    Changed Reference Type https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f No Types Assigned https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f Patch
    Changed Reference Type https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e No Types Assigned https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e Patch
    Changed Reference Type https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e No Types Assigned https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e Patch
    Changed Reference Type https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc No Types Assigned https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc Patch
    Changed Reference Type https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc No Types Assigned https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc Patch
    Changed Reference Type https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640 No Types Assigned https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640 Patch
    Changed Reference Type https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640 No Types Assigned https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640 Patch
    Changed Reference Type https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d No Types Assigned https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d Patch
    Changed Reference Type https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d No Types Assigned https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d Patch
    Changed Reference Type https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258 No Types Assigned https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258 Patch
    Changed Reference Type https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258 No Types Assigned https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258 Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66
    Added Reference https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add
    Added Reference https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f
    Added Reference https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e
    Added Reference https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc
    Added Reference https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640
    Added Reference https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d
    Added Reference https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 02, 2024

    Action Type Old Value New Value
    Added Description 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().
    Added Reference Linux https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact