{"id":"CVE-2024-47686","state":"PUBLISHED","title":"ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()\n\nThe psc->div[] array has psc->num_div elements.  These values come from\nwhen we call clk_hw_register_div().  It's adc_divisors and\nARRAY_SIZE(adc_divisors)) and so on.  So this condition needs to be >=\ninstead of > to prevent an out of bounds read.","publishedAt":"2024-10-21T11:53:27.144Z","updatedAt":"2026-05-11T20:38:48.175Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"7a5bd2fb92388c51d267f6ce57c40f1cca8af1e0","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"66e78ade976dbd9bea09166aa8d66afc0963cde4","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"27f493e141823db052586010c1532b70b164507c","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"ae59eaf36a1ad396e9f657ec9b8b52da6206ed5f","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"c7f06284a6427475e3df742215535ec3f6cd9662","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm/mach-ep93xx/clock.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.113","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.54","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.13","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.2","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm/mach-ep93xx/clock.c"]}],"references":["https://git.kernel.org/stable/c/7a5bd2fb92388c51d267f6ce57c40f1cca8af1e0","https://git.kernel.org/stable/c/66e78ade976dbd9bea09166aa8d66afc0963cde4","https://git.kernel.org/stable/c/27f493e141823db052586010c1532b70b164507c","https://git.kernel.org/stable/c/ae59eaf36a1ad396e9f657ec9b8b52da6206ed5f","https://git.kernel.org/stable/c/c7f06284a6427475e3df742215535ec3f6cd9662","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47686.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-47686","state":"PUBLISHED","datePublished":"2024-10-21T11:53:27.144Z","dateUpdated":"2026-05-11T20:38:48.175Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-09-30T16:00:12.941Z"},"containers":{"cna":{"title":"ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()\n\nThe psc->div[] array has psc->num_div elements.  These values come from\nwhen we call clk_hw_register_div().  It's adc_divisors and\nARRAY_SIZE(adc_divisors)) and so on.  So this condition needs to be >=\ninstead of > to prevent an out of bounds read."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"7a5bd2fb92388c51d267f6ce57c40f1cca8af1e0","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"66e78ade976dbd9bea09166aa8d66afc0963cde4","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"27f493e141823db052586010c1532b70b164507c","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"ae59eaf36a1ad396e9f657ec9b8b52da6206ed5f","versionType":"git"},{"version":"9645ccc7bd7a16cd73c3be9dee70cd702b03be37","status":"affected","lessThan":"c7f06284a6427475e3df742215535ec3f6cd9662","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm/mach-ep93xx/clock.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.113","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.54","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.13","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.2","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm/mach-ep93xx/clock.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7a5bd2fb92388c51d267f6ce57c40f1cca8af1e0"},{"url":"https://git.kernel.org/stable/c/66e78ade976dbd9bea09166aa8d66afc0963cde4"},{"url":"https://git.kernel.org/stable/c/27f493e141823db052586010c1532b70b164507c"},{"url":"https://git.kernel.org/stable/c/ae59eaf36a1ad396e9f657ec9b8b52da6206ed5f"},{"url":"https://git.kernel.org/stable/c/c7f06284a6427475e3df742215535ec3f6cd9662"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:38:48.175Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.10.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.11.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-47686","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-21T13:06:37.712927Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-21T13:14:15.903Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:20:53.728Z"}}]}}}