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 D48F534DCDE for ; Tue, 16 Dec 2025 15:08:07 +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=1765897687; cv=none; b=UEN1pHjInYJ0gYEAZqB9RblZarg2vs5WengxbVsGO+Wst8ttkVFkWxlj/7sCvMQ5TB1oN1GxHKzpK72UOmhslLoGXOtoZMY+ioMR1UA5MjbNUd25+Md+2Ra7BKmeF4oFbrEqqhwq4zkIch2Rm5gowo5N/lEQXcWnLnUWv+Kg1hk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765897687; c=relaxed/simple; bh=EkyyxUG8rG9F1DIGwT6UgSgzdVPotpG0qgc0i++Pit0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BZ6WRKYfl0RauxCxMqdF0Tun/aUZBTXew9rYgaAgk5HePRg4hfvzeopXVUb0esXQtn8l3rrfMYHyUVCJTb+WZPJXHgBlVoJKbax6cOWGcI7fGITFJt4Od4YDHS3Saw0KvmDU1JMje8QlifdG/7UCiMH4N0rZjQ1PY+WQk7dYKBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XlXwcBBO; 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="XlXwcBBO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53074C16AAE; Tue, 16 Dec 2025 15:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765897687; bh=EkyyxUG8rG9F1DIGwT6UgSgzdVPotpG0qgc0i++Pit0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=XlXwcBBO4lpJb6BoxuuQCRBUwv+Rrd0iProsOAF7AxVGk+Wa3FQD4Ty0JidWpH9er 92KTWl/1P95Zo0y7veD51qzybmJ83ggHPu3jUjrAH0/9oWATBv6JqQqJhr2lHWein5 egQ+ghteLnPfhpw8vCfy7LMu7e8Zda0TR8eZlKX4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68307: can: gs_usb: gs_usb_xmit_callback(): fix handling of failed transmitted URBs Date: Tue, 16 Dec 2025 16:07:01 +0100 Message-ID: <2025121645-CVE-2025-68307-5e9b@gregkh> X-Mailer: git-send-email 2.52.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=2863; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=83XyDIQn0O3+c+wwQzN+/34aCxQhXZSUPyaqQBRhhVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOpa1fSo8ukVnmZ7Xiqt50vbSC45aVHeGHzFfX/1/q+ /l2UtvLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYBDDgoVc3Sb8NzrCE3k6 eL/MfymecIkrlmGupPKNewY+QW6epqt3LGrtep7mFHABAA== 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: can: gs_usb: gs_usb_xmit_callback(): fix handling of failed transmitted URBs The driver lacks the cleanup of failed transfers of URBs. This reduces the number of available URBs per error by 1. This leads to reduced performance and ultimately to a complete stop of the transmission. If the sending of a bulk URB fails do proper cleanup: - increase netdev stats - mark the echo_sbk as free - free the driver's context and do accounting - wake the send queue The Linux kernel CVE team has assigned CVE-2025-68307 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit d08e973a77d128b25e01a08c34d89593fdf222da and fixed in 6.1.159 with commit f7a5560675bd85efaf16ab01a43053670ff2b000 Issue introduced in 3.16 with commit d08e973a77d128b25e01a08c34d89593fdf222da and fixed in 6.6.119 with commit 1a588c40a422a3663a52f1c5535e8fb6b044167d Issue introduced in 3.16 with commit d08e973a77d128b25e01a08c34d89593fdf222da and fixed in 6.12.61 with commit 4a82072e451eacf24fc66a445e906f5095d215db Issue introduced in 3.16 with commit d08e973a77d128b25e01a08c34d89593fdf222da and fixed in 6.17.11 with commit 9c8eb33b7008178b6ce88aa7593d12063ce60ca3 Issue introduced in 3.16 with commit d08e973a77d128b25e01a08c34d89593fdf222da and fixed in 6.18 with commit 516a0cd1c03fa266bb67dd87940a209fd4e53ce7 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-68307 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/net/can/usb/gs_usb.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/f7a5560675bd85efaf16ab01a43053670ff2b000 https://git.kernel.org/stable/c/1a588c40a422a3663a52f1c5535e8fb6b044167d https://git.kernel.org/stable/c/4a82072e451eacf24fc66a445e906f5095d215db https://git.kernel.org/stable/c/9c8eb33b7008178b6ce88aa7593d12063ce60ca3 https://git.kernel.org/stable/c/516a0cd1c03fa266bb67dd87940a209fd4e53ce7