CVE-2026-138998

i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute

intel_i3c_init() creates the pm_qos_latency_tolerance_us sysfs attribute
before probe calls pci_set_drvdata(). A userspace write to the attribute
can therefore invoke intel_ltr_set(), which uses pci_get_drvdata(),
before drvdata has been initialized.

Move pci_set_drvdata() before hci->info->init() so drvdata is available
before the sysfs attribute becomes accessible.

Analysis

AI-generated

Technical impact

During probe this driver creates a system‑level latency‑tolerance sysfs entry before it associates its per‑device data with the PCI device. A userspace write to that attribute will call a routine that expects the driver data to be initialized; because it is not yet set, the kernel will dereference an uninitialized pointer and crash. This form of uninitialized data use leads to a local denial of service by compromising the kernel's stability.

Affected Systems

Any Linux kernel that includes the i3c MIPI I3C PCI HCI driver compiled with this sequence of calls is affected. The flaw exists in kernel sources prior to the commit that reorders pci_set_drvdata. No specific version numbers are provided, so all builds containing the unpatched code are potentially vulnerable.

Risk and Exploitability

The CVSS score is not listed, and no EPSS value is available. The flaw is not present in the CISA KEV catalog. Attackers who can write to the LTR sysfs attribute (local privileged or malicious userspace processes) can trigger a kernel fault, resulting in a system crash. Because no remote trigger is described, the likelihood of exploitation is limited to local or compromised contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that moves pci_set_drvdata before creating the LTR sysfs attribute.
  • Reboot the system or reload the driver to ensure the updated initialization order takes effect.
  • If a patch cannot be applied immediately, temporarily prevent writes to the LTR attribute by removing its write permissions or unbinding the device to mitigate accidental crashes.

Generated by OpenCVE AI on November 30, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute intel_i3c_init() creates the pm_qos_latency_tolerance_us sysfs attribute before probe calls pci_set_drvdata(). A userspace write to the attribute can therefore invoke intel_ltr_set(), which uses pci_get_drvdata(), before drvdata has been initialized. Move pci_set_drvdata() before hci->info->init() so drvdata is available before the sysfs attribute becomes accessible.
Title i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute
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
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM