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: <2025041603-CVE-2025-22052-54f5@gregkh>
Date: Wed, 16 Apr 2025 16:12:23 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22052: staging: gpib: Fix Oops after disconnect in ni_usb

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

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

staging: gpib: Fix Oops after disconnect in ni_usb

If the usb dongle is disconnected subsequent calls to the
driver cause a NULL dereference Oops as the bus_interface
is set to NULL on disconnect.

This problem was introduced by setting usb_dev from the bus_interface
for dev_xxx messages.

Previously bus_interface was checked for NULL only in the the functions
directly calling usb_fill_bulk_urb or usb_control_msg.

Check for valid bus_interface on all interface entry points
and return -ENODEV if it is NULL.

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


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

	Issue introduced in 6.13 with commit 4934b98bb24327c32ed55c96012f019932383da5 and fixed in 6.13.11 with commit b2d8d7959077c5d4b11d0dc6bd2167791fd1c72e
	Issue introduced in 6.13 with commit 4934b98bb24327c32ed55c96012f019932383da5 and fixed in 6.14.2 with commit 5dc98ba6f7304c188b267ef481281849638447bf
	Issue introduced in 6.13 with commit 4934b98bb24327c32ed55c96012f019932383da5 and fixed in 6.15-rc1 with commit a239c6e91b665f1837cf57b97fe638ef1baf2e78

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-22052
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/staging/gpib/ni_usb/ni_usb_gpib.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/b2d8d7959077c5d4b11d0dc6bd2167791fd1c72e
	https://git.kernel.org/stable/c/5dc98ba6f7304c188b267ef481281849638447bf
	https://git.kernel.org/stable/c/a239c6e91b665f1837cf57b97fe638ef1baf2e78

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ