CVE-2025-39728

clk: samsung: Fix UBSAN panic in samsung_clk_init()

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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

Faiblesses (CWE)

  • CWE-129 — Validation incorrecte d'un indice de tableau

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected e620a1e061c4738e26c3edf2abaae7842532cd80 < 00307934eb94aaa0a99addfb37b9fe206f945004 ; affected e620a1e061c4738e26c3edf2abaae7842532cd80 < d974e177369c034984cece9d7d4fada9f8b9c740 ; affected e620a1e061c4738e26c3edf2abaae7842532cd80 < 0fef48f4a70e45a93e73c39023c3a6ea624714d6 ; affected e620a1e061c4738e26c3edf2abaae7842532cd80 < 4d29a6dcb51e346595a15b49693eeb728925ca43 ; affected e620a1e061c4738e26c3edf2abaae7842532cd80 < 24307866e0ac0a5ddb462e766ceda5e27a6fbbe3 ; affected e620a1e061c4738e26c3edf2abaae7842532cd80 < a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.236 ≤ 5.10.* ; unaffected 5.15.180 ≤ 5.15.* ; unaffected 6.1.134 ≤ 6.1.* ; unaffected 6.6.87 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD