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 E74151D5160 for ; Sun, 19 Jul 2026 15:00:36 +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=1784473238; cv=none; b=PDvqwILHHlX0fnB82VoaM+LTaPiBMqXuB7v4NNCk6m0k5eh9h/1VhPjHcJLtOafoUiJCaya/yK5LWPV52EKGjBt83QAUpDsFa8ga/rGKFlSXkz11mZ1I8CNgAL4RGSsMUC4v6uTEVEGZL5L+y8jY709SmMYKeowQHKAZLBVfv5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473238; c=relaxed/simple; bh=VU936Fckv1cDwRfYubkqffo7M9yet8dTY/34E7ZD7I8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jUOjm5699aMx9pGOZ0x919VOFFH8UvIH5Lg/b9SpzZ92wUikzFSs4RDh7vt2LzEXRahK9jJPvf8IhONssDVkO2F2/xDbh46M+S5qw8fcLXbH+2AnwsVA31hq8SjHi62wDEDTJWKiP5wrQV787XYCDXhorbFjK64AyC4ibOsPmnc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OvzbiNLx; 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="OvzbiNLx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3237F1F000E9; Sun, 19 Jul 2026 15:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473236; bh=evAvTgbnDnojOlBtjNfgj9v0fZNNOD6V2nZEETbfb5I=; h=From:To:Cc:Subject:Date:Reply-To; b=OvzbiNLxiKbpzbNWxrF1NHtu/vgB2j2QgXDsKvdZkxVljOLvwpmVPgxfhLRrbxPQe Fh3totVeyx9tMV1TxQvbIULHnyrC0U8Pct23N+1GTaJV2E0mOXDUau6xYTySBiW2qL 0va4WCAP1xeerWzfhQjyuXKUOokMRvriUBYFulgs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63943: Input: xpad - fix out-of-bounds access for Share button Date: Sun, 19 Jul 2026 16:56:43 +0200 Message-ID: <2026071953-CVE-2026-63943-6827@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=3000; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wdcKE3Zxq0MPJq4UriEfjlMxdGiWQQJ8ZqKKwasWCz4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTys1JMNFw36UCro3XNs/U1v3mvqrCRd03tqVln5vW +docuFqRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyE24VhwVTP7vTGeS5M+9Lk /gde1fe55Xg1hmF+1c+M9HnMHy5/Zj+uxvMq2uGapH8OAA== 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: Input: xpad - fix out-of-bounds access for Share button xpadone_process_packet() receives len directly from urb->actual_length and uses it to index the share-button byte at data[len - 18] or data[len - 26]. Since both len and data[0] are under the device's control, a broken controller can send a GIP_CMD_INPUT packet with actual_length < 18 (e.g. 5 bytes) and reach this code path, causing accesses beyond the actual array. Fix this by calculating the offset and checking bounds against the packet length. The Linux kernel CVE team has assigned CVE-2026-63943 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.91 with commit cbc82e7db16d59c301457312a624a7de2c03cd4a and fixed in 6.6.143 with commit bcfb4833cd4078a1a356ef451838b75cd233099e Issue introduced in 6.12.29 with commit 302a0cd0bbc450998429a3f4267970a4b93251a8 and fixed in 6.12.93 with commit 37ec54abfdd63a63fd50734a9c4e4cbc1e5795af Issue introduced in 6.15 with commit 4ef46367073b107ec22f46fe5f12176e87c238e8 and fixed in 6.18.35 with commit 9749db57233b396353ad5dee81eec9d9880c9246 Issue introduced in 6.15 with commit 4ef46367073b107ec22f46fe5f12176e87c238e8 and fixed in 7.0.12 with commit 6346b0895b574ce45f3747b9c508c72f70e6abef Issue introduced in 6.15 with commit 4ef46367073b107ec22f46fe5f12176e87c238e8 and fixed in 7.1 with commit 6cdc46b38cf146ce81d4831b6472dbf7731849a2 Issue introduced in 6.14.7 with commit a7e3ddd1d9a3d0b26465ed01d464e3c05479ebc8 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-63943 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/input/joystick/xpad.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/bcfb4833cd4078a1a356ef451838b75cd233099e https://git.kernel.org/stable/c/37ec54abfdd63a63fd50734a9c4e4cbc1e5795af https://git.kernel.org/stable/c/9749db57233b396353ad5dee81eec9d9880c9246 https://git.kernel.org/stable/c/6346b0895b574ce45f3747b9c508c72f70e6abef https://git.kernel.org/stable/c/6cdc46b38cf146ce81d4831b6472dbf7731849a2