{"id":"CVE-2025-39728","aliases":["CVE-2025-39728"],"related":[],"kind":"vulnerability","state":"published","title":"clk: samsung: Fix UBSAN panic in samsung_clk_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: samsung: Fix UBSAN panic in samsung_clk_init()\n\nWith UBSAN_ARRAY_BOUNDS=y, I'm hitting the below panic due to\ndereferencing `ctx->clk_data.hws` before setting\n`ctx->clk_data.num = nr_clks`. Move that up to fix the crash.\n\n  UBSAN: array index out of bounds: 00000000f2005512 [#1] PREEMPT SMP\n  <snip>\n  Call trace:\n   samsung_clk_init+0x110/0x124 (P)\n   samsung_clk_init+0x48/0x124 (L)\n   samsung_cmu_register_one+0x3c/0xa0\n   exynos_arm64_register_cmu+0x54/0x64\n   __gs101_cmu_top_of_clk_init_declare+0x28/0x60\n   ...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: samsung: Fix UBSAN panic in samsung_clk_init()\n\nWith UBSAN_ARRAY_BOUNDS=y, I'm hitting the below panic due to\ndereferencing `ctx->clk_data.hws` before setting\n`ctx->clk_data.num = nr_clks`. Move that up to fix the crash.\n\n  UBSAN: array index out of bounds: 00000000f2005512 [#1] PREEMPT SMP\n  <snip>\n  Call trace:\n   samsung_clk_init+0x110/0x124 (P)\n   samsung_clk_init+0x48/0x124 (L)\n   samsung_cmu_register_one+0x3c/0xa0\n   exynos_arm64_register_cmu+0x54/0x64\n   __gs101_cmu_top_of_clk_init_declare+0x28/0x60\n   ...","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: clk: samsung: Corregir el pánico de UBSAN en samsung_clk_init(). Con UBSAN_ARRAY_BOUNDS=y, se produce el pánico indicado debido a la desreferencia de `ctx-&gt;clk_data.hws` antes de configurar `ctx-&gt;clk_data.num = nr_clks`. Corregir esta vulnerabilidad para corregir el fallo. UBSAN: índice de matriz fuera de los límites: 00000000f2005512 [#1] PREEMPT SMP  Rastreo de llamadas: 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 ...","source":"nvd"}],"published":"2025-04-18T07:01:35.818Z","modified":"2026-06-17T09:18:21.620Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"00307934eb94aaa0a99addfb37b9fe206f945004","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"d974e177369c034984cece9d7d4fada9f8b9c740","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"0fef48f4a70e45a93e73c39023c3a6ea624714d6","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"4d29a6dcb51e346595a15b49693eeb728925ca43","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"24307866e0ac0a5ddb462e766ceda5e27a6fbbe3","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"157de9e48007a20c65d02fc0229a16f38134a72d","status":"affected"},{"type":"git","introduced":"e620a1e061c4738e26c3edf2abaae7842532cd80","fixed":"d19d7345a7bcdb083b65568a11b11adffe0687af","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.236","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.134","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.87","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.236"},{"status":"affected","introduced":"5.11","fixed":"5.15.180"},{"status":"affected","introduced":"5.16","fixed":"6.1.134"},{"status":"affected","introduced":"6.2","fixed":"6.6.87"},{"status":"affected","introduced":"6.7","fixed":"6.12.23"},{"status":"affected","introduced":"6.13","fixed":"6.13.11"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/00307934eb94aaa0a99addfb37b9fe206f945004","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d974e177369c034984cece9d7d4fada9f8b9c740","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fef48f4a70e45a93e73c39023c3a6ea624714d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d29a6dcb51e346595a15b49693eeb728925ca43","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24307866e0ac0a5ddb462e766ceda5e27a6fbbe3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/157de9e48007a20c65d02fc0229a16f38134a72d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d19d7345a7bcdb083b65568a11b11adffe0687af","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T16:13:45.605Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39728","url":"https://www.cve.org/CVERecord?id=CVE-2025-39728","licence":"CVE Terms of Use","modified":"2026-05-11T21:35:07.394Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39728","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39728","licence":"Public domain","modified":"2026-06-17T09:18:21.620Z"}],"updatedAt":"2026-11-25T22:58:56.760Z","epss":{"score":0.00283,"percentile":0.22392,"date":"2026-12-02T12:00:21.000Z"}}