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 AF8124C8C7F for ; Sun, 18 Oct 2026 16:19:14 +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=1792340355; cv=none; b=G98yW9ULA6qq2cpQwCE5rxaEBRe5tiL70UArRS12nzt6qfsoKSogCayrEu0fpvX3s0NKfWLJuZZiEzWWhaHdch1+9/unE/hbBpPQGyQwUpPz+ZWd/jm/TL0xV9PQnUxfvmyww3+og2a0qYM1N2o27TJsvgVVQ+qAL9ulS+Yoxes= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340355; c=relaxed/simple; bh=F9hxyNgaCYAtGJ3k6PgxJOuKhX+u14NY2BlXwRlYRR8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HZCDIG12nFq7nDzsaDVSpMMQa1SvJQ3sf+9LKCaaAiS/w8hfo5gTRtvfGdooDRTY8k5gY4DQoMSe3Cdj7egSl9VeThv5oUurynrwdQCfM/aWckn1B5gyaWFx3/y4FB+2PbTqgzcRvdSmoB1N3PJqEsLYURhxNPCb2JloSMRJ16I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gs4lYXm3; 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="gs4lYXm3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C90261F000C4; Sun, 18 Oct 2026 16:19:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340354; bh=SpK+Y5G2UDJwSXcgRx2MsW4x1GplWJD5yt0zP3+TofM=; h=From:To:Cc:Subject:Date:Reply-To; b=gs4lYXm39C88k8UBQtRkbYeOwttArbToyYKvzOn1GNc7TyY/eMskrHF6i3cTySmdb 53SDILcn7/ayhuDjk6ZnCt0uWiK2PFAHGSfV+0sLdxhiN0RYhPuWFu5Gf+ZhLuSMvy PeSeAqiSZ+nGOzz/uu5OIlRAIxVGSJrwUG+aC1nw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98759: usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() Date: Sun, 18 Oct 2026 17:45:34 +0200 Message-ID: <2026101816-CVE-2026-98759-8f40@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=2630; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/Pk6vHMT3ouoaD6dukAW4zN2eTrWTEMXpDCFKgPBILE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXgZsfWf6b3OT/CXHG7f+3Nm9R/EjP5/FUt0N4m+Od G9Q5p1+uSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmwvucYX68nuUmvXXl0WLh xtqh1RPMzzxhVWNYcL69fvGcf35qLsqeatzTdMMUn+fVAwA= 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: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() cd321x_update_work() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero. The Linux kernel CVE team has assigned CVE-2026-98759 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 and fixed in 6.18.56 with commit 75dc6cb377efd2f4428b7f76d3a590a0bbc10399 Issue introduced in 6.18 with commit 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 and fixed in 7.2.10 with commit 5414144e202a32437e3eb436cd3f5f00d79ad86e Issue introduced in 6.18 with commit 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 and fixed in 7.3-rc6 with commit 88c7e458af53ff781a3f1051708395892b325576 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-98759 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/typec/tipd/core.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/75dc6cb377efd2f4428b7f76d3a590a0bbc10399 https://git.kernel.org/stable/c/5414144e202a32437e3eb436cd3f5f00d79ad86e https://git.kernel.org/stable/c/88c7e458af53ff781a3f1051708395892b325576