CVE-2025-39728
clk: samsung: Fix UBSAN panic in samsung_clk_init()
Check your servers for CVE-2025-39728
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39728 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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 ...
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-129 Improper Validation of Array Index
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before 00307934eb94aaa0a99addfb37b9fe206f945004 affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before d974e177369c034984cece9d7d4fada9f8b9c740 affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before 0fef48f4a70e45a93e73c39023c3a6ea624714d6 affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before 4d29a6dcb51e346595a15b49693eeb728925ca43 affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before 24307866e0ac0a5ddb462e766ceda5e27a6fbbe3 affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before 157de9e48007a20c65d02fc0229a16f38134a72d affected from e620a1e061c4738e26c3edf2abaae7842532cd80, before d19d7345a7bcdb083b65568a11b11adffe0687af
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 5.10.236 up to and including 5.10.* unaffected from 5.15.180 up to and including 5.15.* unaffected from 6.1.134 up to and including 6.1.* unaffected from 6.6.87 up to and including 6.6.* unaffected from 6.12.23 up to and including 6.12.* unaffected from 6.13.11 up to and including 6.13.* unaffected from 6.14.2 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39728 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39728
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39728
trivy image --scanners vuln IMAGE | grep CVE-2025-39728
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/00307934eb94aaa0a99addfb37b9fe206f945004 git.kernel.org
- https://git.kernel.org/stable/c/d974e177369c034984cece9d7d4fada9f8b9c740 git.kernel.org
- https://git.kernel.org/stable/c/0fef48f4a70e45a93e73c39023c3a6ea624714d6 git.kernel.org
- https://git.kernel.org/stable/c/4d29a6dcb51e346595a15b49693eeb728925ca43 git.kernel.org
- https://git.kernel.org/stable/c/24307866e0ac0a5ddb462e766ceda5e27a6fbbe3 git.kernel.org
- https://git.kernel.org/stable/c/a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf git.kernel.org
- https://git.kernel.org/stable/c/157de9e48007a20c65d02fc0229a16f38134a72d git.kernel.org
- https://git.kernel.org/stable/c/d19d7345a7bcdb083b65568a11b11adffe0687af git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-39728 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse