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: <2025120853-CVE-2022-50623-03df@gregkh>
Date: Mon,  8 Dec 2025 10:17:00 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50623: fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()

The "hdr.count * sizeof(s32)" multiplication can overflow on 32 bit
systems leading to memory corruption.  Use array_size() to fix that.

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


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

	Issue introduced in 5.9 with commit 322b598be4d9b9090cda560c4caab78704615ab4 and fixed in 5.10.150 with commit f59861946fa51bcc1f305809e4ebc1013b0ee61c
	Issue introduced in 5.9 with commit 322b598be4d9b9090cda560c4caab78704615ab4 and fixed in 5.15.75 with commit b94605f5cb99e90c8ca91523597a40e1bd59546b
	Issue introduced in 5.9 with commit 322b598be4d9b9090cda560c4caab78704615ab4 and fixed in 5.19.17 with commit 1b5a931594f7ffd26d706614c37d4da0f2ffb6e7
	Issue introduced in 5.9 with commit 322b598be4d9b9090cda560c4caab78704615ab4 and fixed in 6.0.3 with commit 940253af8b3865b76de8d1b46bcd4a700104852e
	Issue introduced in 5.9 with commit 322b598be4d9b9090cda560c4caab78704615ab4 and fixed in 6.1 with commit 939bc5453b8cbdde9f1e5110ce8309aedb1b501a

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-50623
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/fpga/dfl.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/f59861946fa51bcc1f305809e4ebc1013b0ee61c
	https://git.kernel.org/stable/c/b94605f5cb99e90c8ca91523597a40e1bd59546b
	https://git.kernel.org/stable/c/1b5a931594f7ffd26d706614c37d4da0f2ffb6e7
	https://git.kernel.org/stable/c/940253af8b3865b76de8d1b46bcd4a700104852e
	https://git.kernel.org/stable/c/939bc5453b8cbdde9f1e5110ce8309aedb1b501a

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ