Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E1EE3859EC for ; Fri, 1 May 2026 14:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645181; cv=none; b=PhotH8MNTjqy+7NXaeDjOaJP+pEQlZx08FRlUu6TWQE763WvMCBQXNk5vpDhdvWtHEy3IUk1KaYUBPldhydmeAB/lY8mwSUFT/llqFauwE5GjGwio3lggnX4HM/8yvaHwsUn9ymBLRYZP/hA0/sVw/Emh3AVotrLsaIb/ulS2Zg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645181; c=relaxed/simple; bh=y38nHrLQoT7XIH0Itbo7CxlWMZ8b/ww3ioXtYpd441Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N5EL7qjR0noHJ7c6lKTqeiz9qwojNLlvdVK6aIj7TgvP3IRpqTuJbtw57wjkHCsqrrurBLwcqDpj9lw9kB1CnrF6RLaPGI+NtPpLCWHd2slMnes9zQI+VI52WTXOGIA2IQOYAGk7S00mX6l/VIsZco9YnLmY+mr0VlfglB9EHK8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TbJxp7HJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TbJxp7HJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18ECBC2BCB4; Fri, 1 May 2026 14:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645181; bh=y38nHrLQoT7XIH0Itbo7CxlWMZ8b/ww3ioXtYpd441Q=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TbJxp7HJYD1MWZU3yHMCw8JpVjY7VlX1oJEmqLP9wnvfgoHiAGW43e6OACKBNc7re U45FtOB6Q0nyLUc4rvT3iqrzE+xdiUBvRrGQHl2xHZH4bSlD6c2HMO1wZncnHQiSFl /bqXxup4RXaXug1P5uY3H0W/lig39bnp1vJxymFs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31758: usb: usbtmc: Flush anchored URBs in usbtmc_release Date: Fri, 1 May 2026 16:15:09 +0200 Message-ID: <2026050144-CVE-2026-31758-8487@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3344; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=89RNLnwGN8AxWzZL1TzbXMeDya6T7PDeCaqDG0gepMw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftob0av1QDb99eVJVqbhlgNqWulvH46/0f7z7RuQfv 7b1ZObGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIyn2GBQfVPHbqT71gzcmZ /OxolxmboCzXK4YFk55fOzGPg+N30m1e1opWFq+MHQvtAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: usbtmc: Flush anchored URBs in usbtmc_release When calling usbtmc_release, pending anchored URBs must be flushed or killed to prevent use-after-free errors (e.g. in the HCD giveback path). Call usbtmc_draw_down() to allow anchored URBs to be completed. The Linux kernel CVE team has assigned CVE-2026-31758 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 5.10.253 with commit 959ef329071136e4335b54822fe2f607659b4569 Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 5.15.203 with commit e189d443767f7cd390c52f2e122e1fc41c7562d6 Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 6.1.168 with commit 7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 6.6.134 with commit 95e09b07e50290254b28b8395509473104518f8c Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 6.12.81 with commit d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1 Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 6.18.22 with commit 977b632db51d231dec0bc571089a5c2402674139 Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 6.19.12 with commit d40198de50232e04c14c6e2092e896766c95ea48 Issue introduced in 4.19 with commit 4f3c8d6eddc272b386464524235440a418ed2029 and fixed in 7.0 with commit 8a768552f7a8276fb9e01d49773d2094ace7c8f1 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-31758 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/class/usbtmc.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/959ef329071136e4335b54822fe2f607659b4569 https://git.kernel.org/stable/c/e189d443767f7cd390c52f2e122e1fc41c7562d6 https://git.kernel.org/stable/c/7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f https://git.kernel.org/stable/c/95e09b07e50290254b28b8395509473104518f8c https://git.kernel.org/stable/c/d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1 https://git.kernel.org/stable/c/977b632db51d231dec0bc571089a5c2402674139 https://git.kernel.org/stable/c/d40198de50232e04c14c6e2092e896766c95ea48 https://git.kernel.org/stable/c/8a768552f7a8276fb9e01d49773d2094ace7c8f1