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 2CEF2217659 for ; Sat, 22 Aug 2026 15:40: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=1787413210; cv=none; b=LnKEkSK0rYAXyJrCEHq/LdBJZoNqygCQMnam87HxlCOsYZaYqxCfTnD+fhL2ybTWCfPe8JwGg8qJsGiicdu7oLksOKE0yj6OPr/iw0VvTAGGzxPCiTW86PJpD2zZinQKsC51XTxcpRtqFvLaH8PSukeYRX0U5UV5JU3iK4R15sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787413210; c=relaxed/simple; bh=blgVXPE1XLTrYoiVhh+Vlfnq5DMgIY7SLjufMkG8eU0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=J5gT4FoLfzxV5Y80Yws0Ky3GgBYBrwTOfg8N2HOOCpd1Nwga36J16kJT/O5CLs7S/MbSntiRPI5YlIBTUC4JuGhMRK05FCZLyRsnIrmWfnofJS3MLOwU+XjjHsOWOqq2FmbU1McIgRaJ8coK6tpoiUhfo9bmGOOHU9m87L129SQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xOzLwgAp; 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="xOzLwgAp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 873271F000E9; Sat, 22 Aug 2026 15:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787413209; bh=8H8dFrRzbhCyxVW6pa1fN5yXIzOfMEWq9CVSDog+Paw=; h=From:To:Cc:Subject:Date:Reply-To; b=xOzLwgAp+1/uUqC4xTwHDzGwNF4EaqLXmLkJ8FmHSeYRWPavKktaKlrQ5v55Eo5ea IoxOp1uT8dILKcVgY6qsMo9eQOn3g1jixH77IqonnTwLSJ+5taizdhXD5aaL9uxs/q +OupyQUGBZA7xrYrHpTldez7tYZw7psfFtahbRlc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74681: usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg Date: Sat, 22 Aug 2026 17:32:45 +0200 Message-ID: <2026082231-CVE-2026-74681-f31c@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=2368; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9dK9RGplsl/dWczKW1L8Dil0IePz1V+4w0XB2xGEShI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdB67ocHolPw2NOiFc1TJDMFK+2l6kMvnM7Livao1uR Ut6buzriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInMucQwV+TstRrd3o/OBhz1 6wNzE/rq//48zLBgX3kKr999E8/NjLNm6jqtvM61uogTAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg ibuf_len is the bulk IN (receive) buffer size, but the EMSGSIZE check in usbio_bulk_msg() compares it against txbuf_len — the bulk OUT endpoint size. Both are taken independently from different endpoints in usbio_probe(), so the check is wrong when they differ. Use rxbuf_len for the IN direction. This matches the buffer that actually holds the response data. The Linux kernel CVE team has assigned CVE-2026-74681 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 6.18.45 with commit ebfd1e82ab0a6d26efd9bdd89de899215851f5bf Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 7.1.9 with commit 9ad0164f78b66b0b5eca3a5748cc94dd87e28124 Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 7.2 with commit 7e22c9f79b200672f3e477421b6c9050d8cf70a5 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-74681 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/misc/usbio.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/ebfd1e82ab0a6d26efd9bdd89de899215851f5bf https://git.kernel.org/stable/c/9ad0164f78b66b0b5eca3a5748cc94dd87e28124 https://git.kernel.org/stable/c/7e22c9f79b200672f3e477421b6c9050d8cf70a5