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 64E7839EF23 for ; Sun, 19 Jul 2026 14:58:42 +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=1784473123; cv=none; b=p2o4d7qM3gnUPalkesLM6qCTzgmXNqvfIeWIr+XCY3U053zk91YR8R7GtUxhjGhkE9w0mT2DcrT2fW/Ki8aiC0PZAUmor8Rcr4JQ0Fd99I92zrYWQHWMGaMMvpvXwRHug3PeHXHb+S2D733vj6TKN/QlvDHEK7UVZ+zra+ZRCW8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473123; c=relaxed/simple; bh=qRZqreL0bj/pGfeQnKjPA2/lirN+IDowchTHJBTrmdA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nKhw+XcTjaLtnsxbOZgjajXSy0maNdnZypCHW55KWmPuTFmGqMOVR9tifIDzGZVCWKeaIEIXL4T5E8q6bAQYRy+6w7obLtuBiZRLeSj/k2G9G6j9kgaNMAtKep00Q7pUACFdDumY1PgMQ/tHbWghS7ye2+FeF3fnu/mACbe8eMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tZF7gYu4; 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="tZF7gYu4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 825C21F000E9; Sun, 19 Jul 2026 14:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473122; bh=4CFWcc/XG7HgJZIYq2w+z/x7qVdhh552Beqc0HYPb7c=; h=From:To:Cc:Subject:Date:Reply-To; b=tZF7gYu4v8xCHucSGMxgvuiFSJpCbStNKd4hIzSa+3YZPRl0N5FPGuzGDauq0ydlA +BYzUfOqEmyif4FMublIBc62knL5/y2jdr7zZiHsJaKN/AN012yziXQUZWiT9ojYBH gcmOqhnVV2Ly+4LanlLr7cJiBwIK/fWyERLcD6v4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63904: usb: usbtmc: check URB actual_length for interrupt-IN notifications Date: Sun, 19 Jul 2026 16:56:04 +0200 Message-ID: <2026071944-CVE-2026-63904-e989@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=3706; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8RcRRulbuvTyN68u/njYPJDVMScF3O7StXOmF1rEQ3c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTwuerTaUiDY/OKewYFnH/UdXVYoj1PRfNKw97P7d2 OV01kb/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIAzOG+VFiHdn/f1y+picu 5ugiHqIr1OxmwrDgZrLCLd+f5+6u2sc553hfp9aHgNbvAA== 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: check URB actual_length for interrupt-IN notifications USBTMC devices can use an optional interrupt endpoint for notification messages. These typically contain two-byte headers indicating the payload format, but the driver does not check if these headers are present before accessing the data buffers. In cases where the URB actual_length is not enough to fit these headers, the driver will either cause an out-of-bounds read, or consume stale leftover data from a previous notification. Fix by checking if actual_data contains enough bytes for the headers, otherwise resubmit URB to the interrupt endpoint. The Linux kernel CVE team has assigned CVE-2026-63904 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 5.10.259 with commit e794bd67b3faf98af46f958897f6b91412c7d2a9 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 5.15.210 with commit e3eec3005de44e7f37d8d7724be636446516ab42 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 6.1.176 with commit ae87f505917e703ae3b487d9663d78826ff43608 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 6.6.143 with commit 5de7df75ef3a2756b25fe3d582a4a2970444fe5a Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 6.12.93 with commit 69020fa089f1bf0e1a10a15265f31b143a846409 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 6.18.35 with commit 75f6d3da2cc646983f41807ef98851569c12bca9 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 7.0.12 with commit f141b01eaa58ac7e323931d670318aa247bff087 Issue introduced in 4.6 with commit dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 and fixed in 7.1 with commit 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd 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-63904 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/e794bd67b3faf98af46f958897f6b91412c7d2a9 https://git.kernel.org/stable/c/e3eec3005de44e7f37d8d7724be636446516ab42 https://git.kernel.org/stable/c/ae87f505917e703ae3b487d9663d78826ff43608 https://git.kernel.org/stable/c/5de7df75ef3a2756b25fe3d582a4a2970444fe5a https://git.kernel.org/stable/c/69020fa089f1bf0e1a10a15265f31b143a846409 https://git.kernel.org/stable/c/75f6d3da2cc646983f41807ef98851569c12bca9 https://git.kernel.org/stable/c/f141b01eaa58ac7e323931d670318aa247bff087 https://git.kernel.org/stable/c/52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd