Bug 2348297 (CVE-2022-49387) - CVE-2022-49387 kernel: watchdog: rzg2l_wdt: Fix 32bit overflow issue
Summary: CVE-2022-49387 kernel: watchdog: rzg2l_wdt: Fix 32bit overflow issue
Keywords:
Status: NEW
Alias: CVE-2022-49387
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:24 UTC by OSIDB Bzimport
Modified: 2025-02-27 08:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:24:32 UTC
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!'.

Comment 1 Avinash Hanwate 2025-02-26 19:18:45 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022648-CVE-2022-49387-b17b@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.