{"id":"CVE-2026-68356","state":"PUBLISHED","title":"watchdog: airoha: Prevent division by zero when clock frequency is zero","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwatchdog: airoha: Prevent division by zero when clock frequency is zero\n\nclk_get_rate() can return 0 when the clock provider is not properly\nconfigured or the clock is unmanaged. The driver uses wdt_freq as a\ndivisor directly in airoha_wdt_probe() to compute max_timeout and in\nairoha_wdt_get_timeleft() to compute the remaining time, which results\nin a division by zero.\n\nAdd a check for wdt_freq == 0 in probe and return -EINVAL with\ndev_err_probe() to prevent the division by zero and provide a\ndiagnostic message.","publishedAt":"2026-08-10T12:03:33.280Z","updatedAt":"2026-08-17T05:03:59.392Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"8681e5addf7171602616e256a09057697dcc75ca","versionType":"git"},{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37","versionType":"git"},{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"bcfcd7619f277842430d197556463b401b839ee9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/watchdog/airoha_wdt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/watchdog/airoha_wdt.c"]}],"references":["https://git.kernel.org/stable/c/8681e5addf7171602616e256a09057697dcc75ca","https://git.kernel.org/stable/c/57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37","https://git.kernel.org/stable/c/bcfcd7619f277842430d197556463b401b839ee9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68356.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68356","state":"PUBLISHED","datePublished":"2026-08-10T12:03:33.280Z","dateUpdated":"2026-08-17T05:03:59.392Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.385Z"},"containers":{"cna":{"title":"watchdog: airoha: Prevent division by zero when clock frequency is zero","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwatchdog: airoha: Prevent division by zero when clock frequency is zero\n\nclk_get_rate() can return 0 when the clock provider is not properly\nconfigured or the clock is unmanaged. The driver uses wdt_freq as a\ndivisor directly in airoha_wdt_probe() to compute max_timeout and in\nairoha_wdt_get_timeleft() to compute the remaining time, which results\nin a division by zero.\n\nAdd a check for wdt_freq == 0 in probe and return -EINVAL with\ndev_err_probe() to prevent the division by zero and provide a\ndiagnostic message."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"8681e5addf7171602616e256a09057697dcc75ca","versionType":"git"},{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37","versionType":"git"},{"version":"3cf67f3769b8227ca75ca7102180a2e270ee01aa","status":"affected","lessThan":"bcfcd7619f277842430d197556463b401b839ee9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/watchdog/airoha_wdt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/watchdog/airoha_wdt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8681e5addf7171602616e256a09057697dcc75ca"},{"url":"https://git.kernel.org/stable/c/57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37"},{"url":"https://git.kernel.org/stable/c/bcfcd7619f277842430d197556463b401b839ee9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:59.392Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}