← CVE Intelligence

CVE-2022-49387

watchdog: rzg2l_wdt: Fix 32bit overflow issue PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 2cbc5cd0b55fa2310cc557c77b0665f5e00272de before e07b9fa0dc32b492de85528caaf9f0c605d8424f; affected 2cbc5cd0b55fa2310cc557c77b0665f5e00272de before b95a47667d34e76c2c9013f8e3b1e5039a5a0b76; affected 2cbc5cd0b55fa2310cc557c77b0665f5e00272de before ea2949df22a533cdf75e4583c00b1ce94cd5a83b
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 5.17.15 through 5.17.*; unaffected 5.18.4 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.