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 0BD6836729A for ; Sun, 18 Oct 2026 15:32:21 +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=1792337542; cv=none; b=u7ST1Ayc/OmjW/3vk7mF8IRugk8Iids2zEI7xWU0pZXP/T5UROMo2NRv4pnt4Jb2O+ZKIUrNpAacuB6WSo6/mZ15CYHj9RkEsUPLltis4S+m7af8c64Bhh7hY4JiB/tscCFEofCOO3Q1GoFBZWcVVz0+INHRH2g/l92NNBdnmcU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337542; c=relaxed/simple; bh=5sd21NKX2VtcqZkuY9vFVAZumN/e+zJoBnq5nbppsH0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BLEnAhfq4Jgb+b/2myoYraA42ByqR01i4qZa7Qff1hTSh8x1nQWx1Nj86DDIu3F2Ud552c8iANpBF9bjF4QB5QfpWwRwB8L2LwMi9s6/JmugvjZQ039/+MTq3oC6Fy2f9wuTRj9y5r6XcV5UiVR44g0/iDLN5VQrywSZiFEXGNo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pbAONMqb; 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="pbAONMqb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EFCB1F000C4; Sun, 18 Oct 2026 15:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337540; bh=h7QC7lwZjW+z0ZrkTqaNJwbDTHzi+FqqGK+da51XTJQ=; h=From:To:Cc:Subject:Date:Reply-To; b=pbAONMqbBvEd7R5e6RWdCINHtKucOEOtzUY27X0pxBgHQ8PztcvZqO/sjS5WPUI1x bBIqEyXdwYLDPCsAW+ISEs+GURKe+pL4kF+9DaMjRV7TetDMZtCOr7enpYFE5b3LOG o6ZICoZiUyhS6qqaFAu1eXIr68gWpjBFTFnjnU5M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98597: net: usb: sr9700: include receive overhead in the length check Date: Sun, 18 Oct 2026 17:17:41 +0200 Message-ID: <2026101837-CVE-2026-98597-37db@gregkh> X-Mailer: git-send-email 2.56.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=3698; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ye0IcEstof9PbhtEVxBR6psrVCs8AJ7j9ZqmS+DC+cI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs18zBGxwaCx+42f22JxizeKO1+W7pYTYD1RxrF3w 8xWa79vHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARlV0MC7bbz5t3RPbSzmdb TJwjt28zlE+s2cMwz+SW6dJnueJO0nf3s9y8+fr6LlMjTgA= 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: usb: sr9700: include receive overhead in the length check The receive fixup subtracts the Ethernet CRC from the reported packet length, but compares that payload length against the whole remaining receive buffer. The following copy starts after the three-byte header, and the cursor advance consumes both that header and the four-byte CRC. Require the payload to fit after SR_RX_OVERHEAD before copying it or advancing to the next packet. The loop already ensures that the remaining buffer is larger than the overhead, so the subtraction is safe. The issue was found by our static-analysis tool. The Linux kernel CVE team has assigned CVE-2026-98597 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 5.10.271 with commit 92d88c88390fc62444c00a1a22078f838e03891f Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 5.15.222 with commit baf07d5153d3af8f98e65e2d3566bc0d50c4e3ac Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 6.1.189 with commit 8488779d9bddbdb33588c9fc2c0657a3da773f61 Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 6.6.158 with commit e1f5b74edccf4c9b671b6bce4435a98746fe5167 Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 6.12.112 with commit 9b59b00890c5dea355b4cc8795ab8eeafc044e48 Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 6.18.55 with commit 6ab6c9d120b30c94579192ef83a581a3dda6d79c Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 7.2.9 with commit 05b442709bd5256c6c0e11fe56b9a0cb2455c245 Issue introduced in 3.12 with commit c9b37458e95629b1d1171457afdcc1bf1eb7881d and fixed in 7.3-rc5 with commit c06bde80ae7a7b595732f7cabcb92cf08db9d56a 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-98597 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/usb/sr9700.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/92d88c88390fc62444c00a1a22078f838e03891f https://git.kernel.org/stable/c/baf07d5153d3af8f98e65e2d3566bc0d50c4e3ac https://git.kernel.org/stable/c/8488779d9bddbdb33588c9fc2c0657a3da773f61 https://git.kernel.org/stable/c/e1f5b74edccf4c9b671b6bce4435a98746fe5167 https://git.kernel.org/stable/c/9b59b00890c5dea355b4cc8795ab8eeafc044e48 https://git.kernel.org/stable/c/6ab6c9d120b30c94579192ef83a581a3dda6d79c https://git.kernel.org/stable/c/05b442709bd5256c6c0e11fe56b9a0cb2455c245 https://git.kernel.org/stable/c/c06bde80ae7a7b595732f7cabcb92cf08db9d56a