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 BF86D3A1691 for ; Sun, 19 Jul 2026 15:01: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=1784473270; cv=none; b=h8EIjSBKNED8h7P8uhht9scu+RaFE7sWIRfFuvKS7wme/Jz+NNS2naX3ZF+li1UlZqzjVjZc5nQ6gw5xS4DbZ6rZaa/ZFVbyIaXp5fRXTRz/AB+NuMNPCY0MJwu98aDkkUKHL++/alcz077BgBayQu9U4dYtrrrByQ12ac5n5bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473270; c=relaxed/simple; bh=6H6NYzzNgQiJRPSB9+OXhBIHTTMq0O3eJ5mg+heaIY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uNbC6AibWmC8t5UYnkpHuuM+/wJGOZjvb62xLj6m58ibASlZxPPlVU0wdMtv4J+NFvI28QRrSZ3ZPrBt0Z+qZQYc/FM6rfiYnUF+2nG04t1lxhyvlmBT+LjPkZS9Mrx0S17+MBOi6RhgUcMiJzkR6iyhrJo6vW2wOapjlm1BxmU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2jN08s+M; 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="2jN08s+M" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 227991F00A3D; Sun, 19 Jul 2026 15:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473269; bh=8zsOuxXjdDEV1LLZiLrXxayoQXoSmek0IGJJZplNWUs=; h=From:To:Cc:Subject:Date:Reply-To; b=2jN08s+MV/1DqCR/zV0IxwjLzm/2FD4xV13MhTM4IncBqVeS3Sv20qzAJebgdhc44 TEXPJnhpz1dMZCxYt95gpnGZlmrTo9/exkHGzpD0s4OoQcfzVGARLs+zu5ymJ0L7ux Zr0i59jLxvOQiXuoYiQFNXmSVmjZmsw/UlwHdbhc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63957: USB: serial: safe_serial: fix memory corruption with small endpoint Date: Sun, 19 Jul 2026 16:56:57 +0200 Message-ID: <2026071956-CVE-2026-63957-b4f1@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=3344; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Jd7ZhsmSS08GuqY0yHdnOr5tWC0mMJ3eqb8F7SIJ2zA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT2u2cr1PrWNvSJWZw3Uqc9LiqU35t6/eyzn9Ira38 H3QtiudHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARi6MM8yMPCotY3KubIyyW y6uXcqRrFfPLZoYFG4yd513M9m2bnOq99Mvat+//p7mxAgA= 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: serial: safe_serial: fix memory corruption with small endpoint Make sure that the bulk-out buffer size is at least eight bytes to avoid user-controlled slab corruption in "safe" mode should a malicious device report a smaller size. The Linux kernel CVE team has assigned CVE-2026-63957 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.259 with commit e3a1d6eee25dc96b1d2db0ecd9d8741e92056476 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.210 with commit c7336c0fba5c959249f3d793d33076b992ec3ee4 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.176 with commit 161ea0e5236f5f051d2d85d6c54dd08ee9dc7ba4 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.143 with commit 9b3145b3001fb24de1da72d1deb0bea70e5a078b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.93 with commit a550ed2117ca4709d38f713933ff924a83942e41 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.35 with commit f793b67d41e5fab719c5a90baa77cbd2fe259517 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0.12 with commit 857b3cc73f91871ae4433f8b97c4670b78f8dc96 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1 with commit 438061ed1ad85e6743e2dce826671772d81089ec 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-63957 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/serial/safe_serial.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/e3a1d6eee25dc96b1d2db0ecd9d8741e92056476 https://git.kernel.org/stable/c/c7336c0fba5c959249f3d793d33076b992ec3ee4 https://git.kernel.org/stable/c/161ea0e5236f5f051d2d85d6c54dd08ee9dc7ba4 https://git.kernel.org/stable/c/9b3145b3001fb24de1da72d1deb0bea70e5a078b https://git.kernel.org/stable/c/a550ed2117ca4709d38f713933ff924a83942e41 https://git.kernel.org/stable/c/f793b67d41e5fab719c5a90baa77cbd2fe259517 https://git.kernel.org/stable/c/857b3cc73f91871ae4433f8b97c4670b78f8dc96 https://git.kernel.org/stable/c/438061ed1ad85e6743e2dce826671772d81089ec