CVE-2025-39728

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-39728
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39728.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39728
Downstream
Related
Published
2025-04-18T07:01:35.818Z
Modified
2025-11-28T02:35:45.115553Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
clk: samsung: Fix UBSAN panic in samsung_clk_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

clk: samsung: Fix UBSAN panic in samsungclkinit()

With UBSANARRAYBOUNDS=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: samsungclkinit+0x110/0x124 (P) samsungclkinit+0x48/0x124 (L) samsungcmuregisterone+0x3c/0xa0 exynosarm64registercmu+0x54/0x64 _gs101cmutopofclkinit_declare+0x28/0x60 ...

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39728.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e620a1e061c4738e26c3edf2abaae7842532cd80
Fixed
00307934eb94aaa0a99addfb37b9fe206f945004
Fixed
d974e177369c034984cece9d7d4fada9f8b9c740
Fixed
0fef48f4a70e45a93e73c39023c3a6ea624714d6
Fixed
4d29a6dcb51e346595a15b49693eeb728925ca43
Fixed
24307866e0ac0a5ddb462e766ceda5e27a6fbbe3
Fixed
a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf
Fixed
157de9e48007a20c65d02fc0229a16f38134a72d
Fixed
d19d7345a7bcdb083b65568a11b11adffe0687af

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.236
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.180
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.134
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.87
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.23
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2