CVE-2026-43431

xhci: Fix NULL pointer dereference when reading portli debugfs files

Published May 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

xhci: Fix NULL pointer dereference when reading portli debugfs files

Michal reported and debgged a NULL pointer dereference bug in the
recently added portli debugfs files

Oops is caused when there are more port registers counted in
xhci->max_ports than ports reported by Supported Protocol capabilities.
This is possible if max_ports is more than maximum port number, or
if there are gaps between ports of different speeds the 'Supported
Protocol' capabilities.

In such cases port->rhub will be NULL so we can't reach xhci behind it.
Add an explicit NULL check for this case, and print portli in hex
without dereferencing port->rhub.

Analysis

AI-generated

Technical impact

The vulnerability is a NULL pointer dereference in the Linux kernel’s xhci driver that occurs when reading the new portli debugfs files. The bug is triggered if the driver’s recorded maximum port count exceeds the number of ports described by the Supported Protocol capabilities, causing the pointer to a hub port structure to be NULL. Accessing this NULL pointer during a debugfs read results in a kernel crash, which can be used to take the system offline.

Affected Systems

All Linux systems using the Linux kernel are affected, since the vendor information lists Linux:Linux as the impacted product. The specific kernel version or release is not indicated in the provided data. Systems that enable the xhci driver and expose the portli debugfs entries are at risk.

Risk and Exploitability

Because the flaw results in a kernel panic, the impact is a denial of service that can be triggered locally by accessing the portli debugfs file. The attack vector is inferred to be local, likely requiring privileged access to read debugfs files or a compromised process that can trigger the read. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited recorded exploitation at this time. The CVSS score is 5.5, indicating a medium severity risk, as a kernel crash would disrupt all services on the affected host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit adding the NULL pointer check for xhci portli debugfs reads.
  • Reboot the system after applying the patch to ensure the updated kernel is running.
  • Restrict access to the debugfs filesystem (or to the XHCI debugfs entries) so that only trusted or privileged users can read them, reducing the local attack surface until the patch is fully applied.

Generated by OpenCVE AI on May 9, 2026 at 13:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
Type Values Removed Values Added
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

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xhci: Fix NULL pointer dereference when reading portli debugfs files Michal reported and debgged a NULL pointer dereference bug in the recently added portli debugfs files Oops is caused when there are more port registers counted in xhci->max_ports than ports reported by Supported Protocol capabilities. This is possible if max_ports is more than maximum port number, or if there are gaps between ports of different speeds the 'Supported Protocol' capabilities. In such cases port->rhub will be NULL so we can't reach xhci behind it. Add an explicit NULL check for this case, and print portli in hex without dereferencing port->rhub.
Title xhci: Fix NULL pointer dereference when reading portli debugfs files
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:24 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 8, 2026, 3:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Moderate
Public date
May 8, 2026, 12:00 AM