{"id":"CVE-2026-68356","summary":"watchdog: airoha: Prevent division by zero when clock frequency is zero","details":"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.","modified":"2026-08-12T04:18:47.972142837Z","published":"2026-08-10T12:03:33.280Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68356.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8681e5addf7171602616e256a09057697dcc75ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcfcd7619f277842430d197556463b401b839ee9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68356.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68356"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3cf67f3769b8227ca75ca7102180a2e270ee01aa"},{"fixed":"8681e5addf7171602616e256a09057697dcc75ca"},{"fixed":"57c3f5bd5be008cd5b4ff6a45b7cb90f5ca45a37"},{"fixed":"bcfcd7619f277842430d197556463b401b839ee9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68356.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68356.json"}}],"schema_version":"1.9.0"}