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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072815-CVE-2025-38483-ab88@gregkh>
Date: Mon, 28 Jul 2025 13:22:25 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38483: comedi: das16m1: Fix bit shift out of bounds

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

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

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

comedi: das16m1: Fix bit shift out of bounds

When checking for a supported IRQ number, the following test is used:

	/* only irqs 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15 are valid */
	if ((1 << it->options[1]) & 0xdcfc) {

However, `it->options[i]` is an unchecked `int` value from userspace, so
the shift amount could be negative or out of bounds.  Fix the test by
requiring `it->options[1]` to be within bounds before proceeding with
the original test.

The Linux kernel CVE team has assigned CVE-2025-38483 to this issue.


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

	Issue introduced in 3.14 with commit 729988507680b2ce934bce61d9ce0ea7b235914c and fixed in 6.1.147 with commit 65c03e6fc524eb2868abedffd8a4613d78abc288
	Issue introduced in 3.14 with commit 729988507680b2ce934bce61d9ce0ea7b235914c and fixed in 6.6.100 with commit adb7df8a8f9d788423e161b779764527dd3ec2d0
	Issue introduced in 3.14 with commit 729988507680b2ce934bce61d9ce0ea7b235914c and fixed in 6.12.40 with commit 076b13ee60eb01ed0d140ef261f95534562a3077
	Issue introduced in 3.14 with commit 729988507680b2ce934bce61d9ce0ea7b235914c and fixed in 6.15.8 with commit f211572818ed5bec2b3f5d4e0719ef8699b3c269
	Issue introduced in 3.14 with commit 729988507680b2ce934bce61d9ce0ea7b235914c and fixed in 6.16 with commit ed93c6f68a3be06e4e0c331c6e751f462dee3932

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-2025-38483
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/comedi/drivers/das16m1.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/65c03e6fc524eb2868abedffd8a4613d78abc288
	https://git.kernel.org/stable/c/adb7df8a8f9d788423e161b779764527dd3ec2d0
	https://git.kernel.org/stable/c/076b13ee60eb01ed0d140ef261f95534562a3077
	https://git.kernel.org/stable/c/f211572818ed5bec2b3f5d4e0719ef8699b3c269
	https://git.kernel.org/stable/c/ed93c6f68a3be06e4e0c331c6e751f462dee3932

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ