CVE-2022-49387

watchdog: rzg2l_wdt: Fix 32bit overflow issue

Medium · published February 26, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
16.5
In the wild
Unconfirmed
What it is

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!'.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00258 · 16.5th percentile
Published
2025-02-26T02:11Z
EPSS history
Timeline
  • 26 FEB 02:11Z
    watchdog: rzg2l_wdt: Fix 32bit overflow issue
    cvelistv5