CVE-2023-52510

ieee802154: ca8210: Fix a potential UAF in ca8210_probe

HIGH
7.8
CVSS Score
Published: March 2, 2024 at 09:52 PM UTC
Updated: June 17, 2026 at 06:42 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 4.14.3284.12 ≤ v < 4.19.2974.12 ≤ v < 5.10.1994.12 ≤ v < 5.15.1364.12 ≤ v < 5.4.2594.12 ≤ v < 6.1.594.12 ≤ v < 6.5.84.12 ≤ v < 6.64.15 ≤ v < 4.19.2974.20 ≤ v < 5.4.2595.11 ≤ v < 5.15.1365.16 ≤ v < 6.1.595.5 ≤ v < 5.10.1996.2 ≤ v < 6.5.86.6 rc16.6 rc26.6 rc36.6 rc46.6 rc5ded845a781a578dfb0b5b2c138e5a067aa3b1242
Vendor states this is fixed in 217efe32a45249eb07dcd7197e8403de98345e66 (fixed)
Vendor states this is fixed in 28b68cba378e3e50a4082b65f262bc4f2c7c2add (fixed)
Vendor states this is fixed in 55e06850c7894f00d41b767c5f5665459f83f58f (fixed)
Vendor states this is fixed in 84c6aa0ae5c4dc121f9996bb8fed46c80909d80e (fixed)
Vendor states this is fixed in 85c2857ef90041f567ce98722c1c342c4d31f4bc (fixed)
Vendor states this is fixed in becf5c147198f4345243c5df0c4f035415491640 (fixed)
Vendor states this is fixed in cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d (fixed)
Vendor states this is fixed in f990874b1c98fe8e57ee9385669f501822979258 (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 4.14.328 (unaffected)
Vendor states this is fixed in 4.19.297 (unaffected)
Vendor states this is fixed in 5.10.199 (unaffected)
Vendor states this is fixed in 5.15.136 (unaffected)
Vendor states this is fixed in 5.4.259 (unaffected)
Vendor states this is fixed in 6.1.59 (unaffected)
Vendor states this is fixed in 6.5.8 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/217efe32a45249eb07dcd7197e8403de98345e66
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28b68cba378e3e50a4082b65f262bc4f2c7c2add
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/55e06850c7894f00d41b767c5f5665459f83f58f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/84c6aa0ae5c4dc121f9996bb8fed46c80909d80e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/85c2857ef90041f567ce98722c1c342c4d31f4bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/becf5c147198f4345243c5df0c4f035415491640
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdb46be93c1f7bbf2c4649e9fc5fb147cfb5245d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f990874b1c98fe8e57ee9385669f501822979258

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card