Skip to content
Heist/ feed
Back to feed
UnratedFix available

xhci: Fix NULL pointer dereference when reading portli debugfs files

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.19.9
CVEs
CVE-2026-43431
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:41 UTC · Revision 1

Source evidence

xhci: Fix NULL pointer dereference when reading portli debugfs files

core-osv · Original source

Published 8 May 2026, 14:22 UTC

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.

osv:CVE-2026-43431

Kernel

Fixed versions: 6.19.9

Complete source record
{
  "id": "11049b569355ea92c54253fc3edbe9b8e744f38d8d469161ed0606bc0a7768ae",
  "url": "https://osv.dev/vulnerability/CVE-2026-43431",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "xhci: Fix NULL pointer dereference when reading portli debugfs files",
    "summary": "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.",
    "evidence": "osv:CVE-2026-43431",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.19.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-43431",
      "aliases": [
        "CVE-2026-43431"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "384c57ec720597f8104f69082cdd261abb998b80"
                },
                {
                  "fixed": "9c8bef223c6e991276188d30d74bdb2cbd8be652"
                },
                {
                  "fixed": "ae4ff9dead5efa2025eddfcdb29411432bf40a7c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43431.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43431.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.192721104Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/9c8bef223c6e991276188d30d74bdb2cbd8be652",
        "https://git.kernel.org/stable/c/ae4ff9dead5efa2025eddfcdb29411432bf40a7c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43431.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43431",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43431.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43431",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494619,
  "published_at": "2026-05-08T14:22:03.298+00:00"
}