What’s Vulnerable › Vulnerabilities

CVE-2022-49387: watchdog: rzg2l_wdt: Fix 32bit overflow issue

Description

In the Linux kernel, the following vulnerability has been resolved: watchdog: rzg2l_wdt: Fix 32bit overflow issue The value of timer_cycle_us can be 0 due to 32bit overflow. For eg:- If we assign the counter value "0xfff" for computing maxval. This patch fixes this issue by appending ULL to 1024, so that it is promoted to 64bit. This patch also fixes the warning message, 'watchdog: Invalid min and max timeout values, resetting to 0!'.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.17.15, 5.18.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49387 or the next vulnerability affects your stack