lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022648-CVE-2022-49387-b17b@gregkh>
Date: Wed, 26 Feb 2025 03:11:01 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: 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!'.

The Linux kernel CVE team has assigned CVE-2022-49387 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.17 with commit 2cbc5cd0b55fa2310cc557c77b0665f5e00272de and fixed in 5.17.15 with commit e07b9fa0dc32b492de85528caaf9f0c605d8424f
	Issue introduced in 5.17 with commit 2cbc5cd0b55fa2310cc557c77b0665f5e00272de and fixed in 5.18.4 with commit b95a47667d34e76c2c9013f8e3b1e5039a5a0b76
	Issue introduced in 5.17 with commit 2cbc5cd0b55fa2310cc557c77b0665f5e00272de and fixed in 5.19 with commit ea2949df22a533cdf75e4583c00b1ce94cd5a83b

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-49387
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/watchdog/rzg2l_wdt.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/e07b9fa0dc32b492de85528caaf9f0c605d8424f
	https://git.kernel.org/stable/c/b95a47667d34e76c2c9013f8e3b1e5039a5a0b76
	https://git.kernel.org/stable/c/ea2949df22a533cdf75e4583c00b1ce94cd5a83b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ