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.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s xpad driver uses the length field from a USB GIP_CMD_INPUT packet to index into a data buffer. If a controller sends a packet whose actual_length is shorter than the minimum expected (less than 18 bytes), the driver reads bytes beyond the end of the buffer. This out-of-bounds read can corrupt kernel memory, though the official description does not indicate that it leads to code execution or privilege escalation. The likely attack vector is a malicious USB device that sends a specially crafted packet.

Affected Systems

Linux systems that ship with the unmodified xpad USB driver are affected, regardless of distribution. The flaw is triggered when a USB controller is attached and sends a specially crafted packet to the target machine. Based on the description, the attack vector is a physical USB access from a malicious controller device.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of less than 1% suggests a very low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a physical USB device capable of sending a malformed packet, and the only documented consequence is potential kernel memory corruption. The published patch restores bounds checking to prevent the overflow. The likely attack vector is a USB controller that can send crafted packets.

Generated by OpenCVE AI on August 4, 2026 at 18:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the xpad driver fix, such as applying the commit 37ec54abfdd63a63fd50734a9c4e4cbc1e5795af or any later release containing the change.
  • If a patch cannot be applied immediately, unload the xpad driver or disable it in the kernel configuration to eliminate the attack surface.
  • Monitor system logs for anomalous USB device activity and verify kernel stability, especially after re-enabling the driver or following updates.

Generated by OpenCVE AI on August 4, 2026 at 18:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 04 Aug 2026 07:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 22 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Input: xpad - fix out-of-bounds access for Share button
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:55:38.411Z

Reserved: 2026-07-19T07:54:57.022Z

Link: CVE-2026-63943

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63943 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses