Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 028FF39A07C for ; Sun, 19 Jul 2026 14:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470758; cv=none; b=PouK+jZyOQu4nWy9zFmUQ15V62fp50lxDqxyUOD6U4QP8prSOgihKVEC4QUT0chYBbU89269d5U1t6/UGpIh1o7zoPYiuUwqfxqedJZKk8qQdtjDqCxjDrz4cCe6Sa6gCii6nZAqLZhUWRgKaVAs1wiU1GwmyHpJLj8b+si+JUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470758; c=relaxed/simple; bh=r1ieSVvLXnZeNoZaOsqUvCEg5AdddNXC2JaiZlCebQo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rMvMINgnPXPKfUGmN7Nic6fJcM8TskLPHOa0Eiicv8TGkB+DuAXjCnFVro9ZEb7/RSf0jxWKxsAkhr3RV1F4WIILjHCar1sv+hvV+3yyopb7GmoP7Uz+tVjhDNWRcGVOPHMDtbwcJ5RabXgDe/R/Xgf+WY3sHM+lWN30xIuD7lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ps4+uAo1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ps4+uAo1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 171991F000E9; Sun, 19 Jul 2026 14:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470747; bh=7owtEkmc+pvuc+EnW2BuR/g7gbf1O3UWieoVLGTD/UQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Ps4+uAo1Nz64Z13MbNlmmHHAeWwtF1d9WpLCozyoAqTPNhZhDJHiw1m6LBQmCWk6m mPvykhdEglIkq0G2qqORkFoczoDrQczKxRcf8cJvuFwAqPHOLRLZlSdfrtEg80Zv+q B4JCJz5eEZLXXLzbPROniygCFrdz/IaZW/MxIGbs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63874: net: mctp: usb: fix race between urb completion and rx_retry cancellation Date: Sun, 19 Jul 2026 16:17:19 +0200 Message-ID: <2026071915-CVE-2026-63874-dd25@gregkh> X-Mailer: git-send-email 2.55.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=2846; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3/RYAQSO4ELmL+ZwVlQpp2s19HYgd/5nMrqzP/W8gak=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxd7Lv3mjznKsc9P3c1NXlGl8F7c/Zmnyf09rQ7xEoK 6FueFO5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayxIZhroyJi+0cPfeOWd9u 7Im8s0DklpJXO8OCXRrHm1ULPux5W80XKKCv639+Cw8rAA== 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: net: mctp: usb: fix race between urb completion and rx_retry cancellation It's possible that sequencing between setting ->stopped and cancelling the rx_retry work (in ndo_stop) could leave us with an urb queued: T1: ndo_stop T2: rx_retry_work ------------ ---------------- LD: ->stopped => false ST: ->stopped <= true usb_kill_urb() mctp_usb_rx_queue() usb_submit_urb() cancel_delayed_work_sync() That urb completion can then re-schedule rx_retry_work. Strenghen the sequencing between the stop (preventing another requeue) and the cancel by updating both atomically under a new rx lock. After setting ->rx_stopped, and cancelling pending work, we know that the requeue cannot occur, so all that's left is killing any pending urb. The Linux kernel CVE team has assigned CVE-2026-63874 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 and fixed in 6.18.36 with commit 9c46f3ee1837f6881cb99a52ffecb2760f11dc73 Issue introduced in 6.15 with commit 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 and fixed in 7.0.13 with commit d90feaa3f74bea8dafb6494631a194c70e547d94 Issue introduced in 6.15 with commit 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 and fixed in 7.1 with commit 54665dce982689e2fd99b32e9a0dcc204fda8a51 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-63874 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/mctp/mctp-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/9c46f3ee1837f6881cb99a52ffecb2760f11dc73 https://git.kernel.org/stable/c/d90feaa3f74bea8dafb6494631a194c70e547d94 https://git.kernel.org/stable/c/54665dce982689e2fd99b32e9a0dcc204fda8a51