CVE-2025-39728

clk: samsung: Fix UBSAN panic in samsung_clk_init()

MEDIUM
5.5
CVSS Score
Published: April 18, 2025 at 07:01 AM UTC
Updated: June 17, 2026 at 09:18 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
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: clk: samsung: Fix UBSAN panic in samsung_clk_init() With UBSAN_ARRAY_BOUNDS=y, I'm hitting the below panic due to dereferencing `ctx->clk_data.hws` before setting `ctx->clk_data.num = nr_clks`. Move that up to fix the crash. UBSAN: array index out of bounds: 00000000f2005512 [#1] PREEMPT SMP <snip> Call trace: samsung_clk_init+0x110/0x124 (P) samsung_clk_init+0x48/0x124 (L) samsung_cmu_register_one+0x3c/0xa0 exynos_arm64_register_cmu+0x54/0x64 __gs101_cmu_top_of_clk_init_declare+0x28/0x60 ...

Affected

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

5.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1345.5 ≤ v < 5.10.2365.5 ≤ v < 5.15.1805.5 ≤ v < 6.1.1345.5 ≤ v < 6.12.235.5 ≤ v < 6.13.115.5 ≤ v < 6.14.25.5 ≤ v < 6.155.5 ≤ v < 6.6.876.13 ≤ v < 6.13.116.14 ≤ v < 6.14.26.2 ≤ v < 6.6.876.7 ≤ v < 6.12.235.5e620a1e061c4738e26c3edf2abaae7842532cd80
Vendor states this is fixed in 00307934eb94aaa0a99addfb37b9fe206f945004 (fixed)
Vendor states this is fixed in 0fef48f4a70e45a93e73c39023c3a6ea624714d6 (fixed)
Vendor states this is fixed in 157de9e48007a20c65d02fc0229a16f38134a72d (fixed)
Vendor states this is fixed in 24307866e0ac0a5ddb462e766ceda5e27a6fbbe3 (fixed)
Vendor states this is fixed in 4d29a6dcb51e346595a15b49693eeb728925ca43 (fixed)
Vendor states this is fixed in a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf (fixed)
Vendor states this is fixed in d19d7345a7bcdb083b65568a11b11adffe0687af (fixed)
Vendor states this is fixed in d974e177369c034984cece9d7d4fada9f8b9c740 (fixed)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.134 (unaffected)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/00307934eb94aaa0a99addfb37b9fe206f945004
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fef48f4a70e45a93e73c39023c3a6ea624714d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/157de9e48007a20c65d02fc0229a16f38134a72d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24307866e0ac0a5ddb462e766ceda5e27a6fbbe3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4d29a6dcb51e346595a15b49693eeb728925ca43
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d19d7345a7bcdb083b65568a11b11adffe0687af
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d974e177369c034984cece9d7d4fada9f8b9c740

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-129

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