{"id":"CVE-2025-39728","published":"2025-04-18T07:01:35Z","modified":"2026-05-11T21:35:07Z","title":"clk: samsung: Fix UBSAN panic in samsung_clk_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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   ...","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00283,"percentile":0.21367,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://git.kernel.org/stable/c/00307934eb94aaa0a99addfb37b9fe206f945004","tags":[]},{"url":"https://git.kernel.org/stable/c/d974e177369c034984cece9d7d4fada9f8b9c740","tags":[]},{"url":"https://git.kernel.org/stable/c/0fef48f4a70e45a93e73c39023c3a6ea624714d6","tags":[]},{"url":"https://git.kernel.org/stable/c/4d29a6dcb51e346595a15b49693eeb728925ca43","tags":[]},{"url":"https://git.kernel.org/stable/c/24307866e0ac0a5ddb462e766ceda5e27a6fbbe3","tags":[]},{"url":"https://git.kernel.org/stable/c/a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf","tags":[]},{"url":"https://git.kernel.org/stable/c/157de9e48007a20c65d02fc0229a16f38134a72d","tags":[]},{"url":"https://git.kernel.org/stable/c/d19d7345a7bcdb083b65568a11b11adffe0687af","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.27},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e620a1e061c4738e26c3edf2abaae7842532cd80, < 00307934eb94aaa0a99addfb37b9fe206f945004",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < d974e177369c034984cece9d7d4fada9f8b9c740",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < 0fef48f4a70e45a93e73c39023c3a6ea624714d6",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < 4d29a6dcb51e346595a15b49693eeb728925ca43",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < 24307866e0ac0a5ddb462e766ceda5e27a6fbbe3",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < a1500b98cd81a32fdfb9bc63c33bb9f0c2a0a1bf",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < 157de9e48007a20c65d02fc0229a16f38134a72d",">= e620a1e061c4738e26c3edf2abaae7842532cd80, < d19d7345a7bcdb083b65568a11b11adffe0687af"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T16:13:45.605080Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-11819","exploited":false,"provenance":"source"}}