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 A78F22931D0 for ; Sat, 25 Jul 2026 09:00:24 +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=1784970025; cv=none; b=n5L1dlbNnPIQaH17ruDGvF66fFQbeyDDNpOIYeA3uLkuCQh1amY4D6uIsiRL83Mn9pGIn0kTLcMqQ8K081b1xtk2V705IKgh+Nbq9MC8QLuZYQypNnfQmb19izWMBszk/iG923mkVLDNt6FlL2fX6v6Ln0a3wTmDH1HH5OUnVy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970025; c=relaxed/simple; bh=qxopYjQ5mSzbilg2RDjkeSCVRHYyjFiSvF8ZIhVIg9g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xjya00DStSbuof8qFGn+Cmr8BLsJCKxdZ5pWXoHSHK0/a1g4WQofEkjdhcIYQBdBRHGTB/h+gzpStfaTkvVeJHmmewBxPaSeVbghA/5Hi97MuryzqD9LLS0d3r7RWPai3p8MDSyRcuDwsKRT83qYHU/15m/hlCvXwiLuguGY33o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e2YqYcIQ; 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="e2YqYcIQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BDE31F00A3F; Sat, 25 Jul 2026 09:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784970024; bh=vCqO+vkmy0BPTM4Jc+vMGOu2HBoa0Yb1vBCNJdbwQTs=; h=From:To:Cc:Subject:Date:Reply-To; b=e2YqYcIQ4hyzWLLGKsYqF3qlbb8KVPu9iQE0wnguedeq92FRt9l5mabWNvyMGGMQV e+fI8pC+3EMWmnT10SLw+T3ErIG6Q5dMQh5yVgL+kST56O4HbV9jl6pYyjH9rDi9hQ /wGjLKjrEsF95K4Ow49zVH5L5ICdh3KaQcXl9wFk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64464: xhci: sideband: fix ring sg table pages leak Date: Sat, 25 Jul 2026 10:51:21 +0200 Message-ID: <2026072544-CVE-2026-64464-f655@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=2518; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n8LZ0iAbYmxVWwL0L7uOwh2P12VCNSWmZfHdbS9KaaU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFTnXV9UuN5PordUSuh3Ce83qwQ7hqxHTPOuVJh2dX mU1TdyyI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyMZxhDsfxglVLjnQ6nZDe bPLGxFHro7WMD8Mcvl/uv4W+mNRd7tC5MH9SzNTqO7E7AA== 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: xhci: sideband: fix ring sg table pages leak xhci_ring_to_sgtable() allocates a temporary pages array and uses it to build the returned sg_table with sg_alloc_table_from_pages(). The error paths free the pages array, but the success path returns the sg_table without freeing it. This leaks the temporary array every time a sideband client gets an endpoint or event ring buffer. Free the pages array after sg_alloc_table_from_pages() succeeds. The returned sg_table has its own scatterlist entries and does not depend on the temporary array after construction. The Linux kernel CVE team has assigned CVE-2026-64464 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit de66754e9f8029f8ae955a588959b99cab56b506 and fixed in 6.18.39 with commit 99d00a9e35e311a91d258029d5bb584377296c34 Issue introduced in 6.16 with commit de66754e9f8029f8ae955a588959b99cab56b506 and fixed in 7.1.4 with commit a3eaf82ff842d6ca95937ea584417e04828235a6 Issue introduced in 6.16 with commit de66754e9f8029f8ae955a588959b99cab56b506 and fixed in 7.2-rc3 with commit 49f6e3c3ef19f04f6657ed8dce550e36c763abb8 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-64464 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/host/xhci-sideband.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/99d00a9e35e311a91d258029d5bb584377296c34 https://git.kernel.org/stable/c/a3eaf82ff842d6ca95937ea584417e04828235a6 https://git.kernel.org/stable/c/49f6e3c3ef19f04f6657ed8dce550e36c763abb8