CVE-2026-68374: usb: core: sysfs: add lock to bos_descriptors_read()

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081043-CVE-2026-68374-2423@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

usb: core: sysfs: add lock to bos_descriptors_read()

Add a lock to the function bos_descriptors_read().

This function accesses udev->bos, which could be simultaneously freed in
usb_reset_and_verify_device(), a function that is commonly called in
drivers all over the kernel.

The Linux kernel CVE team has assigned CVE-2026-68374 to this issue.


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

	Fixed in 6.12.101 with commit c07caee449c968842a350bfefa049889923b8240
	Fixed in 6.18.42 with commit 217774e143d7b5a88739193284b6421be3978601
	Fixed in 7.1.6 with commit ab82adf5e63b2d89ead7933ab753b9cedbe028e9
	Fixed in 7.2-rc5 with commit 4e0197fbb0eec588795d5431716a244d9ac8fa93

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-2026-68374
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/usb/core/sysfs.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/c07caee449c968842a350bfefa049889923b8240
	https://git.kernel.org/stable/c/217774e143d7b5a88739193284b6421be3978601
	https://git.kernel.org/stable/c/ab82adf5e63b2d89ead7933ab753b9cedbe028e9
	https://git.kernel.org/stable/c/4e0197fbb0eec588795d5431716a244d9ac8fa93
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.